diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-07-25 23:52:12 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-07-25 23:52:12 +0200 |
commit | 675942ce3e2329a0122da189cd5944df08d7fcab (patch) | |
tree | 4354211ba25fe23b79e0eef7a23a4c9c131e2ffe /interface-definitions/interfaces-l2tpv3.xml.in | |
parent | 2b665599a28bc67cd396abd40f707f577da7957a (diff) | |
download | vyos-1x-675942ce3e2329a0122da189cd5944df08d7fcab.tar.gz vyos-1x-675942ce3e2329a0122da189cd5944df08d7fcab.zip |
l2tpv3: ifconfig: T2653: move implementation to get_interface_dict()
The current VyOS CLI parser code written in Python contains a ton of duplicates
which I can also hold myself accountable for - or maybe mainly me - depends on
the angle of judge.
Diffstat (limited to 'interface-definitions/interfaces-l2tpv3.xml.in')
-rw-r--r-- | interface-definitions/interfaces-l2tpv3.xml.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/interface-definitions/interfaces-l2tpv3.xml.in b/interface-definitions/interfaces-l2tpv3.xml.in index 30dd9b604..3a878ad76 100644 --- a/interface-definitions/interfaces-l2tpv3.xml.in +++ b/interface-definitions/interfaces-l2tpv3.xml.in @@ -29,6 +29,7 @@ <validator name="numeric" argument="--range 1-65535"/> </constraint> </properties> + <defaultValue>5000</defaultValue> </leafNode> #include <include/interface-disable.xml.i> <leafNode name="encapsulation"> @@ -50,6 +51,7 @@ </constraint> <constraintErrorMessage>Encapsulation must be UDP or IP</constraintErrorMessage> </properties> + <defaultValue>udp</defaultValue> </leafNode> <node name="ipv6"> <children> @@ -138,6 +140,7 @@ <validator name="numeric" argument="--range 1-65535"/> </constraint> </properties> + <defaultValue>5000</defaultValue> </leafNode> <leafNode name="tunnel-id"> <properties> |