]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add firewall blink + remote SG functional tests
authorJakub Libosvar <libosvar@redhat.com>
Tue, 30 Jun 2015 12:46:30 +0000 (12:46 +0000)
committerJakub Libosvar <libosvar@redhat.com>
Wed, 23 Dec 2015 16:52:02 +0000 (16:52 +0000)
commita459950da3900ad09475975f69570bfac7714ca3
tree8b017dd66549e5c83ad7f90c8e68083d0fcb1cae
parenta94777a005f5619e70dab609211b8550cb75981d
Add firewall blink + remote SG functional tests

This tests that firewall still does its purpose even when rules are
being updated. That means there is no short period of time where
security groups are inactive during update.

Part of this patch introduces Pinger class. This object provides
capability of sending ICMP packets asynchronously and after
it's stopped it provides statistics like how many packets were
sent and how many were received. Note the difference between
assert_ping() functions, which are synchronous.

Another testing of remote security groups is also added.

Related-bug: #1461000
Change-Id: I6251ee264396f8dbc9b284758b96e5cdc6ac500b
neutron/tests/common/conn_testers.py
neutron/tests/common/net_helpers.py
neutron/tests/functional/agent/test_firewall.py