]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Rebind security groups only when they're updated
authorSalvatore Orlando <salv.orlando@gmail.com>
Tue, 26 Nov 2013 17:53:49 +0000 (09:53 -0800)
committerSalvatore Orlando <salv.orlando@gmail.com>
Wed, 27 Nov 2013 10:10:40 +0000 (02:10 -0800)
commit121189401a97e5f471a287c453d7f2013c92477a
tree24706081f8fc9b3c65317f0859177110268d517b
parent4b47717b132336396cdbea9d168acaaa30bd5a02
Rebind security groups only when they're updated

Update the security port bindings for a port only when they actually
differ from the stored value.

This will also avoid sending port_update notifications to the agent
even if nothing actually changes in the port configuration.

Closes-Bug: #1255183
Partial blueprint: neutron-tempest-parallel

Change-Id: I00c29dc97c46478433fdf08069a884bb78e5cd0a
neutron/db/securitygroups_rpc_base.py