]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
get_security_group() now returns rules
authorAaron Rosen <arosen@nicira.com>
Wed, 23 Jan 2013 03:24:25 +0000 (19:24 -0800)
committerAaron Rosen <arosen@nicira.com>
Wed, 23 Jan 2013 06:18:02 +0000 (22:18 -0800)
commit29835c0ffb3562a56fe823862e00406efcaa7356
tree8c44e68c964525314557940d674aafe53ea8cca4
parenta693a840a41952a7f09a2076247699d4af810347
get_security_group() now returns rules

get_security_group() previously only returned a security_group's id,
name, tenant_id, and description. This patch changes get_security_group()
to also return the security_group_rules associated with the security group.
Fixed bug 1103278

Change-Id: Iebc0022faa5c7072380d52b81c13783add0f4d46
quantum/db/securitygroups_db.py
quantum/extensions/securitygroup.py
quantum/tests/unit/test_extension_security_group.py