Merge "fix typo,trailing spaces and unittest"
This commit is contained in:
@@ -125,11 +125,10 @@ options:
|
||||
type: boolean
|
||||
default: True
|
||||
description: >
|
||||
When enabled, the length of packets traversing router gateway ports
|
||||
will be checked, and if necessary ICMPv4 type 3 (Destination
|
||||
When enabled, the length of packets traversing router gateway ports
|
||||
will be checked, and if necessary ICMPv4 type 3 (Destination
|
||||
Unreachable) code 4 (Fragmentation Needed and Don't Fragment was Set)
|
||||
or ICMPv6 type 2 (Packet Too Big) code 0 (no route to destination)
|
||||
packets will be generated.
|
||||
or ICMPv6 type 2 (Packet Too Big) packets will be generated.
|
||||
|
||||
Note that a performance penalty may incur on older kernel versions (<= 5.2)
|
||||
Note that a performance penalty may occur on older kernel versions (<= 5.2)
|
||||
or if hardware acceleration does not support the ``check_pkt_len`` action.
|
||||
|
||||
@@ -145,7 +145,7 @@ class TestOvnHandlers(test_utils.PatchHelper):
|
||||
options.ovn_l3_scheduler = self.pmock('aSched')
|
||||
options.ovn_metadata_enabled = self.pmock('aMetaData')
|
||||
options.enable_distributed_floating_ip = self.pmock('dont')
|
||||
options.enable_emit_need_to_frag = self.pmock(False)
|
||||
options.enable_emit_need_to_frag = self.pmock('aFrag')
|
||||
options.dns_servers = self.pmock('dns1 dns2')
|
||||
options.geneve_vni_ranges = self.pmock('vnia:vniA vnib:vniB')
|
||||
options.dhcp_default_lease_time = self.pmock(42)
|
||||
@@ -187,7 +187,7 @@ class TestOvnHandlers(test_utils.PatchHelper):
|
||||
('dhcp_default_lease_time', 42),
|
||||
('ovn_dhcp4_global_options', 'a:A4,b:B4'),
|
||||
('ovn_dhcp6_global_options', 'a:A6,b:B6'),
|
||||
('ovn_emit_need_to_frag', False),
|
||||
('ovn_emit_need_to_frag', 'aFrag'),
|
||||
('vhost_sock_dir', '/run/libvirt-vhost-user')
|
||||
],
|
||||
'ml2_type_geneve': [
|
||||
|
||||
Reference in New Issue
Block a user