]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fixing ICMP type and code validation
authorRoey Chen <roeyc@vmware.com>
Fri, 24 Jul 2015 18:17:19 +0000 (11:17 -0700)
committerRoey Chen <roeyc@vmware.com>
Tue, 4 Aug 2015 07:01:12 +0000 (07:01 +0000)
commit42188537172f4e1e633a0fb36ace5a522c730a32
tree6bb160d2d4b2675862ed44c9d85f3745f0ed895c
parent6ee7b12d9494ca972d05a73ca000f1167d32c617
Fixing ICMP type and code validation

The case where type is not specifed (None) but the code is '0' will not
result in an error, as it should.

APIImpact

Closes-Bug: #1480966
Change-Id: I878b13ec46a93947765227c40282efa9a7e02ca8
neutron/db/securitygroups_db.py
neutron/tests/unit/extensions/test_securitygroup.py