

def _create_network(self):
    body = {
        'network': {
            'name': 'net1',
        },
    }
    neutron = get_client()
    net = neutron.create_network(body)
    body = {
        'subnet': {
            'network_id': self['network']['id'],
            'cidr': '10.0.0.0/24',
        },
    }
    neutron.create_subnet(body)
    return net

dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/tests/unit/api/openstack/compute/test_neutron_security_groups.py TestNeutronSecurityGroupsV21._create_network/VarMisuse@53/71 `net`->`self`