openstackclient.tests.network.v2 package

Submodules

openstackclient.tests.network.v2.fakes module

class openstackclient.tests.network.v2.fakes.FakeAddressScope

Bases: object

Fake one or more address scopes.

static create_address_scopes(attrs=None, count=2)

Create multiple fake address scopes.

Parameters:
  • attrs (Dictionary) – A dictionary with all attributes
  • count (int) – The number of address scopes to fake
Returns:

A list of FakeResource objects faking the address scopes

static create_one_address_scope(attrs=None)

Create a fake address scope.

Parameters:attrs (Dictionary) – A dictionary with all attributes
Returns:A FakeResource object with name, id, etc.
class openstackclient.tests.network.v2.fakes.FakeAvailabilityZone

Bases: object

Fake one or more network availability zones (AZs).

static create_availability_zones(attrs=None, count=2)

Create multiple fake AZs.

Parameters:
  • attrs (Dictionary) – A dictionary with all attributes
  • count (int) – The number of AZs to fake
Returns:

A list of FakeResource objects faking the AZs

static create_one_availability_zone(attrs=None)

Create a fake AZ.

Parameters:attrs (Dictionary) – A dictionary with all attributes
Returns:A FakeResource object with name, state, etc.
class openstackclient.tests.network.v2.fakes.FakeFloatingIP

Bases: object

Fake one or more floating ip.

static create_floating_ips(attrs=None, count=2)

Create multiple fake floating ips.

Parameters:
  • attrs (Dictionary) – A dictionary with all attributes
  • count (int) – The number of floating ips to fake
Returns:

A list of FakeResource objects faking the floating ips

static create_one_floating_ip(attrs=None)

Create a fake floating ip.

Parameters:attrs (Dictionary) – A dictionary with all attributes
Returns:A FakeResource object, with id, ip, and so on
static get_floating_ips(floating_ips=None, count=2)

Get an iterable MagicMock object with a list of faked floating ips.

If floating_ips list is provided, then initialize the Mock object with the list. Otherwise create one.

Parameters:
  • floating ips (List) – A list of FakeResource objects faking floating ips
  • count (int) – The number of floating ips to fake
Returns:

An iterable Mock object with side_effect set to a list of faked floating ips

class openstackclient.tests.network.v2.fakes.FakeNetwork

Bases: object

Fake one or more networks.

static create_networks(attrs=None, count=2)

Create multiple fake networks.

Parameters:
  • attrs (Dictionary) – A dictionary with all attributes
  • count (int) – The number of networks to fake
Returns:

A list of FakeResource objects faking the networks

static create_one_network(attrs=None)

Create a fake network.

Parameters:attrs (Dictionary) – A dictionary with all attributes
Returns:A FakeResource object, with id, name, etc.
static get_networks(networks=None, count=2)

Get an iterable MagicMock object with a list of faked networks.

If networks list is provided, then initialize the Mock object with the list. Otherwise create one.

Parameters:
  • networks (List) – A list of FakeResource objects faking networks
  • count (int) – The number of networks to fake
Returns:

An iterable Mock object with side_effect set to a list of faked networks

class openstackclient.tests.network.v2.fakes.FakeNetworkV2Client(**kwargs)

Bases: object

class openstackclient.tests.network.v2.fakes.FakePort

Bases: object

Fake one or more ports.

static create_one_port(attrs=None)

Create a fake port.

Parameters:attrs (Dictionary) – A dictionary with all attributes
Returns:A FakeResource object, with id, name, etc.
static create_ports(attrs=None, count=2)

Create multiple fake ports.

Parameters:
  • attrs (Dictionary) – A dictionary with all attributes
  • count (int) – The number of ports to fake
Returns:

A list of FakeResource objects faking the ports

static get_ports(ports=None, count=2)

Get an iterable MagicMock object with a list of faked ports.

If ports list is provided, then initialize the Mock object with the list. Otherwise create one.

Parameters:
  • ports (List) – A list of FakeResource objects faking ports
  • count (int) – The number of ports to fake
Returns:

An iterable Mock object with side_effect set to a list of faked ports

class openstackclient.tests.network.v2.fakes.FakeRouter

Bases: object

Fake one or more routers.

static create_one_router(attrs=None)

Create a fake router.

Parameters:attrs (Dictionary) – A dictionary with all attributes
Returns:A FakeResource object, with id, name, admin_state_up, status, tenant_id
static create_routers(attrs=None, count=2)

Create multiple fake routers.

Parameters:
  • attrs (Dictionary) – A dictionary with all attributes
  • count (int) – The number of routers to fake
Returns:

A list of FakeResource objects faking the routers

static get_routers(routers=None, count=2)

Get an iterable MagicMock object with a list of faked routers.

If routers list is provided, then initialize the Mock object with the list. Otherwise create one.

Parameters:
  • routers (List) – A list of FakeResource objects faking routers
  • count (int) – The number of routers to fake
Returns:

An iterable Mock object with side_effect set to a list of faked routers

class openstackclient.tests.network.v2.fakes.FakeSecurityGroup

Bases: object

Fake one or more security groups.

static create_one_security_group(attrs=None)

Create a fake security group.

Parameters:attrs (Dictionary) – A dictionary with all attributes
Returns:A FakeResource object, with id, name, etc.
static create_security_groups(attrs=None, count=2)

Create multiple fake security groups.

Parameters:
  • attrs (Dictionary) – A dictionary with all attributes
  • count (int) – The number of security groups to fake
Returns:

A list of FakeResource objects faking the security groups

class openstackclient.tests.network.v2.fakes.FakeSecurityGroupRule

Bases: object

Fake one or more security group rules.

static create_one_security_group_rule(attrs=None)

Create a fake security group rule.

Parameters:attrs (Dictionary) – A dictionary with all attributes
Returns:A FakeResource object, with id, etc.
static create_security_group_rules(attrs=None, count=2)

Create multiple fake security group rules.

Parameters:
  • attrs (Dictionary) – A dictionary with all attributes
  • count (int) – The number of security group rules to fake
Returns:

A list of FakeResource objects faking the security group rules

class openstackclient.tests.network.v2.fakes.FakeSubnet

Bases: object

Fake one or more subnets.

static create_one_subnet(attrs=None)

Create a fake subnet.

Parameters:attrs (Dictionary) – A dictionary with all attributes
Returns:A FakeResource object faking the subnet
static create_subnets(attrs=None, count=2)

Create multiple fake subnets.

Parameters:
  • attrs (Dictionary) – A dictionary with all attributes
  • count (int) – The number of subnets to fake
Returns:

A list of FakeResource objects faking the subnets

class openstackclient.tests.network.v2.fakes.FakeSubnetPool

Bases: object

Fake one or more subnet pools.

static create_one_subnet_pool(attrs=None)

Create a fake subnet pool.

Parameters:attrs (Dictionary) – A dictionary with all attributes
Returns:A FakeResource object faking the subnet pool
static create_subnet_pools(attrs=None, count=2)

Create multiple fake subnet pools.

Parameters:
  • attrs (Dictionary) – A dictionary with all attributes
  • count (int) – The number of subnet pools to fake
Returns:

A list of FakeResource objects faking the subnet pools

class openstackclient.tests.network.v2.fakes.TestNetworkV2(*args, **kwargs)

Bases: openstackclient.tests.utils.TestCommand

setUp()
openstackclient.tests.network.v2.fakes.create_extension()

openstackclient.tests.network.v2.test_address_scope module

class openstackclient.tests.network.v2.test_address_scope.TestAddressScope(*args, **kwargs)

Bases: openstackclient.tests.network.v2.fakes.TestNetworkV2

