summaryrefslogtreecommitdiff
path: root/interface-definitions/include/bgp/neighbor-update-source.xml.i
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/include/bgp/neighbor-update-source.xml.i')
-rw-r--r--interface-definitions/include/bgp/neighbor-update-source.xml.i29
1 files changed, 29 insertions, 0 deletions
diff --git a/interface-definitions/include/bgp/neighbor-update-source.xml.i b/interface-definitions/include/bgp/neighbor-update-source.xml.i
new file mode 100644
index 000000000..37faf2cce
--- /dev/null
+++ b/interface-definitions/include/bgp/neighbor-update-source.xml.i
@@ -0,0 +1,29 @@
+<!-- include start from bgp/neighbor-update-source.xml.i -->
+<leafNode name="update-source">
+ <!-- Need to check format interfaces -->
+ <properties>
+ <help>Source IP of routing updates</help>
+ <completionHelp>
+ <script>${vyos_completion_dir}/list_local_ips.sh --both</script>
+ <script>${vyos_completion_dir}/list_interfaces.py</script>
+ </completionHelp>
+ <valueHelp>
+ <format>ipv4</format>
+ <description>IPv4 address of route source</description>
+ </valueHelp>
+ <valueHelp>
+ <format>ipv6</format>
+ <description>IPv6 address of route source</description>
+ </valueHelp>
+ <valueHelp>
+ <format>txt</format>
+ <description>Interface as route source</description>
+ </valueHelp>
+ <constraint>
+ <validator name="ipv4-address"/>
+ <validator name="ipv6-address"/>
+ <validator name="interface-name"/>
+ </constraint>
+ </properties>
+</leafNode>
+<!-- include end -->