]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Allow plugin to specify security-group rules ids upon creation
authorRoey Chen <roeyc@vmware.com>
Wed, 18 Mar 2015 18:00:30 +0000 (11:00 -0700)
committerRoey Chen <roeyc@vmware.com>
Fri, 20 Mar 2015 13:49:09 +0000 (06:49 -0700)
commita13d1151764abcf48315d8cccaa56be7f35cb3c2
tree3a3a1a7baf0382014f5ddf7bb2235f86f8d78b00
parent76d8c0d80bb5ec888a216d7da3f69155a8ddfe7e
Allow plugin to specify security-group rules ids upon creation

This patch enables plugin to specify the security-group rules ids,
it is optional and defaults to current behavior.
This approach is already used with network creation, where a plugin can
specify the network uuid.

Closes-Bug: #1434067
Change-Id: I034f0ffc2200f64926617e87861a97838e76342c
neutron/db/securitygroups_db.py
neutron/tests/unit/test_extension_security_group.py