diff options
author | tjjh89017 <tjjh89017@hotmail.com> | 2020-03-05 16:11:04 +0800 |
---|---|---|
committer | tjjh89017 <tjjh89017@hotmail.com> | 2020-03-05 16:13:32 +0800 |
commit | 15062083b270207c0c32e5297ef9099d21b3aa54 (patch) | |
tree | 2aadd3bde3fe9c56fcaa41cf58687a6ad8bbe8e2 /python/vyos | |
parent | e860a84e2db9aa841ecf9eae2ba9cc586bddfa2e (diff) | |
download | vyos-1x-15062083b270207c0c32e5297ef9099d21b3aa54.tar.gz vyos-1x-15062083b270207c0c32e5297ef9099d21b3aa54.zip |
ifconfig: T2101: Fix VXLAN parsing empty config because of empty options
fill VXLANIf.options for correct parsing
Diffstat (limited to 'python/vyos')
-rw-r--r-- | python/vyos/ifconfig.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/python/vyos/ifconfig.py b/python/vyos/ifconfig.py index 7140b1bbd..c280b42af 100644 --- a/python/vyos/ifconfig.py +++ b/python/vyos/ifconfig.py @@ -2002,6 +2002,8 @@ class VXLANIf(Interface): https://www.kernel.org/doc/Documentation/networking/vxlan.txt """ + options = ['group', 'remote', 'dev', 'port', 'vni'] + default = { 'type': 'vxlan', 'vni': 0, |