The nova.tests.api.openstack.compute.contrib.test_quantum_security_groups Module

class MockClient

Bases: object

create_network(body)
create_port(body)
create_security_group(body=None)
create_security_group_rule(body)
create_subnet(body)
delete_network(network)
delete_port(port)
delete_security_group(security_group)
delete_security_group_rule(security_group_rule)
delete_subnet(subnet)
list_extensions(**_parms)
list_floatingips(**_params)
list_networks(**_params)
list_ports(**_params)
list_security_groups(**_params)
list_subnets(**_params)
show_network(network, **_params)
show_port(port, **_params)
show_security_group(security_group, **_params)
show_security_group_rule(security_group_rule, **_params)
show_subnet(subnet, **_params)
update_port(port, body=None)
class TestQuantumSecurityGroupRules(*args, **kwargs)

Bases: nova.tests.api.openstack.compute.contrib.test_security_groups.TestSecurityGroupRules, nova.tests.api.openstack.compute.contrib.test_quantum_security_groups.TestQuantumSecurityGroupRulesTestCase

test_create_add_existing_rules_by_cidr()
test_create_add_existing_rules_by_group_id()
test_create_rule_quota_limit()
test_delete()
class TestQuantumSecurityGroupRulesTestCase(*args, **kwargs)

Bases: nova.tests.api.openstack.compute.contrib.test_quantum_security_groups.TestQuantumSecurityGroupsTestCase

setUp()
tearDown()
class TestQuantumSecurityGroups(*args, **kwargs)

Bases: nova.tests.api.openstack.compute.contrib.test_security_groups.TestSecurityGroups, nova.tests.api.openstack.compute.contrib.test_quantum_security_groups.TestQuantumSecurityGroupsTestCase

test_associate()
test_associate_already_associated_security_group_to_instance()
test_associate_non_running_instance()
test_associate_port_security_enabled_false()
test_associate_port_security_enabled_true()
test_create_port_with_sg_and_port_security_enabled_false()
test_create_port_with_sg_and_port_security_enabled_true()
test_create_security_group_non_string_description()
test_create_security_group_non_string_name()
test_create_security_group_quota_limit()
test_create_security_group_with_blank_description()
test_create_security_group_with_blank_name()
test_create_security_group_with_duplicate_name()
test_create_security_group_with_no_description()
test_create_security_group_with_whitespace_description()
test_create_security_group_with_whitespace_name()
test_delete_security_group_by_id()
test_delete_security_group_in_use()
test_disassociate()
test_disassociate_already_associated_security_group_to_instance()
test_disassociate_by_non_existing_security_group_name()
test_disassociate_non_running_instance()
test_get_instance_security_groups()
test_get_instances_security_groups_bindings()
test_get_security_group_by_id()
test_get_security_group_by_instance()
test_get_security_group_list()
test_get_security_group_list_all_tenants()
class TestQuantumSecurityGroupsOutputTest(*args, **kwargs)

Bases: nova.tests.api.openstack.compute.contrib.test_quantum_security_groups.TestQuantumSecurityGroupsTestCase

content_type = 'application/json'
setUp()
test_create()
test_create_server_get_default_security_group()
test_detail()
test_no_instance_passthrough_404()
test_show()
class TestQuantumSecurityGroupsOutputXMLTest(*args, **kwargs)

Bases: nova.tests.api.openstack.compute.contrib.test_quantum_security_groups.TestQuantumSecurityGroupsOutputTest

class MinimalCreateServerTemplate

Bases: nova.api.openstack.xmlutil.TemplateBuilder

construct()
TestQuantumSecurityGroupsOutputXMLTest.content_type = 'application/xml'
class TestQuantumSecurityGroupsTestCase(*args, **kwargs)

Bases: nova.test.TestCase

setUp()
tearDown()
class TestQuantumSecurityGroupsXMLDeserializer(*args, **kwargs)

Bases: nova.tests.api.openstack.compute.contrib.test_security_groups.TestSecurityGroupXMLDeserializer, nova.tests.api.openstack.compute.contrib.test_quantum_security_groups.TestQuantumSecurityGroupsTestCase

class TestQuantumSecurityGroupsXMLSerializer(*args, **kwargs)

Bases: nova.tests.api.openstack.compute.contrib.test_security_groups.TestSecurityGroupXMLSerializer, nova.tests.api.openstack.compute.contrib.test_quantum_security_groups.TestQuantumSecurityGroupsTestCase

get_client(context=None, admin=False)

Previous topic

The nova.tests.api.openstack.compute.contrib.test_networks Module

Next topic

The nova.tests.api.openstack.compute.contrib.test_quota_classes Module

This Page