Module Expr Str Import alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr keyword Str keyword Dict keyword ListLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Dict Str Str keyword ListLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Dict Str Str keyword ListLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Dict Str Str keyword ListLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Dict Str Str keyword ListLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Dict Str Str keyword ListLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Dict Str Str Str Str Num Num keyword ListLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Dict Str Str keyword ListLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Dict Str Str Str Num keyword ListLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Dict Str Str Str Str Num Num keyword ListLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Dict Str Str Str Str Num Num keyword ListLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Dict Str Str keyword ListLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Dict Str Str Str Str keyword ListLoad Str Str Str Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr keyword Str keyword Dict Str Str Str Str Str Str Str Str keyword ListLoad Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Dict Str Str Str Str Str Str Str Str keyword ListLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Dict Str Str Str Str Str Str Str Str keyword ListLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Dict Str Str Str Str Str Num Num Str Str Str keyword ListLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Dict Str Str Str Str Str Str Str Num Num Str Str Str keyword ListLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Dict Str Str Str Str Str Str Str Num Num Str Str Str keyword ListLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Dict Str Str Str Str Str Str Str Num Num Str Str Str keyword ListLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Dict Str Str Str Str Str Str Str Str keyword ListLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Dict Str Str Str Str Str Str Str Str Str Str keyword ListLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Dict Str Str Str Str NameLoad Str Str Str keyword ListLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Dict Str Str Str Str Str Str Num Str Str Str keyword ListLoad Str ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign AttributeStore AttributeLoad NameLoad attr attr Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr Assign NameStore ListLoad Str Str Str Str Str Str For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body If CompareEq NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad If BoolOpAnd AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Call AttributeLoad Str attr keyword NameLoad Assign NameStore Call NameLoad NameLoad NameLoad If NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list Call NameLoad NameLoad decorator_list NameLoad
N/A N/A 
Copyright 2015 Rackspace

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
 N/A unittest cafe.drivers.unittest.datasets DatasetList cafe.drivers.unittest.decorators DataDrivenFixture data_driven_test tags cloudcafe.networking.networks.config NetworkingSecondUserConfig cloudroast.networking.networks.fixtures NetworkingSecurityGroupsFixture cloudcafe.networking.networks.extensions.security_groups_api.constants SecurityGroupsErrorTypes SecurityGroupsResponseCodes N/A data_set_list N/A DatasetList N/A N/A N/A data_set_list append_new_dataset name data_dict N/A tags N/A sec_group post positive rbac_creator N/A N/A N/A data_set_list append_new_dataset name w_protocol_icmp data_dict N/A protocol icmp tags N/A sec_group post positive rbac_creator N/A N/A N/A data_set_list append_new_dataset name w_protocol_tcp data_dict N/A protocol tcp tags N/A sec_group post positive rbac_creator N/A N/A N/A data_set_list append_new_dataset name w_protocol_udp data_dict N/A protocol udp tags N/A sec_group post positive rbac_creator N/A N/A N/A data_set_list append_new_dataset name w_ethertype_ipv4 data_dict N/A ethertype IPv4 tags N/A sec_group post positive rbac_creator N/A N/A N/A data_set_list append_new_dataset name w_ethertype_ipv6 data_dict N/A ethertype IPv6 tags N/A sec_group post positive rbac_creator N/A N/A N/A data_set_list append_new_dataset name w_protocol_icmp_and_port_ranges data_dict N/A protocol port_range_min port_range_max icmp 0 255 tags N/A sec_group post positive rbac_creator N/A N/A N/A data_set_list append_new_dataset name w_protocol_icmp data_dict N/A protocol icmp tags N/A sec_group post positive rbac_creator N/A N/A N/A data_set_list append_new_dataset name w_protocol_icmp_and_port_range_min data_dict N/A protocol port_range_min icmp 2 tags N/A sec_group post positive rbac_creator N/A N/A N/A data_set_list append_new_dataset name w_protocol_tcp_and_port_ranges data_dict N/A protocol port_range_min port_range_max tcp 0 65535 tags N/A sec_group post positive rbac_creator N/A N/A N/A data_set_list append_new_dataset name w_protocol_udp_and_port_ranges data_dict N/A protocol port_range_min port_range_max udp 0 65535 tags N/A sec_group post positive rbac_creator N/A N/A N/A data_set_list append_new_dataset name w_remote_ip_prefix_ipv4 data_dict N/A remote_ip_prefix 192.168.86.0/24 tags N/A sec_group post positive rbac_creator N/A N/A N/A data_set_list append_new_dataset name w_remote_ip_prefix_ipv6 data_dict N/A ethertype remote_ip_prefix IPv6 fd00:d9f1:d355::/64 tags N/A sec_group post positive rbac_creator N/A data_set_list_negative N/A DatasetList N/A N/A N/A data_set_list_negative append_new_dataset name w_direction_egress data_dict N/A direction http_status test_desc error_type egress BAD_REQUEST Non-ingress rules are not currently supported EGRESS_SECURITY_GROUP_RULES_NOT_ENABLED tags N/A sec_group_egress_off N/A N/A N/A data_set_list_negative append_new_dataset name w_invalid_protocol data_dict N/A protocol http_status test_desc error_type invalid_protocol BAD_REQUEST Protocol should be icmp, tcp or udp SECURITY_GROUP_RULE_INVALID_PROTOCOL tags N/A sec_group post negative rbac_creator N/A N/A N/A data_set_list_negative append_new_dataset name w_invalid_ethertype data_dict N/A ethertype http_status test_desc error_type invalid_ethertype BAD_REQUEST testing with invalid ethertype (valid:IPv4/IPv6) SECURITY_GROUP_RULE_INVALID_ETHERTYPE tags N/A sec_group post negative rbac_creator N/A N/A N/A data_set_list_negative append_new_dataset name w_port_ranges_and_protocol_missing data_dict N/A port_range_min port_range_max http_status test_desc error_type 1 255 BAD_REQUEST Must also specify protocol if port range given SECURITY_GROUP_PROTOCOL_REQUIRED_WITH_PORTS tags N/A sec_group post negative rbac_creator N/A N/A N/A data_set_list_negative append_new_dataset name w_protocol_icmp_and_port_max_out_of_range data_dict N/A protocol port_range_min port_range_max http_status test_desc error_type icmp 1 65535 BAD_REQUEST Invalid ICMP port_range_max value, must be 0-255 SECURITY_GROUP_INVALID_ICMP_VALUE tags N/A sec_group post negative rbac_creator N/A N/A N/A data_set_list_negative append_new_dataset name w_protocol_tcp_and_port_max_out_of_range data_dict N/A protocol port_range_min port_range_max http_status test_desc error_type tcp 1 65536 BAD_REQUEST Invalid value for port SECURITY_GROUP_INVALID_PORT_VALUE tags N/A sec_group post negative rbac_creator N/A N/A N/A data_set_list_negative append_new_dataset name w_protocol_udp_and_port_max_out_of_range data_dict N/A protocol port_range_min port_range_max http_status test_desc error_type udp 1 65536 BAD_REQUEST Invalid value for port SECURITY_GROUP_INVALID_PORT_VALUE tags N/A sec_group post negative rbac_creator N/A N/A N/A data_set_list_negative append_new_dataset name w_remote_ip_prefix_ipv6_and_ipv4_ethertype data_dict N/A remote_ip_prefix http_status test_desc error_type fd00:d9f1:d355::/64 BAD_REQUEST Etherytype IPv4 does not match remote_ip_prefix IPv6 INVALID_INPUT tags N/A sec_group post negative rbac_creator N/A N/A N/A data_set_list_negative append_new_dataset name w_remote_ip_prefix_ipv4_and_ipv6_ethertype data_dict N/A ethertype remote_ip_prefix http_status test_desc error_type IPv6 192.168.86.0/24 BAD_REQUEST Etherytype IPv6 does not match remote_ip_prefix IPv4 INVALID_INPUT tags N/A sec_group post negative rbac_creator N/A N/A N/A data_set_list_negative append_new_dataset name w_remote_group_id data_dict N/A remote_group_id http_status test_desc error_type True BAD_REQUEST Remote groups are not currently supported INVALID_INPUT tags N/A sec_group post negative rbac_creator N/A N/A N/A data_set_list_negative append_new_dataset name w_protocol_icmp_and_port_range_max data_dict N/A protocol port_range_max http_status test_desc error_type icmp 200 BAD_REQUEST ICMP requires port_range_min when port_range_max given SECURITY_GROUP_MISSING_ICMP_TYPE tags N/A bug SecurityGroupRuleCreateTest N/A NetworkingSecurityGroupsFixture N/A setUpClass N/A N/A cls N/A N/A N/A Setting up test data N/A N/A N/A N/A super SecurityGroupRuleCreateTest cls setUpClass N/A N/A cls expected_secgroup N/A N/A cls get_expected_secgroup_data N/A N/A N/A cls expected_secgroup name test_secgroup_rule_create N/A N/A N/A cls expected_secgroup description testing security rules creates N/A classmethod setUp N/A N/A self N/A N/A N/A N/A self secgroup N/A N/A self create_test_secgroup N/A self expected_secgroup N/A N/A self expected_secrule N/A N/A self get_expected_secrule_data N/A N/A N/A self expected_secrule security_group_id N/A N/A self secgroup id N/A tearDown N/A N/A self N/A N/A N/A N/A N/A self secGroupCleanUp N/A ddtest_security_group_rule_create N/A N/A self security_group_id direction ethertype port_range_min port_range_max protocol remote_group_id remote_ip_prefix use_false_values N/A None None None None None None None None False N/A N/A 
        @summary: Creating a Security Group Rule
         N/A expected_secrule N/A self expected_secrule N/A request_kwargs N/A dict security_group_id N/A expected_secrule security_group_id N/A properties N/A security_group_id direction ethertype port_range_min port_range_max remote_ip_prefix N/A prop_name properties N/A N/A prop_value N/A eval prop_name N/A N/A prop_value None N/A N/A N/A request_kwargs N/A prop_name prop_value N/A N/A setattr expected_secrule prop_name prop_value N/A N/A protocol None N/A N/A N/A request_kwargs N/A protocol protocol N/A N/A expected_secrule protocol N/A N/A protocol upper N/A N/A remote_group_id None N/A N/A N/A remote_group_id True N/A N/A remote_group_id N/A expected_secrule security_group_id N/A N/A request_kwargs N/A remote_group_id remote_group_id N/A N/A expected_secrule remote_group_id remote_group_id N/A resp N/A N/A N/A N/A self sec behaviors create_security_group_rule request_kwargs N/A N/A N/A N/A resp response entity N/A hasattr N/A N/A resp response entity id N/A N/A N/A N/A N/A self delete_secgroups_rules append N/A N/A N/A resp response entity id N/A N/A N/A self assertFalse N/A resp failures N/A secrule N/A N/A resp response entity N/A N/A N/A self assertSecurityGroupRuleResponse expected_secrule secrule N/A N/A data_driven_test data_set_list ddtest_security_group_rule_create_negative N/A N/A self security_group_id direction ethertype port_range_min port_range_max protocol remote_group_id remote_ip_prefix use_false_values http_status test_desc error_type N/A None None None None None None None None False None None None N/A N/A 
        @summary: Negative test creating a Security Group Rule
         N/A expected_secrule_data N/A self expected_secrule N/A request_kwargs N/A dict security_group_id N/A expected_secrule_data security_group_id raise_exception False N/A properties N/A security_group_id direction ethertype port_range_min port_range_max protocol remote_group_id remote_ip_prefix remote_ip_prefix N/A prop_name properties N/A N/A prop_value N/A eval prop_name N/A N/A prop_value None N/A N/A N/A request_kwargs N/A prop_name prop_value N/A use_false_values N/A N/A N/A request_kwargs N/A protocol protocol N/A resp N/A N/A N/A N/A self sec behaviors create_security_group_rule request_kwargs N/A msg N/A N/A (negative) Creating a Security Group Rule where {test_description} format test_description test_desc N/A status_code N/A getattr SecurityGroupsResponseCodes http_status N/A error_type N/A N/A error_type N/A getattr SecurityGroupsErrorTypes error_type N/A N/A N/A self assertNegativeResponse resp resp status_code status_code msg msg delete_list N/A self delete_secgroups_rules error_type error_type N/A N/A data_driven_test data_set_list_negative N/A DataDrivenFixture