summaryrefslogtreecommitdiff
path: root/interface-definitions/include/bgp/bgp-afi-allowas-in.xml.i
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/include/bgp/bgp-afi-allowas-in.xml.i')
-rw-r--r--interface-definitions/include/bgp/bgp-afi-allowas-in.xml.i21
1 files changed, 21 insertions, 0 deletions
diff --git a/interface-definitions/include/bgp/bgp-afi-allowas-in.xml.i b/interface-definitions/include/bgp/bgp-afi-allowas-in.xml.i
new file mode 100644
index 000000000..738bf0211
--- /dev/null
+++ b/interface-definitions/include/bgp/bgp-afi-allowas-in.xml.i
@@ -0,0 +1,21 @@
+<!-- include 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>
+<!-- include end -->