From 628ba49dd655c9003fb65e25aba145c1a6349181 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 28 Jun 2020 10:06:00 +0200 Subject: wwan: T2660: remove workaround - use XML backed default dict --- src/conf_mode/interfaces-wirelessmodem.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/conf_mode/interfaces-wirelessmodem.py') diff --git a/src/conf_mode/interfaces-wirelessmodem.py b/src/conf_mode/interfaces-wirelessmodem.py index c2970d252..57f39760b 100755 --- a/src/conf_mode/interfaces-wirelessmodem.py +++ b/src/conf_mode/interfaces-wirelessmodem.py @@ -29,9 +29,6 @@ from vyos import ConfigError from vyos import airbag airbag.enable() -# XXX: workaround for https://phabricator.vyos.net/T2660 -default_values = {'backup' : {'distance' : '10'}} - def check_kmod(): modules = ['option', 'usb_wwan', 'usbserial'] for module in modules: @@ -60,8 +57,7 @@ def get_config(): # retrieve interface default values base = ['interfaces', 'wirelessmodem'] - # XXX: workaround for https://phabricator.vyos.net/T2660 - #default_values = defaults(base) + default_values = defaults(base) ifname = os.environ['VYOS_TAGNODE_VALUE'] base = base + [ifname] -- cgit v1.2.3