Merge "[tempest]: Adding of missing function in vmware_nsx_tempest"

This commit is contained in:
Jenkins 2017-04-24 06:38:40 +00:00 committed by Gerrit Code Review
commit 4777b58cfe

View File

@ -20,6 +20,12 @@ class TestNetworkBasicOps(network_ops.TestNetworkBasicOps):
# NSX-v does not allow tenants to access dhcp service. # NSX-v does not allow tenants to access dhcp service.
# Overwirte parent class to skip dhcp service testing. # Overwirte parent class to skip dhcp service testing.
def _list_ports(self, *args, **kwargs):
"""List ports using admin creds """
ports_list = self.admin_manager.ports_client.list_ports(
*args, **kwargs)
return ports_list['ports']
def _check_network_internal_connectivity(self, network, def _check_network_internal_connectivity(self, network,
should_connect=True): should_connect=True):
floating_ip, server = self.floating_ip_tuple floating_ip, server = self.floating_ip_tuple