neutron/neutron/tests/unit/extensions
Brian Haley d8f9c94470 Only allow SG port ranges for whitelisted protocols
Iptables only supports port-ranges for certain protocols,
others will generate failures, possibly leaving the agent
looping trying to apply rules.  Change to not allow port
ranges outside of the list of known good protocols.

This backport is based on commit
b564871bb7, excluding validation
and tests for protocols where support for port ranges was
added later (in Pike, only TCP and UDP are supported).

Conflicts:
    neutron/tests/unit/db/test_securitygroups_db.py

Change-Id: I5867f77fc5aedc169b42f50def0424ff209c164c
Closes-bug: #1749667
(cherry picked from commit b564871bb7)
2018-05-11 00:24:34 +02:00
..
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
base.py ExtensionTestCase: register correct core plugin 2017-03-28 02:46:45 +00:00
extendedattribute.py Use ExtensionDescriptor from neutron-lib 2016-12-02 14:16:06 -05:00
extensionattribute.py Use ExtensionDescriptor from neutron-lib 2016-12-02 14:16:06 -05:00
foxinsocks.py Consume ServicePluginBase from neutron-lib 2017-03-17 12:06:57 -06:00
test_address_scope.py use neutron-lib callbacks 2017-04-26 12:12:53 -06:00
test_agent.py Spin off context module 2017-03-06 16:25:29 +00:00
test_availability_zone.py Spin off context module 2017-03-06 16:25:29 +00:00
test_data_plane_status.py use core resource attribute constants from neutron-lib 2017-06-30 06:25:36 -06:00
test_default_subnetpools.py Fix call a method of extension class 2017-03-30 16:37:23 +09:00
test_dns.py Fix call a method of extension class 2017-03-30 16:37:23 +09:00
test_external_net.py use service type constants from neutron_lib plugins 2017-06-27 15:16:05 -06:00
test_extra_dhcp_opt.py use extra_dhcp_opt api-def from neutron-lib 2017-05-31 15:06:35 +00:00
test_extraroute.py Spin off context module 2017-03-06 16:25:29 +00:00
test_flavors.py Use flake8-import-order plugin 2017-07-05 03:15:27 +00:00
test_l3.py Add callback BEFORE_DELETE for delete_router 2017-07-18 10:50:04 +00:00
test_l3_ext_gw_mode.py Integration of IPAllocation 2017-06-21 17:33:41 +09:00
test_network_ip_availability.py Fix incorrect comments in ip availability test 2017-06-08 09:16:22 +08:00
test_portsecurity.py use neutron-lib port security api-def 2017-05-01 11:45:42 -06:00
test_providernet.py use service type constants from neutron_lib plugins 2017-06-27 15:16:05 -06:00
test_quotasv2.py Decouple tests from default quota size option values 2017-03-07 19:35:51 +00:00
test_quotasv2_detail.py Allow unprivileged users to get their quota usage 2017-08-12 18:21:20 +00:00
test_router_availability_zone.py use service type constants from neutron_lib plugins 2017-06-27 15:16:05 -06:00
test_securitygroup.py Only allow SG port ranges for whitelisted protocols 2018-05-11 00:24:34 +02:00
test_segment.py Move segment deletion back to PRECOMMIT_DELETE 2017-12-06 15:46:04 +00:00
test_servicetype.py Spin off context module 2017-03-06 16:25:29 +00:00
test_subnet_service_types.py Always pass device_owner to _ipam_get_subnets() 2018-02-17 18:32:02 +00:00
test_tag.py Tag mechanism supports resources with standard attribute 2017-07-25 08:14:04 +09:00
test_timestamp.py Use flake8-import-order plugin 2017-07-05 03:15:27 +00:00
test_vlantransparent.py Replace six.iteritems with dict.items(Part-1) 2017-04-17 14:08:47 +08:00
v2attributes.py Use ExtensionDescriptor from neutron-lib 2016-12-02 14:16:06 -05:00