Created
October 11, 2016 14:20
-
-
Save donaldh/b5cb16bad2340e787eb3636778becd9a to your computer and use it in GitHub Desktop.
Usage of node-ref from ietf-network fails to validate in pyang
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module net-client { | |
namespace "urn:test:net-client"; | |
prefix tc; | |
import ietf-network { | |
prefix net; | |
} | |
list net-user { | |
key 'id'; | |
uses net-user-attrs; | |
} | |
grouping net-user-attrs { | |
leaf id { | |
type string; | |
} | |
uses net:node-ref; | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[email protected]:42: error: net-client:network in the path for network-ref at net-client.yang:11 (at [email protected]:40) is not found | |
[email protected]:56: error: net-client:network in the path for node-ref at net-client.yang:11 (at [email protected]:53) is not found |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment