]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add explicit egress rules to nvp security profile
authorAaron Rosen <arosen@nicira.com>
Wed, 6 Mar 2013 20:21:08 +0000 (12:21 -0800)
committerAaron Rosen <arosen@nicira.com>
Fri, 8 Mar 2013 17:48:19 +0000 (09:48 -0800)
commit6bb31ed9f1a9291b9940473ebafb338f96ab3b84
treeafb7d5e39bb81bdc71262f59767114f68af56682
parent0f38e10810afff71261be3dab5a501d680d6b72d
Add explicit egress rules to nvp security profile

The following commit  7e26074b changed the previous behavior of quantum
security groups by explicitly adding egress rules to the security profile.
When these rules are removed the vm is no longer able to send traffic out.

This patch adds these rules for NVP. One thing to note in the patch
is that now a bunk rule of IPv4 127.0.0.1/32 is added to each security
profile. The reason for this is by default NVP security profiles allow
all egress traffic until a rule is added and then it just lets traffic
matching those rules out. Adding this bunk rule achieves this behavior
that quantum now uses.

Fixes bug 1150378

Change-Id: I005880fcf39d539ae99be428d75c43cc0b39a7b6
quantum/plugins/nicira/nicira_nvp_plugin/nvplib.py