module: frr-interface
+--rw lib
+--rw interface* [name vrf]
+--rw name string
+--rw vrf frr-vrf:vrf-ref
+--rw description? string
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
namespace "http://frrouting.org/yang/interface";
prefix frr-interface;
+ import frr-vrf {
+ prefix frr-vrf;
+ }
+
organization
"FRRouting";
contact
key "name vrf";
description
"Interface.";
-
leaf name {
type string {
length "1..16";
description
"Interface name.";
}
+
leaf vrf {
- type string {
- length "1..36";
- }
+ type frr-vrf:vrf-ref;
description
"VRF this interface is associated with.";
}
+
leaf description {
type string;
description