diff options
author | Aaron Rosen <arosen@nicira.com> | 2013-03-25 10:17:17 -0700 |
---|---|---|
committer | Aaron Rosen <arosen@nicira.com> | 2013-03-25 14:41:02 -0700 |
commit | 3492a7bfc54cb9d581d8a119a08448c01039e80c (patch) | |
tree | c6d1bd6263556905f6c40693f617db4dbf48f3a0 /nova/exception.py | |
parent | ae2aa3c2c2211d9c5670a05b02782706b4c19f01 (diff) | |
download | nova-3492a7bfc54cb9d581d8a119a08448c01039e80c.tar.gz nova-3492a7bfc54cb9d581d8a119a08448c01039e80c.tar.xz nova-3492a7bfc54cb9d581d8a119a08448c01039e80c.zip |
Fix /servers/<instance-id>os-security-groups using quantum
When using quantum security groups:
GET /servers/<instance-id>/os-security-groups
aways returns an empty list. This patch adds a call to
get_instance_security_groups in the api implemenation of security groups.
This method passes both the instance_id and instance_uuid so the api layer
does not need to be aware of which underlying implementation is being used.
The instance_id is needed when using nova and when using quantum the
instance_uuid is needed so both need to be passed.
Fixes bug 1159793
Change-Id: I372adcf93c55d4e6469ef08429ec260d3387f9fe
Diffstat (limited to 'nova/exception.py')
0 files changed, 0 insertions, 0 deletions