setUp()
class openstackclient.tests.network.v2.test_address_scope.TestCreateAddressScope(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_address_scope.TestAddressScope

columns = ('id', 'ip_version', 'name', 'project_id', 'shared')
data = ('address-scope-id-648dace695604aa59dafae0553755958', 4, 'address-scope-name-c4d008ea44254eae8df9311a0a5593dc', '8-9-64', False)
new_address_scope = <FakeResource id=address-scope-id-648dace695604aa59dafae0553755958, ip_version=4, name=address-scope-name-c4d008ea44254eae8df9311a0a5593dc, project_id=8-9-64, shared=False, tenant_id=8-9-64>
setUp()
test_create_all_options()
test_create_default_options()
test_create_no_options()
test_create_no_share()
class openstackclient.tests.network.v2.test_address_scope.TestDeleteAddressScope(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_address_scope.TestAddressScope

setUp()
test_delete()
class openstackclient.tests.network.v2.test_address_scope.TestListAddressScope(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_address_scope.TestAddressScope

address_scopes = [<FakeResource id=address-scope-id-db7dd29688254fec975a3387121037cc, ip_version=4, name=address-scope-name-daa2ce61b867450e8f3f30c7c650499a, project_id=project-id-3d0190fdfee24503838e015b7145a213, shared=False, tenant_id=project-id-3d0190fdfee24503838e015b7145a213>, <FakeResource id=address-scope-id-8addb8b2cea8422cbc2b2fa6d8569de4, ip_version=4, name=address-scope-name-66165803927644c7bcd6d4f670f7ba0f, project_id=project-id-8be866a00b86489dbb27080ca4049c67, shared=False, tenant_id=project-id-8be866a00b86489dbb27080ca4049c67>, <FakeResource id=address-scope-id-cbd112da8b484e3e8d0b2feddeaee582, ip_version=4, name=address-scope-name-07040a111bdd4392b249f08cf54a8dde, project_id=project-id-3f45d8eebbe449ffbdd4de81e05a72ea, shared=False, tenant_id=project-id-3f45d8eebbe449ffbdd4de81e05a72ea>]
columns = ('ID', 'Name', 'IP Version', 'Shared', 'Project')
data = [('address-scope-id-db7dd29688254fec975a3387121037cc', 'address-scope-name-daa2ce61b867450e8f3f30c7c650499a', 4, False, 'project-id-3d0190fdfee24503838e015b7145a213'), ('address-scope-id-8addb8b2cea8422cbc2b2fa6d8569de4', 'address-scope-name-66165803927644c7bcd6d4f670f7ba0f', 4, False, 'project-id-8be866a00b86489dbb27080ca4049c67'), ('address-scope-id-cbd112da8b484e3e8d0b2feddeaee582', 'address-scope-name-07040a111bdd4392b249f08cf54a8dde', 4, False, 'project-id-3f45d8eebbe449ffbdd4de81e05a72ea')]
scope = <FakeResource id=address-scope-id-cbd112da8b484e3e8d0b2feddeaee582, ip_version=4, name=address-scope-name-07040a111bdd4392b249f08cf54a8dde, project_id=project-id-3f45d8eebbe449ffbdd4de81e05a72ea, shared=False, tenant_id=project-id-3f45d8eebbe449ffbdd4de81e05a72ea>
setUp()
test_address_scope_list()
class openstackclient.tests.network.v2.test_address_scope.TestSetAddressScope(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_address_scope.TestAddressScope

setUp()
test_set_name_and_share()
test_set_no_share()
test_set_nothing()
class openstackclient.tests.network.v2.test_address_scope.TestShowAddressScope(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_address_scope.TestAddressScope

columns = ('id', 'ip_version', 'name', 'project_id', 'shared')
data = ('address-scope-id-dbeffcb0f7f24417a8887d3ea8094ae8', 4, 'address-scope-name-89ffa6e3533047db89eae0ad9471942b', 'project-id-80c90487e66946199e1d2ff2d48ad9c5', False)
setUp()
test_show_all_options()
test_show_no_options()

openstackclient.tests.network.v2.test_floating_ip module

class openstackclient.tests.network.v2.test_floating_ip.TestCreateFloatingIPCompute(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_floating_ip.TestFloatingIPCompute

columns = ('fixed_ip', 'id', 'instance_id', 'ip', 'pool')
data = ('2.0.9.0', 'floating-ip-id-12d521fac55b41afa0fe825aa9523ddc', 'server-id-1621b8f172754810be7605d06dd76460', '1.0.9.0', 'public')
floating_ip = <FakeResource fixed_ip=2.0.9.0, id=floating-ip-id-12d521fac55b41afa0fe825aa9523ddc, instance_id=server-id-1621b8f172754810be7605d06dd76460, ip=1.0.9.0, pool=public>
setUp()
test_create_default_options()
test_create_no_options()
class openstackclient.tests.network.v2.test_floating_ip.TestCreateFloatingIPNetwork(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_floating_ip.TestFloatingIPNetwork

columns = ('dns_domain', 'dns_name', 'fixed_ip_address', 'floating_ip_address', 'floating_network_id', 'id', 'port_id', 'project_id', 'router_id', 'status')
data = (None, None, '2.0.9.0', '1.0.9.0', 'network-id-42b5edfc893444deaae56a2fc1e55d93', 'floating-ip-id-bccb97a15942458ebcb74c0dcb2199d3', 'port-id-908999de331245aca181b585c029f995', 'project-id-11f582384c7542cf99019e5bce2ba089', 'router-id-574ccf71a5734b00be31d0669890c72f', 'DOWN')
floating_ip = <FakeResource dns_domain=None, dns_name=None, fixed_ip_address=2.0.9.0, floating_ip_address=1.0.9.0, floating_network_id=network-id-42b5edfc893444deaae56a2fc1e55d93, id=floating-ip-id-bccb97a15942458ebcb74c0dcb2199d3, port_id=port-id-908999de331245aca181b585c029f995, project_id=project-id-11f582384c7542cf99019e5bce2ba089, router_id=router-id-574ccf71a5734b00be31d0669890c72f, status=DOWN, tenant_id=project-id-11f582384c7542cf99019e5bce2ba089>
floating_network = <FakeResource admin_state_up=True, availability_zone_hints=[], availability_zones=[], id=network-id-42b5edfc893444deaae56a2fc1e55d93, is_default=False, is_router_external=True, name=network-name-c8d1f728ada247e98aaf679fb1b3cec2, project_id=project-id-b08be4116b0a4f5f9098dac8a1623fab, provider_network_type=vlan, router:external=True, shared=False, status=ACTIVE, subnets=['a', 'b'], tenant_id=project-id-b08be4116b0a4f5f9098dac8a1623fab>
port = <FakeResource admin_state_up=True, allowed_address_pairs=[{}], binding:host_id=binding-host-id-5c216b6055cb4c5085db183d02f803f0, binding:profile={}, binding:vif_details={}, binding:vif_type=ovs, binding:vnic_type=normal, binding_host_id=binding-host-id-5c216b6055cb4c5085db183d02f803f0, binding_profile={}, binding_vif_details={}, binding_vif_type=ovs, binding_vnic_type=normal, device_id=device-id-e9f74f07461846a598632f2b9fac374f, device_owner=compute:nova, dns_assignment=[{}], dns_name=dns-name-25e292aba7ec46149a009fc643f2df29, extra_dhcp_opts=[{}], fixed_ips=[{}], id=port-id-908999de331245aca181b585c029f995, mac_address=fa:16:3e:a9:4e:72, name=port-name-56bfdbf6add1466faa89ba85e2277dd3, network_id=network-id-de77d0f0732144a3985e1c0316cef869, port_security_enabled=True, project_id=project-id-f530f5f15f9c40ad9140b6082eebe0e9, security_groups=[], status=ACTIVE, tenant_id=project-id-f530f5f15f9c40ad9140b6082eebe0e9>
setUp()
subnet = <FakeResource allocation_pools=[], cidr=10.10.10.0/24, dns_nameservers=[], enable_dhcp=True, gateway_ip=10.10.10.1, host_routes=[], id=subnet-id-9c29eb090ce146a5bd878da49540748d, ip_version=4, ipv6_address_mode=None, ipv6_ra_mode=None, name=subnet-name-519a47718e41454c95be3b845f30be07, network_id=network-id-c0bb2a049c774743b3f79cc20f22840b, project_id=project-id-cac23cb2935149f39f7d05a54330f47a, subnetpool_id=None, tenant_id=project-id-cac23cb2935149f39f7d05a54330f47a>
test_create_all_options()
test_create_default_options()
test_create_no_options()
class openstackclient.tests.network.v2.test_floating_ip.TestDeleteFloatingIPCompute(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_floating_ip.TestFloatingIPCompute

floating_ip = <FakeResource fixed_ip=2.0.9.0, id=floating-ip-id-09219a26207148faac305e8b016e4e85, instance_id=server-id-924f0e5c8b204195877d86a99b3cfc46, ip=1.0.9.0, pool=public>
setUp()
test_floating_ip_delete()
class openstackclient.tests.network.v2.test_floating_ip.TestDeleteFloatingIPNetwork(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_floating_ip.TestFloatingIPNetwork

floating_ip = <FakeResource dns_domain=None, dns_name=None, fixed_ip_address=2.0.9.0, floating_ip_address=1.0.9.0, floating_network_id=network-id-f0d4071ad373470a8582342486e06df2, id=floating-ip-id-cf9a9fbb07c24819907b900ccc0bdcf0, port_id=port-id-3de83cb990d9429ba1df66a7c4aac3c2, project_id=project-id-285310b4a9824d9b987374affae6da32, router_id=router-id-ec1837dcce4d481a9ce5c5a0ffe6ed1e, status=DOWN, tenant_id=project-id-285310b4a9824d9b987374affae6da32>
setUp()
test_floating_ip_delete()
class openstackclient.tests.network.v2.test_floating_ip.TestFloatingIPCompute(*args, **kwargs)

Bases: openstackclient.tests.compute.v2.fakes.TestComputev2

setUp()
class openstackclient.tests.network.v2.test_floating_ip.TestFloatingIPNetwork(*args, **kwargs)

Bases: openstackclient.tests.network.v2.fakes.TestNetworkV2

setUp()
class openstackclient.tests.network.v2.test_floating_ip.TestListFloatingIPCompute(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_floating_ip.TestFloatingIPCompute

columns = ('ID', 'Floating IP Address', 'Fixed IP Address', 'Server', 'Pool')
data = [('floating-ip-id-fbe8b764dbd44227ae77141de0ad5872', '1.0.9.0', '2.0.9.0', 'server-id-acd434e658d94c6680fe006eac6371b2', 'public'), ('floating-ip-id-3ae0e5fec23e432b8264615b954a634b', '1.0.9.0', '2.0.9.0', 'server-id-a58a0761d43843c0b43e8b330d4c7cee', 'public'), ('floating-ip-id-207afdb66e3b4e4d8eb313200faa7898', '1.0.9.0', '2.0.9.0', 'server-id-54d30e218d444522a22819aa6ba8227c', 'public')]
floating_ips = [<FakeResource fixed_ip=2.0.9.0, id=floating-ip-id-fbe8b764dbd44227ae77141de0ad5872, instance_id=server-id-acd434e658d94c6680fe006eac6371b2, ip=1.0.9.0, pool=public>, <FakeResource fixed_ip=2.0.9.0, id=floating-ip-id-3ae0e5fec23e432b8264615b954a634b, instance_id=server-id-a58a0761d43843c0b43e8b330d4c7cee, ip=1.0.9.0, pool=public>, <FakeResource fixed_ip=2.0.9.0, id=floating-ip-id-207afdb66e3b4e4d8eb313200faa7898, instance_id=server-id-54d30e218d444522a22819aa6ba8227c, ip=1.0.9.0, pool=public>]
ip = <FakeResource fixed_ip=2.0.9.0, id=floating-ip-id-207afdb66e3b4e4d8eb313200faa7898, instance_id=server-id-54d30e218d444522a22819aa6ba8227c, ip=1.0.9.0, pool=public>
setUp()
test_floating_ip_list()
class openstackclient.tests.network.v2.test_floating_ip.TestListFloatingIPNetwork(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_floating_ip.TestFloatingIPNetwork

columns = ('ID', 'Floating IP Address', 'Fixed IP Address', 'Port')
data = [('floating-ip-id-1b3bcd1216214df7adc18d730d563d68', '1.0.9.0', '2.0.9.0', 'port-id-5e00bf85dd5b4ddd81fc992c2f7471eb'), ('floating-ip-id-d85a2bdab7254ff8a23fdb27c5b514b1', '1.0.9.0', '2.0.9.0', 'port-id-93e7f6b467e8401ab8542e02ec6a855a'), ('floating-ip-id-995957a9272c47f086fffd746c481292', '1.0.9.0', '2.0.9.0', 'port-id-498c29c03a214930bd3be49671da4019')]
floating_ips = [<FakeResource dns_domain=None, dns_name=None, fixed_ip_address=2.0.9.0, floating_ip_address=1.0.9.0, floating_network_id=network-id-7406a26d6a234225b4b1fc0122b7678f, id=floating-ip-id-1b3bcd1216214df7adc18d730d563d68, port_id=port-id-5e00bf85dd5b4ddd81fc992c2f7471eb, project_id=project-id-2177394d449e4be78b2d5fc72b2fdddb, router_id=router-id-356224f5917446119cd3d67e968b4e0a, status=DOWN, tenant_id=project-id-2177394d449e4be78b2d5fc72b2fdddb>, <FakeResource dns_domain=None, dns_name=None, fixed_ip_address=2.0.9.0, floating_ip_address=1.0.9.0, floating_network_id=network-id-e916ab10674140618d6b45b3416d81c9, id=floating-ip-id-d85a2bdab7254ff8a23fdb27c5b514b1, port_id=port-id-93e7f6b467e8401ab8542e02ec6a855a, project_id=project-id-d8b27208e36541c4beebbad3302bb9e8, router_id=router-id-f70808f3d75a4d96bc75564d9e883cd6, status=DOWN, tenant_id=project-id-d8b27208e36541c4beebbad3302bb9e8>, <FakeResource dns_domain=None, dns_name=None, fixed_ip_address=2.0.9.0, floating_ip_address=1.0.9.0, floating_network_id=network-id-711a50f4fefc4f3fac835f8f61084e06, id=floating-ip-id-995957a9272c47f086fffd746c481292, port_id=port-id-498c29c03a214930bd3be49671da4019, project_id=project-id-c9b5900eb3cf482f8accb53139159518, router_id=router-id-0a56447e14924ec5a17f5807a609244a, status=DOWN, tenant_id=project-id-c9b5900eb3cf482f8accb53139159518>]
ip = <FakeResource dns_domain=None, dns_name=None, fixed_ip_address=2.0.9.0, floating_ip_address=1.0.9.0, floating_network_id=network-id-711a50f4fefc4f3fac835f8f61084e06, id=floating-ip-id-995957a9272c47f086fffd746c481292, port_id=port-id-498c29c03a214930bd3be49671da4019, project_id=project-id-c9b5900eb3cf482f8accb53139159518, router_id=router-id-0a56447e14924ec5a17f5807a609244a, status=DOWN, tenant_id=project-id-c9b5900eb3cf482f8accb53139159518>
setUp()
test_floating_ip_list()
class openstackclient.tests.network.v2.test_floating_ip.TestShowFloatingIPCompute(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_floating_ip.TestFloatingIPCompute

columns = ('fixed_ip', 'id', 'instance_id', 'ip', 'pool')
data = ('2.0.9.0', 'floating-ip-id-7183cc69720840f4952e84976a7a4dca', 'server-id-4b8534eb79af45a594f365c1c908480d', '1.0.9.0', 'public')
floating_ip = <FakeResource fixed_ip=2.0.9.0, id=floating-ip-id-7183cc69720840f4952e84976a7a4dca, instance_id=server-id-4b8534eb79af45a594f365c1c908480d, ip=1.0.9.0, pool=public>
setUp()
test_floating_ip_show()
class openstackclient.tests.network.v2.test_floating_ip.TestShowFloatingIPNetwork(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_floating_ip.TestFloatingIPNetwork

columns = ('dns_domain', 'dns_name', 'fixed_ip_address', 'floating_ip_address', 'floating_network_id', 'id', 'port_id', 'project_id', 'router_id', 'status')
data = (None, None, '2.0.9.0', '1.0.9.0', 'network-id-79a95199471048f4a85327ad7d4989f1', 'floating-ip-id-78f1ddd2c63e42a4a52a6303fd3c3c83', 'port-id-367ca22cf1ab417f97cfcc744224f849', 'project-id-85474bae2c714690b730538cf7d8563c', 'router-id-3f1be713a3454ad391ba49ae6592af53', 'DOWN')
floating_ip = <FakeResource dns_domain=None, dns_name=None, fixed_ip_address=2.0.9.0, floating_ip_address=1.0.9.0, floating_network_id=network-id-79a95199471048f4a85327ad7d4989f1, id=floating-ip-id-78f1ddd2c63e42a4a52a6303fd3c3c83, port_id=port-id-367ca22cf1ab417f97cfcc744224f849, project_id=project-id-85474bae2c714690b730538cf7d8563c, router_id=router-id-3f1be713a3454ad391ba49ae6592af53, status=DOWN, tenant_id=project-id-85474bae2c714690b730538cf7d8563c>
setUp()
test_floating_ip_show()

openstackclient.tests.network.v2.test_network module

class openstackclient.tests.network.v2.test_network.TestCreateNetworkCompute(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_network.TestNetworkCompute

columns = ('bridge', 'bridge_interface', 'broadcast', 'cidr', 'cidr_v6', 'created_at', 'deleted', 'deleted_at', 'dhcp_server', 'dhcp_start', 'dns1', 'dns2', 'enable_dhcp', 'gateway', 'gateway_v6', 'host', 'id', 'injected', 'label', 'mtu', 'multi_host', 'netmask', 'netmask_v6', 'priority', 'project_id', 'rxtx_base', 'share_address', 'updated_at', 'vlan', 'vpn_private_address', 'vpn_public_address', 'vpn_public_port')
data = ('br100', None, '10.0.0.255', '10.0.0.0/24', None, '2016-02-11T11:17:37.000000', False, None, '10.0.0.1', '10.0.0.2', '8.8.4.4', None, True, '10.0.0.1', None, None, 'network-id-22516dfada5c4283b5757d5d1f6393c7', False, 'network-label-c95723db6ec14685b223b067da301e97', None, False, '255.255.255.0', None, None, 'project-id-df71ab67a4c74b02b49e0c876e079e21', None, False, None, None, None, None, None)
setUp()
test_create_default_options()
test_create_no_options()
class openstackclient.tests.network.v2.test_network.TestCreateNetworkIdentityV2(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_network.TestNetwork

columns = ('admin_state_up', 'availability_zone_hints', 'availability_zones', 'id', 'is_default', 'name', 'project_id', 'provider_network_type', 'router:external', 'shared', 'status', 'subnets')
data = ('UP', '', '', 'network-id-8798914397f540de93b8d2fb087b78ef', False, 'network-name-9b0b00e340104197a6f9b4797afd4e1b', '8-9-64', 'vlan', 'External', False, 'ACTIVE', 'a, b')
setUp()
test_create_with_domain_identityv2()
test_create_with_project_identityv2()
class openstackclient.tests.network.v2.test_network.TestCreateNetworkIdentityV3(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_network.TestNetwork

columns = ('admin_state_up', 'availability_zone_hints', 'availability_zones', 'id', 'is_default', 'name', 'project_id', 'provider_network_type', 'router:external', 'shared', 'status', 'subnets')
data = ('UP', 'nova', '', 'network-id-1494ad1c44ad410ab7275afeaf1abb62', False, 'network-name-cf0276a45ecf4764a211f13ad3ba221f', '8-9-64', 'vlan', 'External', False, 'ACTIVE', 'a, b')
setUp()
test_create_all_options()
test_create_default_options()
test_create_no_options()
test_create_other_options()
class openstackclient.tests.network.v2.test_network.TestDeleteNetwork(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_network.TestNetwork

setUp()
test_delete_multiple_networks()
test_delete_multiple_networks_exception()
test_delete_one_network()
class openstackclient.tests.network.v2.test_network.TestDeleteNetworkCompute(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_network.TestNetworkCompute

setUp()
test_delete_multiple_networks()
test_delete_multiple_networks_exception()
test_delete_one_network()
class openstackclient.tests.network.v2.test_network.TestListNetwork(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_network.TestNetwork

columns = ('ID', 'Name', 'Subnets')
columns_long = ('ID', 'Name', 'Status', 'Project', 'State', 'Shared', 'Subnets', 'Network Type', 'Router Type', 'Availability Zones')
data = [('network-id-2ba0b23392624e299e73bd83729901f1', 'network-name-a64dac051f2a4c1487d1736c295fa95d', 'a, b'), ('network-id-e85866c17303433490a42f3a613059bb', 'network-name-847a2d4d489f43d7867f134a59c8da09', 'a, b'), ('network-id-55996d60a5ab4118ab49363078ee3f54', 'network-name-98e2d4e7fe36404684ff566f1b47dfb3', 'a, b')]
data_long = [('network-id-2ba0b23392624e299e73bd83729901f1', 'network-name-a64dac051f2a4c1487d1736c295fa95d', 'ACTIVE', 'project-id-391fd8ed8fa54fd8bd76c0ea38981534', 'UP', False, 'a, b', 'vlan', 'External', ''), ('network-id-e85866c17303433490a42f3a613059bb', 'network-name-847a2d4d489f43d7867f134a59c8da09', 'ACTIVE', 'project-id-040be39c99dc4a6d9201b0f693b5f970', 'UP', False, 'a, b', 'vlan', 'External', ''), ('network-id-55996d60a5ab4118ab49363078ee3f54', 'network-name-98e2d4e7fe36404684ff566f1b47dfb3', 'ACTIVE', 'project-id-f119abf25f2a4c218f55b0075fc1dce7', 'UP', False, 'a, b', 'vlan', 'External', '')]
net = <FakeResource admin_state_up=True, availability_zone_hints=[], availability_zones=[], id=network-id-55996d60a5ab4118ab49363078ee3f54, is_default=False, is_router_external=True, name=network-name-98e2d4e7fe36404684ff566f1b47dfb3, project_id=project-id-f119abf25f2a4c218f55b0075fc1dce7, provider_network_type=vlan, router:external=True, shared=False, status=ACTIVE, subnets=['a', 'b'], tenant_id=project-id-f119abf25f2a4c218f55b0075fc1dce7>
setUp()
test_list_external()
test_network_list_long()
test_network_list_no_options()
class openstackclient.tests.network.v2.test_network.TestListNetworkCompute(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_network.TestNetworkCompute

columns = ('ID', 'Name', 'Subnet')
data = [('network-id-d7652797672a402c84b4f649d4ae4321', 'network-label-fd59f63cb60f412a90c1a136129715d6', '10.0.0.0/24'), ('network-id-f90290da0c7345e985cc16a673dc0e44', 'network-label-74063faca184427192b4258153a94e3a', '10.0.0.0/24'), ('network-id-e00104eeb91e4eb8a0b7935cb913195e', 'network-label-acee2c0e8259437cb1642f22b0ac7f3c', '10.0.0.0/24')]
net = <FakeResource bridge=br100, bridge_interface=None, broadcast=10.0.0.255, cidr=10.0.0.0/24, cidr_v6=None, created_at=2016-02-11T11:17:37.000000, deleted=False, deleted_at=None, dhcp_server=10.0.0.1, dhcp_start=10.0.0.2, dns1=8.8.4.4, dns2=None, enable_dhcp=True, gateway=10.0.0.1, gateway_v6=None, host=None, id=network-id-e00104eeb91e4eb8a0b7935cb913195e, injected=False, label=network-label-acee2c0e8259437cb1642f22b0ac7f3c, mtu=None, multi_host=False, netmask=255.255.255.0, netmask_v6=None, priority=None, project_id=project-id-9f3fcbd153854447bf4735e87cf2f1c6, rxtx_base=None, share_address=False, updated_at=None, vlan=None, vpn_private_address=None, vpn_public_address=None, vpn_public_port=None>
setUp()
test_network_list_no_options()
class openstackclient.tests.network.v2.test_network.TestNetwork(*args, **kwargs)

Bases: openstackclient.tests.network.v2.fakes.TestNetworkV2

setUp()
class openstackclient.tests.network.v2.test_network.TestNetworkCompute(*args, **kwargs)

Bases: openstackclient.tests.compute.v2.fakes.TestComputev2

setUp()
class openstackclient.tests.network.v2.test_network.TestSetNetwork(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_network.TestNetwork

setUp()
test_set_nothing()
test_set_that()
test_set_this()
class openstackclient.tests.network.v2.test_network.TestShowNetwork(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_network.TestNetwork

columns = ('admin_state_up', 'availability_zone_hints', 'availability_zones', 'id', 'is_default', 'name', 'project_id', 'provider_network_type', 'router:external', 'shared', 'status', 'subnets')
data = ('UP', '', '', 'network-id-ccb61fea99b34dd69783eb0831267d92', False, 'network-name-f8ab4e896a0b4d6f8a048b3d22646348', 'project-id-b59e1c430a524046bd1a1e875deeb0ed', 'vlan', 'External', False, 'ACTIVE', 'a, b')
setUp()
test_show_all_options()
test_show_no_options()
class openstackclient.tests.network.v2.test_network.TestShowNetworkCompute(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_network.TestNetworkCompute

columns = ('bridge', 'bridge_interface', 'broadcast', 'cidr', 'cidr_v6', 'created_at', 'deleted', 'deleted_at', 'dhcp_server', 'dhcp_start', 'dns1', 'dns2', 'enable_dhcp', 'gateway', 'gateway_v6', 'host', 'id', 'injected', 'label', 'mtu', 'multi_host', 'netmask', 'netmask_v6', 'priority', 'project_id', 'rxtx_base', 'share_address', 'updated_at', 'vlan', 'vpn_private_address', 'vpn_public_address', 'vpn_public_port')
data = ('br100', None, '10.0.0.255', '10.0.0.0/24', None, '2016-02-11T11:17:37.000000', False, None, '10.0.0.1', '10.0.0.2', '8.8.4.4', None, True, '10.0.0.1', None, None, 'network-id-5b774e7e7ae14f5ab3187ff3258af35e', False, 'network-label-779bacc7cbae4efaa20dc474ab1f8f25', None, False, '255.255.255.0', None, None, 'project-id-ff2a9b85326d490dae8088faa4386cb6', None, False, None, None, None, None, None)
setUp()
test_show_all_options()
test_show_no_options()

openstackclient.tests.network.v2.test_port module

class openstackclient.tests.network.v2.test_port.TestCreatePort(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_port.TestPort

setUp()
test_create_default_options()
test_create_full_options()
class openstackclient.tests.network.v2.test_port.TestDeletePort(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_port.TestPort

setUp()
test_delete()
class openstackclient.tests.network.v2.test_port.TestListPort(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_port.TestPort

columns = ('ID', 'Name', 'MAC Address', 'Fixed IP Addresses')
data = [('port-id-b25a0c835b5c4d60b603b103fee86298', 'port-name-a570c1c094474645bf4f48e16ba15dbc', 'fa:16:3e:a9:4e:72', ''), ('port-id-fe87bff52598424aa192efa282a8dd41', 'port-name-3186739c280a4165bf8b0a33d029ae8f', 'fa:16:3e:a9:4e:72', ''), ('port-id-569b6d64f6c64be5b970c866bc33f255', 'port-name-e2dd6188389343eca140dd5da2f56d65', 'fa:16:3e:a9:4e:72', '')]
prt = <FakeResource admin_state_up=True, allowed_address_pairs=[{}], binding:host_id=binding-host-id-c1949c48062d457eaf98c95468b29177, binding:profile={}, binding:vif_details={}, binding:vif_type=ovs, binding:vnic_type=normal, binding_host_id=binding-host-id-c1949c48062d457eaf98c95468b29177, binding_profile={}, binding_vif_details={}, binding_vif_type=ovs, binding_vnic_type=normal, device_id=device-id-cca063e627a14e3c995a471e2db11f0e, device_owner=compute:nova, dns_assignment=[{}], dns_name=dns-name-a29aa416159248d0a6308940be0243b2, extra_dhcp_opts=[{}], fixed_ips=[{}], id=port-id-569b6d64f6c64be5b970c866bc33f255, mac_address=fa:16:3e:a9:4e:72, name=port-name-e2dd6188389343eca140dd5da2f56d65, network_id=network-id-1b3cf582f16b447c88e76a9f8a2af5d3, port_security_enabled=True, project_id=project-id-023bd594dffd4737a154b3fd3c4a51bf, security_groups=[], status=ACTIVE, tenant_id=project-id-023bd594dffd4737a154b3fd3c4a51bf>
setUp()
test_port_list_no_options()
test_port_list_router_opt()
class openstackclient.tests.network.v2.test_port.TestPort(*args, **kwargs)

Bases: openstackclient.tests.network.v2.fakes.TestNetworkV2

setUp()
class openstackclient.tests.network.v2.test_port.TestSetPort(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_port.TestPort

setUp()
test_append_fixed_ip()
test_set_fixed_ip()
test_set_that()
test_set_this()
class openstackclient.tests.network.v2.test_port.TestShowPort(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_port.TestPort

setUp()
test_show_all_options()
test_show_no_options()

openstackclient.tests.network.v2.test_router module

class openstackclient.tests.network.v2.test_router.TestAddPortToRouter(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_router.TestRouter

Add port to Router

setUp()
test_add_port_no_option()
test_add_port_required_options()
class openstackclient.tests.network.v2.test_router.TestAddSubnetToRouter(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_router.TestRouter

Add subnet to Router

setUp()
test_add_subnet_no_option()
test_add_subnet_required_options()
class openstackclient.tests.network.v2.test_router.TestCreateRouter(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_router.TestRouter

columns = ('admin_state_up', 'availability_zone_hints', 'availability_zones', 'distributed', 'external_gateway_info', 'ha', 'id', 'name', 'project_id', 'routes', 'status')
data = ('UP', '', '', False, '{}', False, 'router-id-6a3d472c8e1d4ea8b9b9f21b11c1e2a3', 'router-name-76ad8e6e789a4c49ae65eb12f5a9834d', 'project-id-c4feab3d0455485487bc433b26df8ca8', '', 'ACTIVE')
new_router = <FakeResource admin_state_up=True, availability_zone_hints=[], availability_zones=[], distributed=False, external_gateway_info={}, ha=False, id=router-id-6a3d472c8e1d4ea8b9b9f21b11c1e2a3, name=router-name-76ad8e6e789a4c49ae65eb12f5a9834d, project_id=project-id-c4feab3d0455485487bc433b26df8ca8, routes=[], status=ACTIVE, tenant_id=project-id-c4feab3d0455485487bc433b26df8ca8>
setUp()
test_create_default_options()
test_create_no_options()
test_create_with_AZ_hints()
class openstackclient.tests.network.v2.test_router.TestDeleteRouter(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_router.TestRouter

setUp()
test_delete()
class openstackclient.tests.network.v2.test_router.TestListRouter(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_router.TestRouter

columns = ('ID', 'Name', 'Status', 'State', 'Distributed', 'HA', 'Project')
columns_long = ('ID', 'Name', 'Status', 'State', 'Distributed', 'HA', 'Project', 'Routes', 'External gateway info', 'Availability zones')
data = [('router-id-27499e748f4244bda0a491d1ebd7a234', 'router-name-ddc988fc5ded4ab5a107907a297e6a7c', 'ACTIVE', 'UP', False, False, 'project-id-1f41e92cec434d38bdfeb8f66079144c'), ('router-id-221db9841d11492781c1e4a57d79663f', 'router-name-8b961028b42f449c9cd45911d49301e1', 'ACTIVE', 'UP', False, False, 'project-id-3dd1180da20d42719a34b31ef9e76af4'), ('router-id-00d4a0019b7f4129899ff2e35f48dfef', 'router-name-a6768d4576d74e25998263e3de754fbd', 'ACTIVE', 'UP', False, False, 'project-id-130501fc9e9c4b3f8b02f6327d37c0a7')]
data_long = [('router-id-27499e748f4244bda0a491d1ebd7a234', 'router-name-ddc988fc5ded4ab5a107907a297e6a7c', 'ACTIVE', 'UP', False, False, 'project-id-1f41e92cec434d38bdfeb8f66079144c', '', '{}', ''), ('router-id-221db9841d11492781c1e4a57d79663f', 'router-name-8b961028b42f449c9cd45911d49301e1', 'ACTIVE', 'UP', False, False, 'project-id-3dd1180da20d42719a34b31ef9e76af4', '', '{}', ''), ('router-id-00d4a0019b7f4129899ff2e35f48dfef', 'router-name-a6768d4576d74e25998263e3de754fbd', 'ACTIVE', 'UP', False, False, 'project-id-130501fc9e9c4b3f8b02f6327d37c0a7', '', '{}', '')]
i = 2
r = <FakeResource admin_state_up=True, availability_zone_hints=[], availability_zones=[], distributed=False, external_gateway_info={}, ha=False, id=router-id-00d4a0019b7f4129899ff2e35f48dfef, name=router-name-a6768d4576d74e25998263e3de754fbd, project_id=project-id-130501fc9e9c4b3f8b02f6327d37c0a7, routes=[], status=ACTIVE, tenant_id=project-id-130501fc9e9c4b3f8b02f6327d37c0a7>
routers = [<FakeResource admin_state_up=True, availability_zone_hints=[], availability_zones=[], distributed=False, external_gateway_info={}, ha=False, id=router-id-27499e748f4244bda0a491d1ebd7a234, name=router-name-ddc988fc5ded4ab5a107907a297e6a7c, project_id=project-id-1f41e92cec434d38bdfeb8f66079144c, routes=[], status=ACTIVE, tenant_id=project-id-1f41e92cec434d38bdfeb8f66079144c>, <FakeResource admin_state_up=True, availability_zone_hints=[], availability_zones=[], distributed=False, external_gateway_info={}, ha=False, id=router-id-221db9841d11492781c1e4a57d79663f, name=router-name-8b961028b42f449c9cd45911d49301e1, project_id=project-id-3dd1180da20d42719a34b31ef9e76af4, routes=[], status=ACTIVE, tenant_id=project-id-3dd1180da20d42719a34b31ef9e76af4>, <FakeResource admin_state_up=True, availability_zone_hints=[], availability_zones=[], distributed=False, external_gateway_info={}, ha=False, id=router-id-00d4a0019b7f4129899ff2e35f48dfef, name=router-name-a6768d4576d74e25998263e3de754fbd, project_id=project-id-130501fc9e9c4b3f8b02f6327d37c0a7, routes=[], status=ACTIVE, tenant_id=project-id-130501fc9e9c4b3f8b02f6327d37c0a7>]
setUp()
test_router_list_long()
test_router_list_no_options()
class openstackclient.tests.network.v2.test_router.TestRemovePortFromRouter(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_router.TestRouter

Remove port from a Router

setUp()
test_remove_port_no_option()
test_remove_port_required_options()
class openstackclient.tests.network.v2.test_router.TestRemoveSubnetFromRouter(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_router.TestRouter

Remove subnet from Router

setUp()
test_remove_subnet_no_option()
test_remove_subnet_required_options()
class openstackclient.tests.network.v2.test_router.TestRouter(*args, **kwargs)

Bases: openstackclient.tests.network.v2.fakes.TestNetworkV2

setUp()
class openstackclient.tests.network.v2.test_router.TestSetRouter(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_router.TestRouter

setUp()
test_set_clear_routes()
test_set_distributed_centralized()
test_set_no_route()
test_set_nothing()
test_set_route()
test_set_route_clear_routes()
test_set_route_no_route()
test_set_that()
test_set_this()
class openstackclient.tests.network.v2.test_router.TestShowRouter(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_router.TestRouter

columns = ('admin_state_up', 'availability_zone_hints', 'availability_zones', 'distributed', 'external_gateway_info', 'ha', 'id', 'name', 'project_id', 'routes', 'status')
data = ('UP', '', '', False, '{}', False, 'router-id-f81f830d71454894a5d9b8ffed6968e4', 'router-name-3fb42e0038bf44de97509cc10fe9196a', 'project-id-29f5446dead64417b8b07137cc635566', '', 'ACTIVE')
setUp()
test_show_all_options()
test_show_no_options()

openstackclient.tests.network.v2.test_security_group module

class openstackclient.tests.network.v2.test_security_group.TestCreateSecurityGroupCompute(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_security_group.TestSecurityGroupCompute

columns = ('description', 'id', 'name', 'project_id', 'rules')
data = ('security-group-description-707ec336c30249a1b68805b83e679e34', 'security-group-id-5a0f1f341e96428cac0556ddd3ee77c2', 'security-group-name-9162a94bff2b4997946142ab4c1cf721', 'project-id-a9ba37230235450ab54354e8d78b9070', '')
setUp()
test_create_all_options()
test_create_min_options()
test_create_network_options()
test_create_no_options()
class openstackclient.tests.network.v2.test_security_group.TestCreateSecurityGroupNetwork(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_security_group.TestSecurityGroupNetwork

columns = ('description', 'id', 'name', 'project_id', 'rules')
data = ('security-group-description-add2d247f8ca4ac0b4386dce5d92eadd', 'security-group-id-edff1f1928e34bada259eff973cbe173', 'security-group-name-d5d8cdf117ad4dd289ff07199ff61ba8', 'project-id-ee382e86bca5401fad6caa9ba1ae766f', '')
setUp()
test_create_all_options()
test_create_min_options()
test_create_no_options()
class openstackclient.tests.network.v2.test_security_group.TestDeleteSecurityGroupCompute(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_security_group.TestSecurityGroupCompute

setUp()
test_security_group_delete()
class openstackclient.tests.network.v2.test_security_group.TestDeleteSecurityGroupNetwork(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_security_group.TestSecurityGroupNetwork

setUp()
test_security_group_delete()
class openstackclient.tests.network.v2.test_security_group.TestListSecurityGroupCompute(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_security_group.TestSecurityGroupCompute

columns = ('ID', 'Name', 'Description')
columns_all_projects = ('ID', 'Name', 'Description', 'Project')
data = [('security-group-id-201424cbbc6d4d028a2a9be8e2498793', 'security-group-name-a29f3522148640a4927189ccccc86c3a', 'security-group-description-d190efa055664560bfa61868fff3336d'), ('security-group-id-847275a0b496495b8b68eb0fb37ad2a7', 'security-group-name-119b8e3af6534ba29ed740193231b05b', 'security-group-description-8e1e72eb735445bfa5dabd52a5d74066'), ('security-group-id-e83c19fceced42c8accd041ee41796f4', 'security-group-name-fddf808b590247068600aa77e1ad5cec', 'security-group-description-b57eb57f8fe6494bb92923e1114a00fc')]
data_all_projects = [('security-group-id-201424cbbc6d4d028a2a9be8e2498793', 'security-group-name-a29f3522148640a4927189ccccc86c3a', 'security-group-description-d190efa055664560bfa61868fff3336d', 'project-id-72d8156da0ad4d22b927ceebd0918ae3'), ('security-group-id-847275a0b496495b8b68eb0fb37ad2a7', 'security-group-name-119b8e3af6534ba29ed740193231b05b', 'security-group-description-8e1e72eb735445bfa5dabd52a5d74066', 'project-id-a37da774693e4b40aee02e4803045ea0'), ('security-group-id-e83c19fceced42c8accd041ee41796f4', 'security-group-name-fddf808b590247068600aa77e1ad5cec', 'security-group-description-b57eb57f8fe6494bb92923e1114a00fc', 'project-id-cc5e2a29d0fd48058f5b671d2cb8a750')]
grp = <FakeResource description=security-group-description-b57eb57f8fe6494bb92923e1114a00fc, id=security-group-id-e83c19fceced42c8accd041ee41796f4, name=security-group-name-fddf808b590247068600aa77e1ad5cec, rules=[], tenant_id=project-id-cc5e2a29d0fd48058f5b671d2cb8a750>
setUp()
test_security_group_list_all_projects()
test_security_group_list_no_options()
class openstackclient.tests.network.v2.test_security_group.TestListSecurityGroupNetwork(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_security_group.TestSecurityGroupNetwork

columns = ('ID', 'Name', 'Description', 'Project')
data = [('security-group-id-fc19465b510e401bb8814d76dee3cbc8', 'security-group-name-f0388fa1502b44438efefa175cad3419', 'security-group-description-82c24d801d7c40fb9ad2628b2a96c1da', 'project-id-08de545813e44c7dafdfe15180a59b8e'), ('security-group-id-d2c28f5fd5b64fc69fa143dbe2a35393', 'security-group-name-0ab4af18a4b3449d84c9a9ecda555b98', 'security-group-description-19137f0fb3ca421c93f513dfe36ed016', 'project-id-2ce09775aa6847018cbdc5744c10faf4'), ('security-group-id-92d2bfc622534ac4906a10ee49b3b406', 'security-group-name-2cadcf32e7c04b32826aca9ed105211f', 'security-group-description-e832b861c1354308af72c909aa3b53a5', 'project-id-4aab436a2d304e98b652bc829f0fb3aa')]
grp = <FakeResource description=security-group-description-e832b861c1354308af72c909aa3b53a5, id=security-group-id-92d2bfc622534ac4906a10ee49b3b406, name=security-group-name-2cadcf32e7c04b32826aca9ed105211f, project_id=project-id-4aab436a2d304e98b652bc829f0fb3aa, security_group_rules=[], tenant_id=project-id-4aab436a2d304e98b652bc829f0fb3aa>
setUp()
test_security_group_list_all_projects()
test_security_group_list_no_options()
class openstackclient.tests.network.v2.test_security_group.TestSecurityGroupCompute(*args, **kwargs)

Bases: openstackclient.tests.compute.v2.fakes.TestComputev2

setUp()
class openstackclient.tests.network.v2.test_security_group.TestSecurityGroupNetwork(*args, **kwargs)

Bases: openstackclient.tests.network.v2.fakes.TestNetworkV2

setUp()
class openstackclient.tests.network.v2.test_security_group.TestSetSecurityGroupCompute(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_security_group.TestSecurityGroupCompute

setUp()
test_set_all_options()
test_set_no_options()
test_set_no_updates()
class openstackclient.tests.network.v2.test_security_group.TestSetSecurityGroupNetwork(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_security_group.TestSecurityGroupNetwork

setUp()
test_set_all_options()
test_set_no_options()
test_set_no_updates()
class openstackclient.tests.network.v2.test_security_group.TestShowSecurityGroupCompute(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_security_group.TestSecurityGroupCompute

columns = ('description', 'id', 'name', 'project_id', 'rules')
data = ('security-group-description-c4b8d3e14d654512ade17dacab864117', 'security-group-id-ae0827a2275f4e3babfe9edef59ebe2b', 'security-group-name-b80526b3edf6401b82ec4ab91118225a', 'project-id-1523783f638c414f8f9c103814ba651c', u"id='security-group-rule-id-a149a159081547d797594241d729a513', ip_protocol='tcp', ip_range='0.0.0.0/0', port_range='0:0'")
setUp()
test_show_all_options()
test_show_no_options()
class openstackclient.tests.network.v2.test_security_group.TestShowSecurityGroupNetwork(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_security_group.TestSecurityGroupNetwork

columns = ('description', 'id', 'name', 'project_id', 'rules')
data = ('security-group-description-55c046972eb9418585f1b05596a0bd3f', 'security-group-id-bf27b6dad19e4cb7a3d472b6c81f0418', 'security-group-name-6a8cba2d852d4f75aab4de805e2a2ea1', 'project-id-e5bcc7c2458841e5804f21922daa4166', u"direction='ingress', ethertype='IPv4', id='security-group-rule-id-d3a365481df143a69701b486a66a2ffc', protocol='tcp', remote_ip_prefix='0.0.0.0/0'")
setUp()
test_show_all_options()
test_show_no_options()

openstackclient.tests.network.v2.test_security_group_rule module

class openstackclient.tests.network.v2.test_security_group_rule.TestCreateSecurityGroupRuleCompute(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_security_group_rule.TestSecurityGroupRuleCompute

setUp()
test_create_all_protocol_options()
test_create_all_source_options()
test_create_bad_protocol()
test_create_default_rule()
test_create_network_options()
test_create_no_options()
test_create_proto_option()
test_create_source_group()
test_create_source_ip()
class openstackclient.tests.network.v2.test_security_group_rule.TestCreateSecurityGroupRuleNetwork(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_security_group_rule.TestSecurityGroupRuleNetwork

expected_columns = ('direction', 'ethertype', 'id', 'port_range_max', 'port_range_min', 'project_id', 'protocol', 'remote_group_id', 'remote_ip_prefix', 'security_group_id')
expected_data = None
setUp()
test_create_all_port_range_options()
test_create_all_protocol_options()
test_create_all_source_options()
test_create_bad_ethertype()
test_create_default_rule()
test_create_icmp_code()
test_create_icmp_type()
test_create_icmpv6_type()
test_create_ipv6_icmp_type_code()
test_create_network_options()
test_create_no_options()
test_create_proto_option()
test_create_source_group()
test_create_source_ip()
test_create_tcp_with_icmp_type()
class openstackclient.tests.network.v2.test_security_group_rule.TestDeleteSecurityGroupRuleCompute(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_security_group_rule.TestSecurityGroupRuleCompute

setUp()
test_security_group_rule_delete()
class openstackclient.tests.network.v2.test_security_group_rule.TestDeleteSecurityGroupRuleNetwork(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_security_group_rule.TestSecurityGroupRuleNetwork

setUp()
test_security_group_rule_delete()
class openstackclient.tests.network.v2.test_security_group_rule.TestListSecurityGroupRuleCompute(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_security_group_rule.TestSecurityGroupRuleCompute

expected_columns_no_group = ('ID', 'IP Protocol', 'IP Range', 'Port Range', 'Remote Security Group', 'Security Group')
expected_columns_with_group = ('ID', 'IP Protocol', 'IP Range', 'Port Range', 'Remote Security Group')
expected_data_no_group = [('security-group-rule-id-3c34940408f744cabc56433df82a9059', 'tcp', '0.0.0.0/0', '80:80', 'security-group-name-b3b87b788b524e5cb742bcbd109b53d6', 'security-group-id-ed8aa4cc48d247cc9e866e44ca399cf3'), ('security-group-rule-id-11fea04b399541f29624cff15c6875b7', 'icmp', '10.0.2.0/24', '', 'security-group-name-b3b87b788b524e5cb742bcbd109b53d6', 'security-group-id-e02b3a1976504d8b9c1dc739b00bbb5f')]
expected_data_with_group = [('security-group-rule-id-3c34940408f744cabc56433df82a9059', 'tcp', '0.0.0.0/0', '80:80', 'security-group-name-b3b87b788b524e5cb742bcbd109b53d6'), ('security-group-rule-id-11fea04b399541f29624cff15c6875b7', 'icmp', '10.0.2.0/24', '', 'security-group-name-b3b87b788b524e5cb742bcbd109b53d6')]
expected_rule_no_group = ('security-group-rule-id-11fea04b399541f29624cff15c6875b7', 'icmp', '10.0.2.0/24', '', 'security-group-name-b3b87b788b524e5cb742bcbd109b53d6', 'security-group-id-e02b3a1976504d8b9c1dc739b00bbb5f')
expected_rule_with_group = ('security-group-rule-id-11fea04b399541f29624cff15c6875b7', 'icmp', '10.0.2.0/24', '', 'security-group-name-b3b87b788b524e5cb742bcbd109b53d6')
rule = {'port_range': '', 'ip_protocol': 'icmp', 'remote_security_group': 'security-group-name-b3b87b788b524e5cb742bcbd109b53d6', 'parent_group_id': 'security-group-id-e02b3a1976504d8b9c1dc739b00bbb5f', 'id': 'security-group-rule-id-11fea04b399541f29624cff15c6875b7', 'ip_range': '10.0.2.0/24'}
setUp()
test_list_all_projects()
test_list_default()
test_list_with_group()
test_list_with_ignored_options()
class openstackclient.tests.network.v2.test_security_group_rule.TestListSecurityGroupRuleNetwork(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_security_group_rule.TestSecurityGroupRuleNetwork

expected_columns_no_group = ('ID', 'IP Protocol', 'IP Range', 'Port Range', 'Remote Security Group', 'Security Group')
expected_columns_with_group_and_long = ('ID', 'IP Protocol', 'IP Range', 'Port Range', 'Direction', 'Ethertype', 'Remote Security Group')
expected_data_no_group = [('security-group-rule-id-8c925498317d4162a37cf234131ee4ab', 'tcp', '0.0.0.0/0', '80:80', None, 'security-group-id-6cf272796a3c42b9bceab0d966f81209'), ('security-group-rule-id-d997c1fd54be4ec8bc7bb065ae4f7d07', 'icmp', '10.0.2.0/24', '', None, 'security-group-id-6cf272796a3c42b9bceab0d966f81209')]
expected_data_with_group_and_long = [('security-group-rule-id-8c925498317d4162a37cf234131ee4ab', 'tcp', '0.0.0.0/0', '80:80', 'ingress', 'IPv4', None), ('security-group-rule-id-d997c1fd54be4ec8bc7bb065ae4f7d07', 'icmp', '10.0.2.0/24', '', 'ingress', 'IPv4', None)]
setUp()
test_list_default()
test_list_with_group_and_long()
test_list_with_ignored_options()
class openstackclient.tests.network.v2.test_security_group_rule.TestSecurityGroupRuleCompute(*args, **kwargs)

Bases: openstackclient.tests.compute.v2.fakes.TestComputev2

setUp()
class openstackclient.tests.network.v2.test_security_group_rule.TestSecurityGroupRuleNetwork(*args, **kwargs)

Bases: openstackclient.tests.network.v2.fakes.TestNetworkV2

setUp()
class openstackclient.tests.network.v2.test_security_group_rule.TestShowSecurityGroupRuleCompute(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_security_group_rule.TestSecurityGroupRuleCompute

columns = ('id', 'ip_protocol', 'ip_range', 'parent_group_id', 'port_range', 'remote_security_group')
data = ('security-group-rule-id-d12d9e48d2be4ad5af37ad18e5243449', 'tcp', '0.0.0.0/0', 'security-group-id-798626c6f2cf4728b6baf244d1c5d541', '0:0', '')
setUp()
test_show_all_options()
test_show_no_options()
class openstackclient.tests.network.v2.test_security_group_rule.TestShowSecurityGroupRuleNetwork(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_security_group_rule.TestSecurityGroupRuleNetwork

columns = ('direction', 'ethertype', 'id', 'port_range_max', 'port_range_min', 'project_id', 'protocol', 'remote_group_id', 'remote_ip_prefix', 'security_group_id')
data = ('ingress', 'IPv4', 'security-group-rule-id-5611bd6e18a24a9eade0146e3f553f5f', None, None, 'project-id-5a934a03a03640699a149704c2d72959', 'tcp', None, '0.0.0.0/0', 'security-group-id-46fbc26a159a4fa9a08be30b64c7777c')
setUp()
test_show_all_options()
test_show_no_options()

openstackclient.tests.network.v2.test_subnet module

class openstackclient.tests.network.v2.test_subnet.TestCreateSubnet(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_subnet.TestSubnet

columns = ('allocation_pools', 'cidr', 'dns_nameservers', 'enable_dhcp', 'gateway_ip', 'host_routes', 'id', 'ip_version', 'ipv6_address_mode', 'ipv6_ra_mode', 'name', 'network_id', 'project_id', 'subnetpool_id')
data = ('', '10.10.10.0/24', '', True, '10.10.10.1', '', 'subnet-id-d06afc6b20f04741b982e9a18d25da6b', 4, 'None', 'None', 'subnet-name-86580f1529df4a379f3b39944ab30ee4', 'network-id-3f5844863fd844f1826d75a1d8814e83', '8-9-64', 'None')
data_ipv6 = ('fe80::a00a:0:c0de:0:100-fe80::a00a:0:c0de:0:f000,fe80::a00a:0:c0de:1:100-fe80::a00a:0:c0de:1:f000', 'fe80:0:0:a00a::/64', 'fe80:27ff:a00a:f00f::ffff, fe80:37ff:a00a:f00f::ffff', True, 'fe80::a00a:0:c0de:0:1', u"destination='fe80:27ff:a00a:f00f::/64', gateway='fe80:27ff:a00a:f00f::1'\ndestination='fe80:37ff:a00a:f00f::/64', gateway='fe80:37ff:a00a:f00f::1'", 'subnet-id-f08a944d446c4b999cf6d0c4cf25e30b', 6, 'slaac', 'slaac', 'subnet-name-4450bf89fa3c42a7827ff0d85752f097', 'network-id-cfb99fb708074a9bb17e14ae2a9a20c8', '8-9-64', 'None')
data_subnet_pool = ('', '10.10.10.0/24', '8.8.4.4, 8.8.8.8', True, '10.10.10.1', u"destination='10.20.20.0/24', gateway='10.20.20.1'\ndestination='10.30.30.0/24', gateway='10.30.30.1'", 'subnet-id-13749655d32b40b5a5b3958db001e5f0', 4, 'None', 'None', 'subnet-name-25bee865a99f443786462080dcc6db69', 'network-id-d64cd1ef42294e4bbf61c40310ed705c', '8-9-64', 'subnet-pool-id-12b6cf32756a4555ad1066ffa08bf253')
setUp()
test_create_default_options()
test_create_from_subnet_pool_options()
test_create_no_options()
test_create_options_subnet_range_ipv6()
class openstackclient.tests.network.v2.test_subnet.TestDeleteSubnet(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_subnet.TestSubnet

setUp()
test_delete()
class openstackclient.tests.network.v2.test_subnet.TestListSubnet(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_subnet.TestSubnet

columns = ('ID', 'Name', 'Network', 'Subnet')
columns_long = ('ID', 'Name', 'Network', 'Subnet', 'Project', 'DHCP', 'Name Servers', 'Allocation Pools', 'Host Routes', 'IP Version', 'Gateway')
data = [('subnet-id-229b5f836fd847aba7b3678c9943fbb9', 'subnet-name-d6cb50f3aaa144729357d26c00498206', 'network-id-83499fd3542f4e47b51611b1b27e8ce8', '10.10.10.0/24'), ('subnet-id-11b6f70e729949f6969de14c4c9466e6', 'subnet-name-4cc874d042b44bed8beb6c08f65364ab', 'network-id-2b8b4d15b68140949eff1849176e3a63', '10.10.10.0/24'), ('subnet-id-a2ca1cbc20a64ca8a0bb0fd3b905b776', 'subnet-name-734a630aa96e4115883a3e8c459ba280', 'network-id-9c8d1a408a9345dc9883b2858f5f6ad3', '10.10.10.0/24')]
data_long = [('subnet-id-229b5f836fd847aba7b3678c9943fbb9', 'subnet-name-d6cb50f3aaa144729357d26c00498206', 'network-id-83499fd3542f4e47b51611b1b27e8ce8', '10.10.10.0/24', 'project-id-857dd97655ac4fbbafa63f625bab41bf', True, '', '', '', 4, '10.10.10.1'), ('subnet-id-11b6f70e729949f6969de14c4c9466e6', 'subnet-name-4cc874d042b44bed8beb6c08f65364ab', 'network-id-2b8b4d15b68140949eff1849176e3a63', '10.10.10.0/24', 'project-id-d35ea51a56564608b42ca86978e21046', True, '', '', '', 4, '10.10.10.1'), ('subnet-id-a2ca1cbc20a64ca8a0bb0fd3b905b776', 'subnet-name-734a630aa96e4115883a3e8c459ba280', 'network-id-9c8d1a408a9345dc9883b2858f5f6ad3', '10.10.10.0/24', 'project-id-218b5b54574942cd95f0560224b31980', True, '', '', '', 4, '10.10.10.1')]
setUp()
subnet = <FakeResource allocation_pools=[], cidr=10.10.10.0/24, dns_nameservers=[], enable_dhcp=True, gateway_ip=10.10.10.1, host_routes=[], id=subnet-id-a2ca1cbc20a64ca8a0bb0fd3b905b776, ip_version=4, ipv6_address_mode=None, ipv6_ra_mode=None, name=subnet-name-734a630aa96e4115883a3e8c459ba280, network_id=network-id-9c8d1a408a9345dc9883b2858f5f6ad3, project_id=project-id-218b5b54574942cd95f0560224b31980, subnetpool_id=None, tenant_id=project-id-218b5b54574942cd95f0560224b31980>
test_subnet_list_ip_version()
test_subnet_list_long()
test_subnet_list_no_options()
class openstackclient.tests.network.v2.test_subnet.TestSetSubnet(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_subnet.TestSubnet

setUp()
test_append_options()
test_set_nothing()
test_set_that()
test_set_this()
class openstackclient.tests.network.v2.test_subnet.TestShowSubnet(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_subnet.TestSubnet

columns = ('allocation_pools', 'cidr', 'dns_nameservers', 'enable_dhcp', 'gateway_ip', 'host_routes', 'id', 'ip_version', 'ipv6_address_mode', 'ipv6_ra_mode', 'name', 'network_id', 'project_id', 'subnetpool_id')
data = ('', '10.10.10.0/24', '', True, '10.10.10.1', '', 'subnet-id-4ef0a297d6d14c3ab43bd961d3dd779a', 4, 'None', 'None', 'subnet-name-799b309c6b15466499e9bc1aeaec111e', 'network-id-834ffccb08c84aecb72c458fd4f9f2ca', 'project-id-1c756a9e6e7e469ea584cc7ef2958a55', 'None')
setUp()
test_show_all_options()
test_show_no_options()
class openstackclient.tests.network.v2.test_subnet.TestSubnet(*args, **kwargs)

Bases: openstackclient.tests.network.v2.fakes.TestNetworkV2

setUp()

openstackclient.tests.network.v2.test_subnet_pool module

class openstackclient.tests.network.v2.test_subnet_pool.TestCreateSubnetPool(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_subnet_pool.TestSubnetPool

columns = ('address_scope_id', 'default_prefixlen', 'default_quota', 'id', 'ip_version', 'is_default', 'max_prefixlen', 'min_prefixlen', 'name', 'prefixes', 'project_id', 'shared')
data = ('address-scope-id-2907f9ba7a2346a4b172069e7ea869f2', '8', None, 'subnet-pool-id-8f8ff04ae3fb44d98b8a68dad09a1a57', '4', False, '32', '8', 'subnet-pool-name-b5d71f98c947407ea7263a831a4dc456', '10.0.0.0/24, 10.1.0.0/24', 'project-id-4615bf8f435b43b795e5df58787d834e', False)
setUp()
test_create_address_scope_option()
test_create_default_and_shared_options()
test_create_default_options()
test_create_len_negative()
test_create_no_options()
test_create_no_pool_prefix()

Make sure –pool-prefix is a required argument

test_create_prefixlen_options()
test_create_project_domain()
class openstackclient.tests.network.v2.test_subnet_pool.TestDeleteSubnetPool(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_subnet_pool.TestSubnetPool

setUp()
test_delete()
class openstackclient.tests.network.v2.test_subnet_pool.TestListSubnetPool(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_subnet_pool.TestSubnetPool

columns = ('ID', 'Name', 'Prefixes')
columns_long = ('ID', 'Name', 'Prefixes', 'Default Prefix Length', 'Address Scope', 'Default Subnet Pool', 'Shared')
data = [('subnet-pool-id-a2eb3264a5b84494a1964a9d293a94f4', 'subnet-pool-name-e9f5d9d9af19451d93a8e01eb096b61c', '10.0.0.0/24, 10.1.0.0/24'), ('subnet-pool-id-a2726fba5ca342a1abbe6bc6d0618b4f', 'subnet-pool-name-275ebe1961364ee1b9f7c350820cf6c5', '10.0.0.0/24, 10.1.0.0/24'), ('subnet-pool-id-2eddd6bc8cd64bf9915e29a8c15f8451', 'subnet-pool-name-4fee92e90abc420aa2ffcda6bcca33a9', '10.0.0.0/24, 10.1.0.0/24')]
data_long = [('subnet-pool-id-a2eb3264a5b84494a1964a9d293a94f4', 'subnet-pool-name-e9f5d9d9af19451d93a8e01eb096b61c', '10.0.0.0/24, 10.1.0.0/24', '8', 'address-scope-id-f253c70fef2a4b7ea243eccdf2de930f', False, False), ('subnet-pool-id-a2726fba5ca342a1abbe6bc6d0618b4f', 'subnet-pool-name-275ebe1961364ee1b9f7c350820cf6c5', '10.0.0.0/24, 10.1.0.0/24', '8', 'address-scope-id-90b66c5bde884c7899bff979ea84e4e8', False, False), ('subnet-pool-id-2eddd6bc8cd64bf9915e29a8c15f8451', 'subnet-pool-name-4fee92e90abc420aa2ffcda6bcca33a9', '10.0.0.0/24, 10.1.0.0/24', '8', 'address-scope-id-b542f7d85f864f2da7acb411b6ba0af1', False, False)]
pool = <FakeResource address_scope_id=address-scope-id-b542f7d85f864f2da7acb411b6ba0af1, default_prefixlen=8, default_quota=None, id=subnet-pool-id-2eddd6bc8cd64bf9915e29a8c15f8451, ip_version=4, is_default=False, max_prefixlen=32, min_prefixlen=8, name=subnet-pool-name-4fee92e90abc420aa2ffcda6bcca33a9, prefixes=['10.0.0.0/24', '10.1.0.0/24'], project_id=project-id-38549022433a4549bf47ac5508094d62, shared=False, tenant_id=project-id-38549022433a4549bf47ac5508094d62>
setUp()
test_subnet_pool_list_long()
test_subnet_pool_list_no_option()
class openstackclient.tests.network.v2.test_subnet_pool.TestSetSubnetPool(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_subnet_pool.TestSubnetPool

setUp()
test_set_address_scope()
test_set_default()
test_set_len_negative()
test_set_no_address_scope()
test_set_no_address_scope_conflict()
test_set_no_default()
test_set_no_default_conflict()
test_set_nothing()
test_set_that()
test_set_this()
class openstackclient.tests.network.v2.test_subnet_pool.TestShowSubnetPool(*args, **kwargs)

Bases: openstackclient.tests.network.v2.test_subnet_pool.TestSubnetPool

columns = ('address_scope_id', 'default_prefixlen', 'default_quota', 'id', 'ip_version', 'is_default', 'max_prefixlen', 'min_prefixlen', 'name', 'prefixes', 'project_id', 'shared')
data = ('address-scope-id-6ddb434b0a6843a19651ea8d4af8642b', '8', None, 'subnet-pool-id-d03de92c68534efb925ba008b108f114', '4', False, '32', '8', 'subnet-pool-name-e11f6a46d23b4e0da0ac19b5721a8fb1', '10.0.0.0/24, 10.1.0.0/24', 'project-id-6077ff9b49ab4917b704966e99ff1b65', False)
setUp()
test_show_all_options()
test_show_no_options()
class openstackclient.tests.network.v2.test_subnet_pool.TestSubnetPool(*args, **kwargs)

Bases: openstackclient.tests.network.v2.fakes.TestNetworkV2

setUp()

Module contents