Few updates for baremtal dependent tests
Patch - Id518a6d87d0949737cd1c50cb6a83149b85e5f85
remove the baremetal tests from tempest and so config
options.
New config options 'shared_physical_network' is being
added to check whether env support shared network or
network isolation.
But few tests are being skipped wrongly seems.
This patch fix those.
Change-Id: I59c757c3c32b961cdf92e393e01612115de5bdce
diff --git a/tempest/scenario/test_network_v6.py b/tempest/scenario/test_network_v6.py
index 64a4c9b..40b3317 100644
--- a/tempest/scenario/test_network_v6.py
+++ b/tempest/scenario/test_network_v6.py
@@ -50,7 +50,7 @@
msg = ('Either project_networks_reachable must be "true", or '
'public_network_id must be defined.')
raise cls.skipException(msg)
- if not CONF.network.shared_physical_network:
+ if CONF.network.shared_physical_network:
msg = 'Deployment uses a shared physical network'
raise cls.skipException(msg)
diff --git a/tempest/scenario/test_security_groups_basic_ops.py b/tempest/scenario/test_security_groups_basic_ops.py
index a71799a..f8c5c0a 100644
--- a/tempest/scenario/test_security_groups_basic_ops.py
+++ b/tempest/scenario/test_security_groups_basic_ops.py
@@ -142,7 +142,7 @@
if not test.is_extension_enabled('security-group', 'network'):
msg = "security-group extension not enabled."
raise cls.skipException(msg)
- if not CONF.network.shared_physical_network:
+ if CONF.network.shared_physical_network:
msg = ('Deployment uses a shared physical network, security '
'groups not supported')
raise cls.skipException(msg)