summaryrefslogtreecommitdiff
path: root/interface-definitions/include/bgp/protocol-common-config.xml.i
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-02-13 17:32:59 +0100
committerGitHub <noreply@github.com>2024-02-13 17:32:59 +0100
commit7ca76b72e2639b3d5774c65dc250d00f0fbdf65b (patch)
tree7df91e15fe13a99da23ad11f0da021897549956d /interface-definitions/include/bgp/protocol-common-config.xml.i
parent0732e89d561ff9606fa1b91e718d3243bdfa3ff7 (diff)
parentf308df322bd62024e29dd458642cb6bcac8a5ad6 (diff)
downloadvyos-1x-7ca76b72e2639b3d5774c65dc250d00f0fbdf65b.tar.gz
vyos-1x-7ca76b72e2639b3d5774c65dc250d00f0fbdf65b.zip
Merge pull request #2987 from c-po/evpn-macvrf-soo
bgp: T6032: add EVPN MAC-VRF Site-of-Origin support
Diffstat (limited to 'interface-definitions/include/bgp/protocol-common-config.xml.i')
-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>