]>
Commit | Line | Data |
---|---|---|
a4bed468 RW |
1 | module frr-interface { |
2 | yang-version 1.1; | |
3 | namespace "http://frrouting.org/yang/interface"; | |
4 | prefix frr-interface; | |
5 | ||
6 | organization | |
7 | "Free Range Routing"; | |
8 | contact | |
9 | "FRR Users List: <mailto:frog@lists.frrouting.org> | |
10 | FRR Development List: <mailto:dev@lists.frrouting.org>"; | |
11 | description | |
12 | "This module defines a model for managing FRR interfaces."; | |
13 | ||
14 | revision 2018-03-28 { | |
15 | description | |
16 | "Initial revision."; | |
17 | } | |
18 | ||
19 | container lib { | |
20 | list interface { | |
21 | key "name vrf"; | |
22 | description | |
23 | "Interface."; | |
24 | ||
25 | leaf name { | |
26 | type string { | |
27 | length "1..16"; | |
28 | } | |
29 | description | |
30 | "Interface name."; | |
31 | } | |
32 | leaf vrf { | |
33 | type string { | |
34 | length "1..36"; | |
35 | } | |
36 | description | |
37 | "VRF this interface is associated with."; | |
38 | } | |
39 | leaf description { | |
40 | type string; | |
41 | description | |
42 | "Interface description."; | |
43 | } | |
44 | } | |
45 | } | |
46 | } |