janani b | 0e4e8ae | 2016-07-13 21:06:41 +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 | container networks { | ||||
6 | description | ||||
7 | "Serves as top-level container for a list of networks."; | ||||
8 | leaf network-id { | ||||
9 | type uint8; | ||||
10 | description | ||||
11 | "Identifies a network."; | ||||
12 | } | ||||
13 | } | ||||
14 | leaf network-ref { | ||||
15 | type leafref { | ||||
16 | path "../define/network-id"; | ||||
17 | } | ||||
18 | } | ||||
19 | } |