mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 07:37:29 +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";
|
namespace "http://frrouting.org/yang/interface";
|
||||||
prefix frr-interface;
|
prefix frr-interface;
|
||||||
|
|
||||||
|
import frr-vrf {
|
||||||
|
prefix frr-vrf;
|
||||||
|
}
|
||||||
|
|
||||||
organization
|
organization
|
||||||
"FRRouting";
|
"FRRouting";
|
||||||
contact
|
contact
|
||||||
@ -25,7 +29,6 @@ module frr-interface {
|
|||||||
key "name vrf";
|
key "name vrf";
|
||||||
description
|
description
|
||||||
"Interface.";
|
"Interface.";
|
||||||
|
|
||||||
leaf name {
|
leaf name {
|
||||||
type string {
|
type string {
|
||||||
length "1..16";
|
length "1..16";
|
||||||
@ -33,13 +36,13 @@ module frr-interface {
|
|||||||
description
|
description
|
||||||
"Interface name.";
|
"Interface name.";
|
||||||
}
|
}
|
||||||
|
|
||||||
leaf vrf {
|
leaf vrf {
|
||||||
type string {
|
type frr-vrf:vrf-ref;
|
||||||
length "1..36";
|
|
||||||
}
|
|
||||||
description
|
description
|
||||||
"VRF this interface is associated with.";
|
"VRF this interface is associated with.";
|
||||||
}
|
}
|
||||||
|
|
||||||
leaf description {
|
leaf description {
|
||||||
type string;
|
type string;
|
||||||
description
|
description
|
||||||
|
Loading…
Reference in New Issue
Block a user