summaryrefslogtreecommitdiffstats
path: root/apex/tests/test_apex_network_settings.py
diff options
context:
space:
mode:
Diffstat (limited to 'apex/tests/test_apex_network_settings.py')
-rw-r--r--apex/tests/test_apex_network_settings.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/apex/tests/test_apex_network_settings.py b/apex/tests/test_apex_network_settings.py
index 5e2fa07..764c9ef 100644
--- a/apex/tests/test_apex_network_settings.py
+++ b/apex/tests/test_apex_network_settings.py
@@ -112,6 +112,9 @@ class TestNetworkSettings:
# remove vlan from storage net
storage_net_nicmap['compute'].pop('vlan', None)
assert_is_instance(NetworkSettings(ns), NetworkSettings)
+ for role in ('compute', 'controller'):
+ assert_equal(ns['networks'][ADMIN_NETWORK]['nic_mapping'][
+ role]['vlan'], 'native')
# TODO
# need to manipulate interfaces some how