summaryrefslogtreecommitdiff
path: root/interface-definitions/include/bgp-afi-allowas-in.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-02-09 23:34:11 +0100
committerGitHub <noreply@github.com>2021-02-09 23:34:11 +0100
commitee8f20596ba1b0482b5e9ccc7826baae294dbde5 (patch)
treef84b90df6fceddc717bbf646e4aae027bf15277f /interface-definitions/include/bgp-afi-allowas-in.xml.i
parentf89969c1729a94901a817bd97da6f5b2a3712af0 (diff)
parent30af74a8f51f22802db8e393ac86293a54ebcd9d (diff)
downloadvyos-1x-ee8f20596ba1b0482b5e9ccc7826baae294dbde5.tar.gz
vyos-1x-ee8f20596ba1b0482b5e9ccc7826baae294dbde5.zip
Merge pull request #724 from c-po/t1315-bgp-evpn
bgp: T1315: initial implementation of L2VPN EVPN support
Diffstat (limited to 'interface-definitions/include/bgp-afi-allowas-in.xml.i')
-rw-r--r--interface-definitions/include/bgp-afi-allowas-in.xml.i21
1 files changed, 21 insertions, 0 deletions
diff --git a/interface-definitions/include/bgp-afi-allowas-in.xml.i b/interface-definitions/include/bgp-afi-allowas-in.xml.i
new file mode 100644
index 000000000..77de04ed7
--- /dev/null
+++ b/interface-definitions/include/bgp-afi-allowas-in.xml.i
@@ -0,0 +1,21 @@
+<!-- included start from bgp-afi-allowas-in.xml.i -->
+<node name="allowas-in">
+ <properties>
+ <help>Accept route that contains the local-as in the as-path</help>
+ </properties>
+ <children>
+ <leafNode name="number">
+ <properties>
+ <help>Number of occurrences of AS number</help>
+ <valueHelp>
+ <format>u32:1-10</format>
+ <description>Number of times AS is allowed in path</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-10"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ </children>
+</node>
+<!-- included end -->