]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
get_security_groups now creates default security group
authorAaron Rosen <arosen@nicira.com>
Tue, 30 Apr 2013 02:49:36 +0000 (19:49 -0700)
committerAaron Rosen <arosen@nicira.com>
Tue, 7 May 2013 03:25:00 +0000 (20:25 -0700)
commitacf44dba26ca8dca47bfb5fb2916807f9f4e2060
tree7c26384264554e39a7cb604b640c5b6686c09d47
parent9ad0ba1ae37918587480394e940ad256bd6e06a5
get_security_groups now creates default security group

If one called get_security_groups() previously the default security
group would not be created until the tenant created a network. This
exposed a bug when an admin creates a shared network and a tenant tried
to boot a vm on it without having any networks.

Fixes bug 1171997

Change-Id: I899203424c03353a1ee6567c9ddbaecd7dc25001
quantum/db/securitygroups_db.py
quantum/plugins/midonet/plugin.py
quantum/tests/unit/test_extension_security_group.py