mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 06:14:35 +00:00
yang: add vrf ref to interface model
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>
This commit is contained in:
parent
3a7262b6a9
commit
cc9f7265a8
@ -3,6 +3,10 @@ module frr-interface {
|
||||
namespace "http://frrouting.org/yang/interface";
|
||||
prefix frr-interface;
|
||||
|
||||
import frr-vrf {
|
||||
prefix frr-vrf;
|
||||
}
|
||||
|
||||
organization
|
||||
"FRRouting";
|
||||
contact
|
||||
@ -25,7 +29,6 @@ module frr-interface {
|
||||
key "name vrf";
|
||||
description
|
||||
"Interface.";
|
||||
|
||||
leaf name {
|
||||
type string {
|
||||
length "1..16";
|
||||
@ -33,13 +36,13 @@ module frr-interface {
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user