cedb89dc3b
Add a class level store in models/VPCBackend of ec2 for saving vpcs of all regions info. Any instance can correctly find vpc in another region when connecting vpc of cross-region or vpc of same region. Modify vpc_peering_connections in ec2/responses to handle vpc peering of same region or cross region. Update vpc_peering_connections response template content to latest (2016-11-15) . Add vpc cross region peering successful test case. Add vpc cross region peering fail test case. Related: https://github.com/spulec/moto/issues/1830 Reference CreateVpcPeeringConnection Sample Response https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVpcPeeringConnection.html |
||
---|---|---|
.. | ||
test_account_attributes.py | ||
test_amazon_dev_pay.py | ||
test_amis.py | ||
test_availability_zones_and_regions.py | ||
test_customer_gateways.py | ||
test_dhcp_options.py | ||
test_ec2_core.py | ||
test_elastic_block_store.py | ||
test_elastic_ip_addresses.py | ||
test_elastic_network_interfaces.py | ||
test_general.py | ||
test_instances.py | ||
test_internet_gateways.py | ||
test_ip_addresses.py | ||
test_key_pairs.py | ||
test_monitoring.py | ||
test_nat_gateway.py | ||
test_network_acls.py | ||
test_placement_groups.py | ||
test_regions.py | ||
test_reserved_instances.py | ||
test_route_tables.py | ||
test_security_groups.py | ||
test_server.py | ||
test_spot_fleet.py | ||
test_spot_instances.py | ||
test_subnets.py | ||
test_tags.py | ||
test_utils.py | ||
test_virtual_private_gateways.py | ||
test_vm_export.py | ||
test_vm_import.py | ||
test_vpc_peering.py | ||
test_vpcs.py | ||
test_vpn_connections.py | ||
test_windows.py |