Browse Source

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>
changes/76/591276/6
Michal Kelner Mishali 3 years ago
committed by Adit Sarfaty
parent
commit
7630ecb8f2
  1. 8
      vmware_nsx/tests/unit/extensions/test_securitygroup.py

8
vmware_nsx/tests/unit/extensions/test_securitygroup.py

@ -69,8 +69,8 @@ class TestSecurityGroups(test_nsxv3.NsxV3PluginTestCaseMixin,
# port_range_min (ICMP type) is greater than port_range_max
# (ICMP code) in order to confirm min <= max port check is
# not called for ICMP.
port_range_min = 5
port_range_max = 1
port_range_min = 14
port_range_max = None
keys = [('remote_ip_prefix', remote_ip_prefix),
('security_group_id', security_group_id),
('direction', direction),
@ -106,8 +106,8 @@ class TestSecurityGroupsNoDynamicCriteria(test_nsxv3.NsxV3PluginTestCaseMixin,
# port_range_min (ICMP type) is greater than port_range_max
# (ICMP code) in order to confirm min <= max port check is
# not called for ICMP.
port_range_min = 5
port_range_max = 1
port_range_min = 14
port_range_max = None
keys = [('remote_ip_prefix', remote_ip_prefix),
('security_group_id', security_group_id),
('direction', direction),

Loading…
Cancel
Save