]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Refactor security group rpc call
authorshihanzhang <shihanzhang@huawei.com>
Mon, 4 Aug 2014 08:44:31 +0000 (16:44 +0800)
committerMiguel Angel Ajo <mangelajo@redhat.com>
Tue, 2 Sep 2014 17:43:34 +0000 (19:43 +0200)
commit4253887a86bb10e57a8a4fc73c40ddeaf1e623fc
tree2c5ff3bba34628779db6a4def1011806d4b9a57e
parent2b3c20591d295e874460d8f448dd2a7e199dc90f
Refactor security group rpc call

Refactor rpc call of 'security_group_rules_for_devices' into
'security_group_info_for_devices' to reduce the response
message size and server side processing time. Includes
agent-side auto detection of rpc version, and fall back
to the old one.

Change-Id: If19be8579ca734a899cdd673c919eee8165aaa0e
Implements: blueprint security-group-rules-for-devices-rpc-call-refactor
DocImpact
Co-Authored-By: Miguel Angel Ajo <mangelajo@redhat.com>
neutron/agent/linux/iptables_firewall.py
neutron/agent/securitygroups_rpc.py
neutron/api/rpc/handlers/securitygroups_rpc.py
neutron/db/securitygroups_rpc_base.py
neutron/tests/unit/test_security_groups_rpc.py