diff options
author | Chad Smith <chad.smith@canonical.com> | 2017-10-05 14:26:34 -0600 |
---|---|---|
committer | Chad Smith <chad.smith@canonical.com> | 2017-10-05 14:26:34 -0600 |
commit | 45d361cb0b7f5e4e7d79522bd285871898358623 (patch) | |
tree | 8bd6a938898f5a1992280ae70bea988ed9357a45 /tests | |
parent | 6eb4dc24fe314ce5c98b05b21988402cda95afce (diff) | |
download | vyos-cloud-init-45d361cb0b7f5e4e7d79522bd285871898358623.tar.gz vyos-cloud-init-45d361cb0b7f5e4e7d79522bd285871898358623.zip |
net: Handle bridge stp values of 0 and convert to boolean type
Update unit tests to pass a 0 instead of 'off' to validate that network
state is properly written.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unittests/test_net.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unittests/test_net.py b/tests/unittests/test_net.py index 17c9342b..bbb63cb3 100644 --- a/tests/unittests/test_net.py +++ b/tests/unittests/test_net.py @@ -1283,7 +1283,7 @@ pre-down route del -net 10.0.0.0 netmask 255.0.0.0 gw 11.0.0.1 metric 3 || true - eth0 - eth1 params: - bridge_stp: 'off' + bridge_stp: 0 bridge_bridgeprio: 22 subnets: - type: static |