diff options
author | Christian Breunig <christian@breunig.cc> | 2024-02-11 09:31:38 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2024-02-11 09:33:17 +0100 |
commit | f308df322bd62024e29dd458642cb6bcac8a5ad6 (patch) | |
tree | 7fc547f62f37e82e3afa01736b702bb812694ded /interface-definitions/include | |
parent | f068330bb2605e1a8bec17c638211dc99ccd0536 (diff) | |
download | vyos-1x-f308df322bd62024e29dd458642cb6bcac8a5ad6.tar.gz vyos-1x-f308df322bd62024e29dd458642cb6bcac8a5ad6.zip |
bgp: T6032: add EVPN MAC-VRF Site-of-Origin support
In some EVPN deployments it is useful to associate a logical VTEP's Layer 2
domain (MAC-VRF) with a Site-of-Origin "site" identifier. This provides a BGP
topology-independent means of marking and import-filtering EVPN routes
originated from a particular L2 domain. One situation where this is valuable
is when deploying EVPN using anycast VTEPs
set protocols bgp address-family l2vpn-evpn mac-vrf soo
Diffstat (limited to 'interface-definitions/include')
-rw-r--r-- | interface-definitions/include/bgp/protocol-common-config.xml.i | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/interface-definitions/include/bgp/protocol-common-config.xml.i b/interface-definitions/include/bgp/protocol-common-config.xml.i index ea6e75bbd..ca67eaf3c 100644 --- a/interface-definitions/include/bgp/protocol-common-config.xml.i +++ b/interface-definitions/include/bgp/protocol-common-config.xml.i @@ -894,6 +894,30 @@ </leafNode> </children> </node> + <node name="mac-vrf"> + <properties> + <help>EVPN MAC-VRF</help> + </properties> + <children> + <leafNode name="soo"> + <properties> + <help>Site-of-Origin extended community</help> + <valueHelp> + <format>ASN:NN</format> + <description>based on autonomous system number in format <0-65535:0-4294967295></description> + </valueHelp> + <valueHelp> + <format>IP:NN</format> + <description>Based on a router-id IP address in format <IP:0-65535></description> + </valueHelp> + <constraint> + <validator name="bgp-extended-community"/> + </constraint> + <constraintErrorMessage>Should be in form: ASN:NN or IPADDR:NN where ASN is autonomous system number</constraintErrorMessage> + </properties> + </leafNode> + </children> + </node> <tagNode name="vni"> <properties> <help>VXLAN Network Identifier</help> |