NSX|V3: Support new icmp codes and types
This patch is to verify and fix support for NSX ver 2.4, which involves new icmp list that is more strict. Change-Id: I91ef1bdc8287ea85281c543353774d6e3cac5ac2 Signed-off-by: Michal Kelner Mishali <mkelnermishal@vmware.com>
This commit is contained in:
parent
906e8f74b1
commit
7630ecb8f2
@ -69,8 +69,8 @@ class TestSecurityGroups(test_nsxv3.NsxV3PluginTestCaseMixin,
|
|||||||
# port_range_min (ICMP type) is greater than port_range_max
|
# port_range_min (ICMP type) is greater than port_range_max
|
||||||
# (ICMP code) in order to confirm min <= max port check is
|
# (ICMP code) in order to confirm min <= max port check is
|
||||||
# not called for ICMP.
|
# not called for ICMP.
|
||||||
port_range_min = 5
|
port_range_min = 14
|
||||||
port_range_max = 1
|
port_range_max = None
|
||||||
keys = [('remote_ip_prefix', remote_ip_prefix),
|
keys = [('remote_ip_prefix', remote_ip_prefix),
|
||||||
('security_group_id', security_group_id),
|
('security_group_id', security_group_id),
|
||||||
('direction', direction),
|
('direction', direction),
|
||||||
@ -106,8 +106,8 @@ class TestSecurityGroupsNoDynamicCriteria(test_nsxv3.NsxV3PluginTestCaseMixin,
|
|||||||
# port_range_min (ICMP type) is greater than port_range_max
|
# port_range_min (ICMP type) is greater than port_range_max
|
||||||
# (ICMP code) in order to confirm min <= max port check is
|
# (ICMP code) in order to confirm min <= max port check is
|
||||||
# not called for ICMP.
|
# not called for ICMP.
|
||||||
port_range_min = 5
|
port_range_min = 14
|
||||||
port_range_max = 1
|
port_range_max = None
|
||||||
keys = [('remote_ip_prefix', remote_ip_prefix),
|
keys = [('remote_ip_prefix', remote_ip_prefix),
|
||||||
('security_group_id', security_group_id),
|
('security_group_id', security_group_id),
|
||||||
('direction', direction),
|
('direction', direction),
|
||||||
|
Loading…
Reference in New Issue
Block a user