diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-06-28 10:06:00 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-06-28 10:06:00 +0200 |
commit | 628ba49dd655c9003fb65e25aba145c1a6349181 (patch) | |
tree | a60e73bc7fb6b1fd2e9ca61acf4f7e3547d41db1 /src | |
parent | c725e1e67978f2b4ec883567b0184439fca60a6f (diff) | |
download | vyos-1x-628ba49dd655c9003fb65e25aba145c1a6349181.tar.gz vyos-1x-628ba49dd655c9003fb65e25aba145c1a6349181.zip |
wwan: T2660: remove workaround - use XML backed default dict
Diffstat (limited to 'src')
-rwxr-xr-x | src/conf_mode/interfaces-wirelessmodem.py | 6 |
1 files changed, 1 insertions, 5 deletions
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] |