]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add support for protocol numbers
authorAaron Rosen <arosen@nicira.com>
Thu, 6 Jun 2013 22:06:24 +0000 (15:06 -0700)
committerAaron Rosen <arosen@nicira.com>
Thu, 6 Jun 2013 22:06:24 +0000 (15:06 -0700)
commit8708bc538e2515899cf874e1e5e2275360fb5ef6
treecca0fb9b23232db15765c3b0ffe5101f3c1a44b4
parent9105172d46c17bb13996fcf659c4d34242c0ce0c
Add support for protocol numbers

This patch adds support for passing in protocol numbers into the API.
For example, 1 instead of ICMP. This allows all protocols besides
just TCP/UDP/ICMP to be used. This patch includes changes to support
this for the NVP Plugin. Existing plugins using securitygroups_rpc_base
and OVSHybridIptablesFirewallDriver require no change to leverage this.

Implements blueprint security-group-rules-protocol-numbers

Change-Id: I7d3b6986d9d0dadbefac0ea7798475a573dac046
quantum/extensions/securitygroup.py
quantum/plugins/nicira/common/securitygroups.py
quantum/tests/unit/test_extension_security_group.py