summaryrefslogtreecommitdiff
path: root/interface-definitions/include/bgp-ebgp-multihop.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-01-12 21:21:48 +0100
committerChristian Poessinger <christian@poessinger.com>2021-01-12 22:27:58 +0100
commit6dadc1900d29788035a3bce5bb42eaf499ca2a83 (patch)
treeb1eaf747e1b57a0610d670e4c4d809a3ec2a60e6 /interface-definitions/include/bgp-ebgp-multihop.xml.i
parent910919d856d790ff8905d513c280fdf12f8892ef (diff)
downloadvyos-1x-6dadc1900d29788035a3bce5bb42eaf499ca2a83.tar.gz
vyos-1x-6dadc1900d29788035a3bce5bb42eaf499ca2a83.zip
bgp: T2387: single-source xml templates to improve reusability
Diffstat (limited to 'interface-definitions/include/bgp-ebgp-multihop.xml.i')
-rw-r--r--interface-definitions/include/bgp-ebgp-multihop.xml.i14
1 files changed, 14 insertions, 0 deletions
diff --git a/interface-definitions/include/bgp-ebgp-multihop.xml.i b/interface-definitions/include/bgp-ebgp-multihop.xml.i
new file mode 100644
index 000000000..6459fcf47
--- /dev/null
+++ b/interface-definitions/include/bgp-ebgp-multihop.xml.i
@@ -0,0 +1,14 @@
+<!-- included start from bgp-ebgp-multihop.xml.i -->
+<leafNode name="ebgp-multihop">
+ <properties>
+ <help>Allow this EBGP neighbor to not be on a directly connected network</help>
+ <valueHelp>
+ <format>u32:1-255</format>
+ <description>Number of hops</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-255"/>
+ </constraint>
+ </properties>
+</leafNode>
+<!-- included end -->