diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-04-29 23:29:47 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-04-29 23:29:47 +0200 |
commit | 53d1fa6f7199fdb6a93ed75c623d3da5624e2fae (patch) | |
tree | e3d7fe942ba89e5646ecaf20f8880bd541cb4f6b /interface-definitions/include/bgp/neighbor-update-source.xml.i | |
parent | cf998c040c371be20be8035895989fcee3c06429 (diff) | |
download | vyos-1x-53d1fa6f7199fdb6a93ed75c623d3da5624e2fae.tar.gz vyos-1x-53d1fa6f7199fdb6a93ed75c623d3da5624e2fae.zip |
bgp: xml: T2387: restructure include files and make them easier to recognize
Diffstat (limited to 'interface-definitions/include/bgp/neighbor-update-source.xml.i')
-rw-r--r-- | interface-definitions/include/bgp/neighbor-update-source.xml.i | 29 |
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 --> |