tempest/api/network/base.py
def create_network(cls, network_name=None):
        """Wrapper utility that returns a test network."""
        network_name = network_name or data_utils.rand_name('test-network-')

        resp, body = cls.client.create_network(network_name)
        network = body['network']
        cls.networks.append(network)
        return network
Wrapper utility that returns a test network.
Wrapper utility that returns a test network.
Wrapper utility that returns a test network .
def create_network(cls, network_name=None):
        network_name = network_name or data_utils.rand_name('test-network-')
        resp, body = cls.client.create_network(network_name)
        network = body['network']
        cls.networks.append(network)
        return network
def create_network ( cls , network_name = None ) : network_name = network_name or data_utils . rand_name ( 'test-network-' ) resp , body = cls . client . create_network ( network_name ) network = body [ 'network' ] cls . networks . append ( network ) return network
Wrapper utility that returns a test network.
Wrapper utility that returns a test network .
"""Wrapper utility that returns a test network."""
cls
network_name