Added test suite and case to cover 'availability zone'
This was required to test advanced scenarios.
* Added a new 'admin' folder in 'scenario' folder
to test advanced operations.
* Added a new file to the 'admin' folder that contains
test cases for floating ip with admin privileges.
* Added a scenario test that verify valid connection
between two instances on a single compute node
using availability-zone.
* Changed 'base.py' to enable booting an instance with
admin privileges.
Change-Id: I711a10eef321622c335e35b84e386b01d73b938a
diff --git a/neutron_tempest_plugin/api/clients.py b/neutron_tempest_plugin/api/clients.py
index 272f5be..875992e 100644
--- a/neutron_tempest_plugin/api/clients.py
+++ b/neutron_tempest_plugin/api/clients.py
@@ -13,6 +13,8 @@
# License for the specific language governing permissions and limitations
# under the License.
+from tempest.lib.services.compute import availability_zone_client
+from tempest.lib.services.compute import hypervisor_client
from tempest.lib.services.compute import keypairs_client
from tempest.lib.services.compute import servers_client
from tempest.lib.services.identity.v2 import tenants_client
@@ -74,6 +76,10 @@
**params)
self.keypairs_client = keypairs_client.KeyPairsClient(
self.auth_provider, **params)
+ self.hv_client = hypervisor_client.HypervisorClient(
+ self.auth_provider, **params)
+ self.az_client = availability_zone_client.AvailabilityZoneClient(
+ self.auth_provider, **params)
def _set_identity_clients(self):
params = {