]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Rework associations from vpc to quantum resources.
authorSteve Baker <sbaker@redhat.com>
Mon, 20 May 2013 22:01:16 +0000 (10:01 +1200)
committerSteve Baker <sbaker@redhat.com>
Tue, 2 Jul 2013 03:36:26 +0000 (15:36 +1200)
commit4c1adb4c83f2f393dfb6a0460a8ecc3f14cd9b50
tree7bd5cc96df61039d023ae1850626d86047da0ff6
parent99d849228b34fbe2501bed790adb592caf036b6c
Rework associations from vpc to quantum resources.

Metadata cannot be used to store the relationships between VPC
resources and the underlying quantum resources, since this prevents
VPC or Subnet refs from being passed in as parameters.

This rework results in no state being stored in metadata. Route table
relationships are inferred from the template. An assumption is made that
the quantum router associatiated with the VPC will have the same name
as the quantum net. The easiest way of ensuring that is to creat the VPC
in a different Heat stack.

Fixes bug: #1165050
Fixes bug: #1165056
Fixes bug: #1166779
Fixes bug: #1166787

Change-Id: I6fb087bfc63ed13703089a16ed57858e6911b7d8
heat/engine/resources/internet_gateway.py
heat/engine/resources/route_table.py
heat/engine/resources/subnet.py
heat/engine/resources/vpc.py
heat/tests/test_vpc.py