tempest/scenario/manager.py
def _create_networks(self, tenant_id=None):
        """Create a network with a subnet connected to a router.

        :returns: network, subnet, router
        """
        if tenant_id is None:
            tenant_id = self.tenant_id
        network = self._create_network(tenant_id)
        router = self._get_router(tenant_id)
        subnet = self._create_subnet(network)
        subnet.add_to_router(router.id)
        self.networks.append(network)
        self.subnets.append(subnet)
        self.routers.append(router)
        return network, subnet, router
Create a network with a subnet connected to a router.

        :returns: network, subnet, router
        
Create a network with a subnet connected to a router.
Create a network with a subnet connected to a router .
def _create_networks(self, tenant_id=None):
        if tenant_id is None:
            tenant_id = self.tenant_id
        network = self._create_network(tenant_id)
        router = self._get_router(tenant_id)
        subnet = self._create_subnet(network)
        subnet.add_to_router(router.id)
        self.networks.append(network)
        self.subnets.append(subnet)
        self.routers.append(router)
        return network, subnet, router
def _create_networks ( self , tenant_id = None ) : if tenant_id is None : tenant_id = self . tenant_id network = self . _create_network ( tenant_id ) router = self . _get_router ( tenant_id ) subnet = self . _create_subnet ( network ) subnet . add_to_router ( router . id ) self . networks . append ( network ) self . subnets . append ( subnet ) self . routers . append ( router ) return network , subnet , router
Create a network with a subnet connected to a router.
Create a network with a subnet connected to a router .
"""Create a network with a subnet connected to a router.

        :returns: network, subnet, router
        """
network, subnet, router
network subnet router
self
tenant_id