summaryrefslogtreecommitdiff
path: root/interface-definitions/include/bgp
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-02-13 16:36:04 +0000
committerGitHub <noreply@github.com>2024-02-13 16:36:04 +0000
commit70b08b1f6117ac7c3870f5081f110b726e5c98be (patch)
treed194c0444ab2c5ba80a05a47164298b5f21d7691 /interface-definitions/include/bgp
parent6f64847213a01f125147aa2e7193951caad83f35 (diff)
parentaf90428a276c1dc4f40640a22f970e3695ac35a0 (diff)
downloadvyos-1x-70b08b1f6117ac7c3870f5081f110b726e5c98be.tar.gz
vyos-1x-70b08b1f6117ac7c3870f5081f110b726e5c98be.zip
Merge pull request #3001 from vyos/mergify/bp/sagitta/pr-2987
bgp: T6032: add EVPN MAC-VRF Site-of-Origin support (backport #2987)
Diffstat (limited to 'interface-definitions/include/bgp')
-rw-r--r--interface-definitions/include/bgp/protocol-common-config.xml.i24
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 &lt;0-65535:0-4294967295&gt;</description>
+ </valueHelp>
+ <valueHelp>
+ <format>IP:NN</format>
+ <description>Based on a router-id IP address in format &lt;IP:0-65535&gt;</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>