summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-06-28 10:06:00 +0200
committerChristian Poessinger <christian@poessinger.com>2020-06-28 10:06:00 +0200
commit628ba49dd655c9003fb65e25aba145c1a6349181 (patch)
treea60e73bc7fb6b1fd2e9ca61acf4f7e3547d41db1
parentc725e1e67978f2b4ec883567b0184439fca60a6f (diff)
downloadvyos-1x-628ba49dd655c9003fb65e25aba145c1a6349181.tar.gz
vyos-1x-628ba49dd655c9003fb65e25aba145c1a6349181.zip
wwan: T2660: remove workaround - use XML backed default dict
-rwxr-xr-xsrc/conf_mode/interfaces-wirelessmodem.py6
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]