mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-29 21:23:06 +00:00
yang: move evpn l3vni config under vrf
Move EVPN L3VNI configuration under vrf tree. augment /frr-vrf:lib/frr-vrf:vrf: +--rw zebra | +--rw vni-id? vni-id-type +--rw prefix-only? boolean Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
This commit is contained in:
parent
f1ed7d22d6
commit
ee4b89c784
@ -648,6 +648,23 @@ module frr-zebra {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
grouping vrf-vni-mapping {
|
||||||
|
description
|
||||||
|
"EVPN L3-VNI mapping corresponding to a VRF.";
|
||||||
|
leaf l3vni-id {
|
||||||
|
type vni-id-type;
|
||||||
|
description
|
||||||
|
"EVPN L3-VNI id to map to the VRF.";
|
||||||
|
}
|
||||||
|
|
||||||
|
leaf prefix-only {
|
||||||
|
type boolean;
|
||||||
|
default "false";
|
||||||
|
description
|
||||||
|
"EVPN asymmetric mode advertise prefix routes only.";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// End of zebra container
|
// End of zebra container
|
||||||
/*
|
/*
|
||||||
* RPCs
|
* RPCs
|
||||||
@ -2041,7 +2058,11 @@ module frr-zebra {
|
|||||||
description
|
description
|
||||||
"Extends VRF model with Zebra-related parameters.";
|
"Extends VRF model with Zebra-related parameters.";
|
||||||
container zebra {
|
container zebra {
|
||||||
|
description
|
||||||
|
"Zebra's vrf specific configuration and operational model.";
|
||||||
uses ribs;
|
uses ribs;
|
||||||
|
|
||||||
|
uses vrf-vni-mapping;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2144,26 +2165,6 @@ module frr-zebra {
|
|||||||
description
|
description
|
||||||
"Limit on the number of updates queued to the dataplane subsystem.";
|
"Limit on the number of updates queued to the dataplane subsystem.";
|
||||||
}
|
}
|
||||||
list vrf-vni-mapping {
|
|
||||||
key "vrf-id";
|
|
||||||
description
|
|
||||||
"EVPN VNI mapping corresponding to a VRF.";
|
|
||||||
leaf vrf-id {
|
|
||||||
type uint32;
|
|
||||||
description
|
|
||||||
"The identifier for a VRF.";
|
|
||||||
}
|
|
||||||
leaf vni-id {
|
|
||||||
type vni-id-type;
|
|
||||||
description
|
|
||||||
"The VNI id to map to the VRF.";
|
|
||||||
}
|
|
||||||
leaf prefix-only {
|
|
||||||
type empty;
|
|
||||||
description
|
|
||||||
"Prefix routes only.";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
/*
|
/*
|
||||||
* Debug options
|
* Debug options
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user