From 15062083b270207c0c32e5297ef9099d21b3aa54 Mon Sep 17 00:00:00 2001 From: tjjh89017 Date: Thu, 5 Mar 2020 16:11:04 +0800 Subject: ifconfig: T2101: Fix VXLAN parsing empty config because of empty options fill VXLANIf.options for correct parsing --- python/vyos/ifconfig.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'python') 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, -- cgit v1.2.3