summaryrefslogtreecommitdiff
path: root/tempest
diff options
context:
space:
mode:
authorItzik Brown <itzikb@redhat.com>2015-03-29 12:38:58 +0300
committerItzik Brown <itzikb@redhat.com>2015-03-29 12:40:52 +0300
commit06952677255c2d96b6b27d0777da9484863199bf (patch)
tree8337ef5f49c0aee222fbc45df5bf49af55de649f /tempest
parent8b2a33d23e7be6ba57da03334050b404d1fb6c4a (diff)
downloadtempest-06952677255c2d96b6b27d0777da9484863199bf.tar.gz
Skip test_security_groups_basic_ops for vnic_type=direct of macvtap
Currently there is no security groups support for SR-IOV in openstack. So test_security_groups_basic_ops should be skipped when using vnic_type=direct or vnic_type=macvtap. Closes-Bug: 1437799 Change-Id: If0d40730f057dfb2d73c246b2104b5be2e4c503e
Diffstat (limited to 'tempest')
-rw-r--r--tempest/scenario/test_security_groups_basic_ops.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tempest/scenario/test_security_groups_basic_ops.py b/tempest/scenario/test_security_groups_basic_ops.py
index cffb2fed8..72233f4a1 100644
--- a/tempest/scenario/test_security_groups_basic_ops.py
+++ b/tempest/scenario/test_security_groups_basic_ops.py
@@ -125,6 +125,10 @@ class TestSecurityGroupsBasicOps(manager.NetworkScenarioTest):
if CONF.baremetal.driver_enabled:
msg = ('Not currently supported by baremetal.')
raise cls.skipException(msg)
+ if CONF.network.port_vnic_type in ['direct', 'macvtap']:
+ msg = ('Not currently supported when using vnic_type'
+ ' direct or macvtap')
+ raise cls.skipException(msg)
if not (CONF.network.tenant_networks_reachable or
CONF.network.public_network_id):
msg = ('Either tenant_networks_reachable must be "true", or '