diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-07-15 20:56:39 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-07-15 20:56:39 +0200 |
commit | bee479c9baa92bab3c367d1660061cb8542a67bc (patch) | |
tree | 7f0996b2f3ca2eecabbee4d5951fe572c137686b | |
parent | d736643099570f6a945ee46956f849e545ccc187 (diff) | |
download | vyos-1x-bee479c9baa92bab3c367d1660061cb8542a67bc.tar.gz vyos-1x-bee479c9baa92bab3c367d1660061cb8542a67bc.zip |
xml: T2651: provide general source-interface include file
-rw-r--r-- | interface-definitions/include/source-interface.xml.i | 12 | ||||
-rw-r--r-- | interface-definitions/interfaces-vxlan.xml.in | 13 |
2 files changed, 13 insertions, 12 deletions
diff --git a/interface-definitions/include/source-interface.xml.i b/interface-definitions/include/source-interface.xml.i new file mode 100644 index 000000000..ae579c2a6 --- /dev/null +++ b/interface-definitions/include/source-interface.xml.i @@ -0,0 +1,12 @@ +<leafNode name="source-interface"> + <properties> + <help>Physical interface used for connection</help> + <valueHelp> + <format>interface</format> + <description>Physical interface used for connection</description> + </valueHelp> + <completionHelp> + <script>${vyos_completion_dir}/list_interfaces.py</script> + </completionHelp> + </properties> +</leafNode> diff --git a/interface-definitions/interfaces-vxlan.xml.in b/interface-definitions/interfaces-vxlan.xml.in index fdde57525..bd3ab4022 100644 --- a/interface-definitions/interfaces-vxlan.xml.in +++ b/interface-definitions/interfaces-vxlan.xml.in @@ -64,18 +64,7 @@ </constraint> </properties> </leafNode> - <leafNode name="source-interface"> - <properties> - <help>Physical Interface used for this connection</help> - <valueHelp> - <format>interface</format> - <description>Interface used for VXLAN underlay</description> - </valueHelp> - <completionHelp> - <script>${vyos_completion_dir}/list_interfaces.py</script> - </completionHelp> - </properties> - </leafNode> + #include <include/source-interface.xml.i> #include <include/interface-mtu-1200-9000.xml.i> <leafNode name="remote"> <properties> |