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
diff --git a/tempest/scenario/test_security_groups_basic_ops.py b/tempest/scenario/test_security_groups_basic_ops.py
index cffb2fe..72233f4 100644
--- a/tempest/scenario/test_security_groups_basic_ops.py
+++ b/tempest/scenario/test_security_groups_basic_ops.py
@@ -125,6 +125,10 @@
         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 '