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

class AttrDict

Bases: dict

class TestSecurityGroupDefaultRuleXMLSerializer(*args, **kwargs)

Bases: nova.test.TestCase

setUp()
test_index_serializer()
test_rule_serializer()
class TestSecurityGroupDefaultRules(*args, **kwargs)

Bases: nova.test.TestCase

setUp()
test_create_duplicate_security_group_default_rule()
test_create_security_group_default_rule()
test_create_security_group_default_rule_invalid_cidr()
test_create_security_group_default_rule_invalid_from_port()
test_create_security_group_default_rule_invalid_ip_protocol()
test_create_security_group_default_rule_invalid_to_port()
test_create_security_group_default_rule_non_numerical_from_port()
test_create_security_group_default_rule_non_numerical_to_port()
test_create_security_group_default_rule_with_blank_cidr()
test_create_security_group_default_rule_with_blank_from_port()
test_create_security_group_default_rule_with_blank_ip_protocol()
test_create_security_group_default_rule_with_blank_to_port()
test_create_security_group_default_rule_with_no_body()
test_create_security_group_default_rule_with_no_cidr()
test_create_security_group_default_rule_with_no_from_port()
test_create_security_group_default_rule_with_no_ip_protocol()
test_create_security_group_default_rule_with_no_to_port()
test_default_security_group_default_rule_show()
test_delete_security_group_default_rule()
test_security_group_default_rules_list()
test_security_group_ensure_default()
class TestSecurityGroupDefaultRulesXMLDeserializer(*args, **kwargs)

Bases: nova.test.TestCase

setUp()
test_create_no_cidr_request()
test_create_no_from_port_request()
test_create_no_ip_protocol_request()
test_create_no_to_port_request()
test_create_request()
security_group_default_rule_db(security_group_default_rule, id=None)
security_group_default_rule_template(**kwargs)

Previous topic

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

Next topic

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

This Page