Gaurav Agrawal | 0d43bb5 | 2016-05-17 18:06:38 +0530 | [diff] [blame] | 1 | module ietf-network { |
2 | yang-version 1; | ||||
3 | namespace "urn:ietf:params:xml:ns:yang:ietf-network"; | ||||
4 | prefix nd; | ||||
5 | |||||
6 | import ietf-inet-types { | ||||
7 | prefix inet; | ||||
8 | } | ||||
9 | leaf node-ref { | ||||
10 | type node-id; | ||||
11 | description | ||||
12 | "Used to reference a node. | ||||
13 | Nodes are identified relative to the network they are | ||||
14 | contained in."; | ||||
15 | } | ||||
16 | |||||
17 | typedef node-id { | ||||
18 | type inet:uri; | ||||
19 | description | ||||
20 | "Identifier for a node."; | ||||
21 | } | ||||
22 | } |