Routes: Fixed vpc_peering_connection_id in describe route tables.

This commit is contained in:
Shawn Falkner-Horine 2014-09-10 12:22:01 -07:00
parent 11dbe5c10f
commit c2cd5b346f
2 changed files with 2 additions and 0 deletions

View File

@ -144,6 +144,7 @@ DESCRIBE_ROUTE_TABLES_RESPONSE = """
<state>active</state>
{% endif %}
{% if route.vpc_pcx %}
<vpcPeeringConnectionId>{{ route.vpc_pcx.id }}</vpcPeeringConnectionId>
<origin>CreateRoute</origin>
<state>blackhole</state>
{% endif %}

View File

@ -240,6 +240,7 @@ def test_routes_not_supported():
# new_route = new_routes[0]
# new_route.gateway_id.should.be.none
# new_route.instance_id.should.be.none
# new_route.vpc_peering_connection_id.should.equal(vpc_pcx.id)
# new_route.state.should.equal('blackhole')
# new_route.destination_cidr_block.should.equal(ROUTE_CIDR)