diff options
Diffstat (limited to 'interface-definitions')
| -rw-r--r-- | interface-definitions/vpp.xml.in | 21 | ||||
| -rw-r--r-- | interface-definitions/vpp_interface_ipip.xml.in | 33 |
2 files changed, 33 insertions, 21 deletions
diff --git a/interface-definitions/vpp.xml.in b/interface-definitions/vpp.xml.in index cf947a29d..ca9838af0 100644 --- a/interface-definitions/vpp.xml.in +++ b/interface-definitions/vpp.xml.in @@ -146,27 +146,6 @@ #include <include/kernel-interface-tun.xml.i> </children> </tagNode> - <tagNode name="ipip" owner="${vyos_conf_scripts_dir}/vpp_interfaces_ipip.py"> - <properties> - <priority>325</priority> - <help>IP encapsulation tunnel interface</help> - <constraint> - <regex>ipip[0-9]+</regex> - </constraint> - <constraintErrorMessage>IPIP tunnel interface must be named ipipN</constraintErrorMessage> - <valueHelp> - <format>ipipN</format> - <description>IPIP tunnel interface name</description> - </valueHelp> - </properties> - <children> - #include <include/generic-description.xml.i> - #include <include/interface/disable.xml.i> - #include <include/source-address-ipv4-ipv6.xml.i> - #include <include/interface/tunnel-remote.xml.i> - #include <include/kernel-interface-tun.xml.i> - </children> - </tagNode> <tagNode name="loopback" owner="${vyos_conf_scripts_dir}/vpp_interfaces_loopback.py"> <properties> <priority>325</priority> diff --git a/interface-definitions/vpp_interface_ipip.xml.in b/interface-definitions/vpp_interface_ipip.xml.in new file mode 100644 index 000000000..c965c531c --- /dev/null +++ b/interface-definitions/vpp_interface_ipip.xml.in @@ -0,0 +1,33 @@ +<?xml version="1.0"?> +<interfaceDefinition> + <node name='interfaces'> + <children> + <node name='vpp'> + <children> + <tagNode name="ipip" owner="${vyos_conf_scripts_dir}/vpp_interfaces_ipip.py"> + <properties> + <priority>325</priority> + <help>IP encapsulation tunnel interface</help> + <constraint> + <regex>vppipip[0-9]+</regex> + </constraint> + <constraintErrorMessage>IPIP tunnel interface must be named vppipipN</constraintErrorMessage> + <valueHelp> + <format>vppipipN</format> + <description>IPIP tunnel interface name</description> + </valueHelp> + </properties> + <children> + #include <include/generic-description.xml.i> + #include <include/interface/disable.xml.i> + #include <include/source-address-ipv4-ipv6.xml.i> + #include <include/interface/tunnel-remote.xml.i> + #include <include/interface/address-ipv4-ipv6.xml.i> + #include <include/interface/mtu-68-16000.xml.i> + </children> + </tagNode> + </children> + </node> + </children> + </node> +</interfaceDefinition> |
