[tempest]: Adding of missing function in vmware_nsx_tempest
Change-Id: I130dbbc62d72fdf8d42874f99cfbad67f6313463
This commit is contained in:
parent
bf3bbb5c4c
commit
682a935e1e
@ -20,6 +20,12 @@ class TestNetworkBasicOps(network_ops.TestNetworkBasicOps):
|
||||
|
||||
# NSX-v does not allow tenants to access dhcp service.
|
||||
# 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,
|
||||
should_connect=True):
|
||||
floating_ip, server = self.floating_ip_tuple
|
||||
|
Loading…
Reference in New Issue
Block a user