diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-02-22 17:35:27 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-02-22 17:37:24 +0100 |
commit | 577ae00d0c7329bea8102fcf75de82cb188b4fb8 (patch) | |
tree | 8ccead51779169995a9e95a29a9df8c2fe672db8 /interface-definitions/interfaces-tunnel.xml.in | |
parent | bdc35ac8ad1d3d88c796aa488749e44bda617b44 (diff) | |
download | vyos-1x-577ae00d0c7329bea8102fcf75de82cb188b4fb8.tar.gz vyos-1x-577ae00d0c7329bea8102fcf75de82cb188b4fb8.zip |
xml: tunnel: erspan: make individual parameter nodes reusable
VXLAN will get tos, ttl and flowlabel options thus make individual parameter
settings reusable by splitting tunnel-parameters-ip.xml.i into individual files.
Diffstat (limited to 'interface-definitions/interfaces-tunnel.xml.in')
-rw-r--r-- | interface-definitions/interfaces-tunnel.xml.in | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/interface-definitions/interfaces-tunnel.xml.in b/interface-definitions/interfaces-tunnel.xml.in index 45573a826..7a97980a2 100644 --- a/interface-definitions/interfaces-tunnel.xml.in +++ b/interface-definitions/interfaces-tunnel.xml.in @@ -151,7 +151,9 @@ <valueless/> </properties> </leafNode> - #include <include/tunnel-parameters-ip.xml.i> + #include <include/interface-parameters-key.xml.i> + #include <include/interface-parameters-tos.xml.i> + #include <include/interface-parameters-ttl.xml.i> </children> </node> <node name="ipv6"> @@ -173,20 +175,7 @@ </properties> <defaultValue>4</defaultValue> </leafNode> - <leafNode name="flowlabel"> - <properties> - <help>Flowlabel</help> - <valueHelp> - <format>0x0-0x0FFFFF</format> - <description>Tunnel key, 'inherit' or hex value</description> - </valueHelp> - <constraint> - <regex>(0x){0,1}(0?[0-9A-Fa-f]{1,5})</regex> - </constraint> - <constraintErrorMessage>Must be 'inherit' or a number</constraintErrorMessage> - </properties> - <defaultValue>inherit</defaultValue> - </leafNode> + #include <include/interface-parameters-flowlabel.xml.i> <leafNode name="hoplimit"> <properties> <help>Hoplimit</help> |