diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-07-19 22:25:12 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-07-25 15:36:07 +0200 |
commit | c8cd7951e38ae2819d4c9f87089fcf59b7e6b70d (patch) | |
tree | 85db9e0fa8eddbecbb644cefa2299fa2fc0ea181 /interface-definitions | |
parent | a25d7095e009469d8ef60b63deddd94d30921723 (diff) | |
download | vyos-1x-c8cd7951e38ae2819d4c9f87089fcf59b7e6b70d.tar.gz vyos-1x-c8cd7951e38ae2819d4c9f87089fcf59b7e6b70d.zip |
pseudo-ethernet: ifconfig: T2653: move to get_config_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.
While providing a new update() method in vyos.ifconfig.interfaces() this is
extended for pdeudo-ethernet interfaces in the derived class.
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/interfaces-pseudo-ethernet.xml.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/interface-definitions/interfaces-pseudo-ethernet.xml.in b/interface-definitions/interfaces-pseudo-ethernet.xml.in index d5f9ca661..0ef45e2c2 100644 --- a/interface-definitions/interfaces-pseudo-ethernet.xml.in +++ b/interface-definitions/interfaces-pseudo-ethernet.xml.in @@ -70,6 +70,7 @@ </constraint> <constraintErrorMessage>mode must be private, vepa, bridge or passthru</constraintErrorMessage> </properties> + <defaultValue>private</defaultValue> </leafNode> #include <include/vif-s.xml.i> #include <include/vif.xml.i> |