]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix create_security_group_rule_bulk_native to return all created rules
authorRoey Chen <roeyc@vmware.com>
Wed, 18 Mar 2015 16:29:19 +0000 (09:29 -0700)
committerRoey Chen <roeyc@vmware.com>
Thu, 19 Mar 2015 17:54:35 +0000 (10:54 -0700)
commitc1893ae8d4579840ce9bfe95fbf80aa952a1110e
tree32583cf82e3009081414b2b45a47f3252d379f2c
parente86077e8452891cc176841dd6b6316831e12abc1
Fix create_security_group_rule_bulk_native to return all created rules

create_security_group_rule_bulk_native should return all of the created
security-group rules, but returns only one, this patch fix the issue and
adds a unittest to validate it.

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