tempest/scenario/test_cross_tenant_connectivity.py
def _deploy_tenant(self, tenant_or_id):
        """
        creates:
            network
            subnet
            router (if public not defined)
            access security group
            access-point server
            for demo_tenant:
                creates general server to test against
        """
        if not isinstance(tenant_or_id, self.TenantProperties):
            tenant = self.tenants[tenant_or_id]
            tenant_id = tenant_or_id
        else:
            tenant = tenant_or_id
            tenant_id = tenant.tenant_id
        self._set_compute_context(tenant)
        self._create_tenant_keypairs(tenant_id)
        self._create_tenant_network(tenant)
        self._create_tenant_security_groups(tenant)
        if tenant is self.demo_tenant:
            self._create_tenant_servers(tenant, num=1)
        self._set_access_point(tenant)

        creates:
            network
            subnet
            router (if public not defined)
            access security group
            access-point server
            for demo_tenant:
                creates general server to test against
        
network
subnet
router (if public not defined)
access security group
access-point server
for demo_tenant:
creates general server to test against
network subnet router ( if public not defined ) access security group access - point server for demo_tenant : creates general server to test against
def _deploy_tenant(self, tenant_or_id):
        if not isinstance(tenant_or_id, self.TenantProperties):
            tenant = self.tenants[tenant_or_id]
            tenant_id = tenant_or_id
        else:
            tenant = tenant_or_id
            tenant_id = tenant.tenant_id
        self._set_compute_context(tenant)
        self._create_tenant_keypairs(tenant_id)
        self._create_tenant_network(tenant)
        self._create_tenant_security_groups(tenant)
        if tenant is self.demo_tenant:
            self._create_tenant_servers(tenant, num=1)
        self._set_access_point(tenant)
def _deploy_tenant ( self , tenant_or_id ) : if not isinstance ( tenant_or_id , self . TenantProperties ) : tenant = self . tenants [ tenant_or_id ] tenant_id = tenant_or_id else : tenant = tenant_or_id tenant_id = tenant . tenant_id self . _set_compute_context ( tenant ) self . _create_tenant_keypairs ( tenant_id ) self . _create_tenant_network ( tenant ) self . _create_tenant_security_groups ( tenant ) if tenant is self . demo_tenant : self . _create_tenant_servers ( tenant , num = 1 ) self . _set_access_point ( tenant )
creates:
network
subnet
router (if public not defined)
access security group
access-point server
for demo_tenant:
creates general server to test against
creates : network subnet router ( if public not defined ) access security group access - point server for demo_tenant : creates general server to test against
"""
        creates:
            network
            subnet
            router (if public not defined)
            access security group
            access-point server
            for demo_tenant:
                creates general server to test against
        """
self
tenant_or_id