neutron/neutron/tests/unit/agent/linux/openvswitch_firewall
Jakub Libosvar f68e7822f4 ovs-fw: Apply openflow rules immediately during update
Because update operation updates openflow rules three times:
 1) New rules with new cookie
 2) Delete old rules with old cookie
 3) Change new cookie back to old cookie

and the step 2) uses --strict parameter, it's needed to apply rules
before deleting the old rules because --strict parameter cannot be
combined with non-strict. This patch applies openflow rules after
step 1), then --strict rules in step 2 are applied right away and then
rest of delete part from 2) and all new rules from 3) are applied
together.

This patch adds optional interval parameter to Pinger class which sends
more ICMP packets per second in the firewall blink tests to increase a
chance of sending a packet while firewall is in inconsistent state.

Change-Id: I25d9c87225feda1b5ddd442dd01529424186e05b
Closes-bug: #1708731
2018-04-24 14:55:30 +00:00
..
__init__.py Open vSwitch conntrack based firewall driver 2016-02-16 16:47:21 +00:00
test_firewall.py ovs-fw: Apply openflow rules immediately during update 2018-04-24 14:55:30 +00:00
test_iptables.py broken HybridIptablesHelper function override 2018-01-09 17:00:46 +00:00
test_rules.py ovsfw: Create tables for further consumption 2017-12-20 13:25:20 +07:00