Created
April 1, 2018 17:35
-
-
Save rwestphal/2c411708e6002254610fc432965d5d1e to your computer and use it in GitHub Desktop.
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 frr-interface { | |
yang-version 1; | |
namespace "http://frrouting.org/yang/interface"; | |
prefix frr-interface; | |
organization | |
"Free Range Routing"; | |
contact | |
"FRR Users List: <mailto:[email protected]> | |
FRR Development List: <mailto:[email protected]>"; | |
description | |
"This module defines a model for managing FRR interfaces."; | |
revision 2018-03-28 { | |
description | |
"Initial revision."; | |
} | |
container lib { | |
list interface { | |
key "name vrf"; | |
description | |
"Interface."; | |
leaf name { | |
type string { | |
length "1..16"; | |
} | |
description | |
"Interface name."; | |
} | |
leaf vrf { | |
/* XXX: create a per-vrf list of interfaces? */ | |
type string { | |
length "1..36"; | |
} | |
description | |
"VRF this interface is associated with."; | |
} | |
leaf description { | |
type string; | |
description | |
"Interface description."; | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment