Bharat saraswal | a542a36 | 2017-03-02 21:43:59 +0530 | [diff] [blame] | 1 | module attributes { |
2 | yang-version 1; | ||||
3 | namespace "http://example.com/schema/1.2/config"; | ||||
4 | prefix "attr"; | ||||
5 | container top { | ||||
6 | container interface { | ||||
7 | leaf name { | ||||
8 | type string; | ||||
9 | } | ||||
10 | leaf mtu { | ||||
11 | type string; | ||||
12 | } | ||||
13 | container address { | ||||
14 | leaf name { | ||||
15 | type string; | ||||
16 | } | ||||
17 | leaf prefix-length { | ||||
18 | type string; | ||||
19 | } | ||||
20 | } | ||||
21 | } | ||||
22 | } | ||||
23 | } |