]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Fail validation when security groups and interfaces conflict
authorSimon Pasquier <pasquier.simon@gmail.com>
Mon, 27 May 2013 14:20:18 +0000 (16:20 +0200)
committerSimon Pasquier <pasquier.simon@gmail.com>
Mon, 27 May 2013 14:29:23 +0000 (16:29 +0200)
commit5c5e36de3737a85bec5023c94265e6bbaf6ad78e
treeef684d389aaec3bfffc583074f838a3e389af32d
parent60ea25973fe295ad04dd2960068efb8a85441496
Fail validation when security groups and interfaces conflict

The 'SecurityGroups' property of the instance is not taken into account
by Nova when the 'NetworkInterfaces' property is also defined. Instead the
security groups should be applied to the network interface resource(s).

This issue has already raised a couple of invalid bugs on Launchpad.

Change-Id: I5ae2ba356518d391893c2a479c5952b13b6e8d55
heat/engine/resources/instance.py
heat/tests/test_validate.py