Module Import alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore Str Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr If UnaryOpNot Call AttributeLoad Call AttributeLoad NameLoad attr attr body Raise Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr decorator_list NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str ListLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr keyword ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str ListLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str ListLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str ListLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str ListLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword ListLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr keyword ListLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword ListLoad Dict Str Str Str ListLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str ListLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword ListLoad Dict Str Str Str ListLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword ListLoad Dict Str Str Str ListLoad Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr keyword ListLoad Dict Str Str Str ListLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A time oslo_log log N/A testtools ec2api.tests.functional base ec2api.tests.functional config N/A CONF N/A config CONF N/A LOG N/A N/A log getLogger __name__ InternetGatewayTest N/A N/A base EC2TestCase N/A N/A VPC_CIDR 10.4.0.0/20 N/A VPC_CIDR_ALT 10.5.0.0/20 N/A vpc_id None N/A vpc_id_alt None setUpClass N/A N/A cls N/A N/A N/A N/A N/A N/A super InternetGatewayTest cls setUpClass N/A N/A N/A N/A N/A N/A base TesterStateHolder get_vpc_enabled N/A N/A N/A N/A cls skipException VPC is disabled N/A data N/A N/A N/A cls client create_vpc CidrBlock N/A cls VPC_CIDR N/A N/A cls vpc_id N/A N/A data N/A Vpc N/A VpcId N/A N/A N/A N/A N/A cls get_vpc_waiter wait_available N/A cls vpc_id N/A N/A N/A cls addResourceCleanUpStatic N/A N/A cls client delete_vpc VpcId N/A cls vpc_id N/A data N/A N/A N/A cls client create_vpc CidrBlock N/A cls VPC_CIDR_ALT N/A N/A cls vpc_id_alt N/A N/A data N/A Vpc N/A VpcId N/A N/A N/A N/A N/A cls get_vpc_waiter wait_available N/A cls vpc_id_alt N/A N/A N/A cls addResourceCleanUpStatic N/A N/A cls client delete_vpc VpcId N/A cls vpc_id_alt N/A classmethod N/A base safe_setup test_create_attach_internet_gateway N/A N/A self N/A N/A N/A data N/A N/A N/A self client create_internet_gateway N/A gw_id N/A N/A data N/A InternetGateway N/A InternetGatewayId N/A res_clean N/A N/A self addResourceCleanUp N/A N/A self client delete_internet_gateway InternetGatewayId gw_id N/A N/A N/A self assertEmpty N/A N/A N/A data N/A InternetGateway get Attachments N/A N/A data N/A N/A N/A self client attach_internet_gateway VpcId N/A self vpc_id InternetGatewayId gw_id N/A data N/A N/A N/A self client detach_internet_gateway VpcId N/A self vpc_id InternetGatewayId gw_id N/A data N/A N/A N/A self client delete_internet_gateway InternetGatewayId gw_id N/A N/A N/A self cancelResourceCleanUp res_clean N/A N/A N/A self assertRaises InvalidInternetGatewayID.NotFound N/A N/A self client describe_internet_gateways InternetGatewayIds N/A gw_id N/A test_delete_attached_internet_gateway N/A N/A self N/A N/A N/A data N/A N/A N/A self client create_internet_gateway N/A gw_id N/A N/A data N/A InternetGateway N/A InternetGatewayId N/A res_clean N/A N/A self addResourceCleanUp N/A N/A self client delete_internet_gateway InternetGatewayId gw_id N/A N/A N/A self assertEmpty N/A N/A N/A data N/A InternetGateway get Attachments N/A N/A data N/A N/A N/A self client attach_internet_gateway VpcId N/A self vpc_id InternetGatewayId gw_id N/A N/A N/A self assertRaises DependencyViolation N/A N/A self client delete_internet_gateway InternetGatewayId gw_id N/A data N/A N/A N/A self client detach_internet_gateway VpcId N/A self vpc_id InternetGatewayId gw_id N/A data N/A N/A N/A self client delete_internet_gateway InternetGatewayId gw_id N/A N/A N/A self cancelResourceCleanUp res_clean N/A test_attach_detach_invalid_internet_gateway N/A N/A self N/A N/A N/A gw_id gw-1 N/A N/A N/A self assertRaises InvalidInternetGatewayID.NotFound N/A N/A self client attach_internet_gateway VpcId N/A self vpc_id InternetGatewayId gw_id N/A N/A N/A self assertRaises InvalidInternetGatewayID.NotFound N/A N/A self client detach_internet_gateway VpcId N/A self vpc_id InternetGatewayId gw_id N/A N/A N/A testtools skipUnless N/A N/A CONF aws run_incompatible_tests Another error code returned - InvalidParameterValue test_double_attach_internet_gateway N/A N/A self N/A N/A N/A data N/A N/A N/A self client create_internet_gateway N/A gw_id N/A N/A data N/A InternetGateway N/A InternetGatewayId N/A res_clean N/A N/A self addResourceCleanUp N/A N/A self client delete_internet_gateway InternetGatewayId gw_id N/A N/A N/A self assertEmpty N/A N/A N/A data N/A InternetGateway get Attachments N/A N/A data N/A N/A N/A self client attach_internet_gateway VpcId N/A self vpc_id InternetGatewayId gw_id N/A N/A N/A self assertRaises Resource.AlreadyAssociated N/A N/A self client attach_internet_gateway VpcId N/A self vpc_id InternetGatewayId gw_id N/A data N/A N/A N/A self client detach_internet_gateway VpcId N/A self vpc_id InternetGatewayId gw_id N/A data N/A N/A N/A self client delete_internet_gateway InternetGatewayId gw_id N/A N/A N/A self cancelResourceCleanUp res_clean N/A test_attach_one_internet_gateway_to_two_vpcs N/A N/A self N/A N/A N/A data N/A N/A N/A self client create_internet_gateway N/A gw_id N/A N/A data N/A InternetGateway N/A InternetGatewayId N/A res_clean N/A N/A self addResourceCleanUp N/A N/A self client delete_internet_gateway InternetGatewayId gw_id N/A N/A N/A self assertEmpty N/A N/A N/A data N/A InternetGateway get Attachments N/A N/A data N/A N/A N/A self client attach_internet_gateway VpcId N/A self vpc_id InternetGatewayId gw_id N/A N/A N/A self assertRaises Resource.AlreadyAssociated N/A N/A self client attach_internet_gateway VpcId N/A self vpc_id_alt InternetGatewayId gw_id N/A data N/A N/A N/A self client detach_internet_gateway VpcId N/A self vpc_id InternetGatewayId gw_id N/A data N/A N/A N/A self client delete_internet_gateway InternetGatewayId gw_id N/A N/A N/A self cancelResourceCleanUp res_clean N/A test_describe_internet_gateways_base N/A N/A self N/A N/A N/A data N/A N/A N/A self client create_internet_gateway N/A gw_id N/A N/A data N/A InternetGateway N/A InternetGatewayId N/A res_clean N/A N/A self addResourceCleanUp N/A N/A self client delete_internet_gateway InternetGatewayId gw_id N/A N/A N/A self assertEmpty N/A N/A N/A data N/A InternetGateway get Attachments N/A N/A data N/A N/A N/A self client attach_internet_gateway VpcId N/A self vpc_id InternetGatewayId gw_id N/A N/A N/A self addResourceCleanUp N/A N/A self client detach_internet_gateway VpcId N/A self vpc_id InternetGatewayId gw_id N/A N/A N/A time sleep 2 N/A data N/A N/A N/A self client describe_internet_gateways InternetGatewayIds N/A gw_id N/A N/A N/A self assertEqual 1 N/A len N/A data N/A InternetGateways N/A N/A N/A self assertRaises InvalidInternetGatewayID.NotFound N/A N/A self client describe_internet_gateways InternetGatewayIds N/A igw-0 N/A data N/A N/A N/A self client detach_internet_gateway VpcId N/A self vpc_id InternetGatewayId gw_id N/A data N/A N/A N/A self client delete_internet_gateway InternetGatewayId gw_id N/A N/A N/A self cancelResourceCleanUp res_clean N/A test_describe_internet_gateways_filters N/A N/A self N/A N/A N/A data N/A N/A N/A self client describe_internet_gateways Filters N/A N/A Name Values attachment.vpc-id N/A N/A self vpc_id N/A N/A N/A self assertEqual 0 N/A len N/A data N/A InternetGateways N/A data N/A N/A N/A self client create_internet_gateway N/A gw_id N/A N/A data N/A InternetGateway N/A InternetGatewayId N/A res_clean N/A N/A self addResourceCleanUp N/A N/A self client delete_internet_gateway InternetGatewayId gw_id N/A N/A N/A self assertEmpty N/A N/A N/A data N/A InternetGateway get Attachments N/A N/A data N/A N/A N/A self client attach_internet_gateway VpcId N/A self vpc_id InternetGatewayId gw_id N/A N/A N/A self addResourceCleanUp N/A N/A self client detach_internet_gateway VpcId N/A self vpc_id InternetGatewayId gw_id N/A N/A N/A time sleep 2 N/A data N/A N/A N/A self client describe_internet_gateways Filters N/A N/A Name Values attachment.vpc-id N/A N/A self vpc_id N/A N/A N/A self assertEqual 1 N/A len N/A data N/A InternetGateways N/A N/A N/A self assertEqual gw_id N/A N/A N/A data N/A InternetGateways N/A 0 N/A InternetGatewayId N/A data N/A N/A N/A self client describe_internet_gateways Filters N/A N/A Name Values attachment.vpc-id N/A vpc-0 N/A N/A N/A self assertEqual 0 N/A len N/A data N/A InternetGateways N/A N/A N/A self assertRaises InvalidParameterValue N/A N/A self client describe_internet_gateways Filters N/A N/A Name Values fake N/A fake N/A data N/A N/A N/A self client detach_internet_gateway VpcId N/A self vpc_id InternetGatewayId gw_id N/A data N/A N/A N/A self client delete_internet_gateway InternetGatewayId gw_id N/A N/A N/A self cancelResourceCleanUp res_clean N/A N/A