'Wrapper utility that creates a test network with project_id.'

@classmethod
def create_network_keystone_v3(cls, network_name=None, project_id=None, tenant_id=None, client=None):

    client = (client or cls.client)
    network_name = (network_name or data_utils.rand_name('test-network-with-project_id'))
    project_id = cls.client.tenant_id
    body = client.create_network_keystone_v3(network_name, project_id, tenant_id)
    network = body['network']
    if (client is cls.client):
        cls.networks.append(network)
    else:
        cls.admin_networks.append(network)
    return network
