]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Validate ethertype for icmp protocols
authorManjeet Singh Bhatia <manjeet.s.bhatia@intel.com>
Wed, 14 Oct 2015 16:36:23 +0000 (16:36 +0000)
committerManjeet Singh Bhatia <manjeet.s.bhatia@intel.com>
Tue, 20 Oct 2015 01:52:13 +0000 (01:52 +0000)
commit7335dbdabe6cd2d558f209b2349491efc376352e
tree3f88502bed83e111b1bf8402ad5ca2e394423c3f
parentac7c82fbe525eca1be11296142a990ba3fd65013
Validate ethertype for icmp protocols

This patch will add the validation function to make sure security_group
rule is not created when ethertype is IPv4 and protocol is icmpv6.

Closes-Bug: #1505832
Depends-On: Ia1a5342a1d568cb1a015e1b7acecf38b8d1f46e1

Co-Authored By: Matt Dorn <madorn@gmail.com>

Change-Id: I4a15935c564aaa48555ed08f6da51113787ecb73
neutron/db/securitygroups_db.py
neutron/extensions/securitygroup.py
neutron/tests/unit/extensions/test_securitygroup.py