[tempest]: Adding of missing function in vmware_nsx_tempest

Change-Id: I130dbbc62d72fdf8d42874f99cfbad67f6313463
This commit is contained in:
Puneet Arora 2017-04-16 16:24:00 +00:00
parent bf3bbb5c4c
commit 682a935e1e

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