Fix wrong packet_type set for IPv6 GRE tunnels in OVS
In patch [1] it was by mistake set to "legacy" but it should be
"legacy_l2".
This patch fixes that mistake.
Closes-bug: #1917448
[1] https://review.opendev.org/c/openstack/neutron/+/763204
Conflicts:
neutron/tests/functional/agent/common/test_ovs_lib.py
Change-Id: Idb743bbfd5454b8d245c4dd4b8c3d7021e90d238
(cherry picked from commit 1dbe389392
)
This commit is contained in:
parent
2e52d3f554
commit
a10a0cc3c4
|
@ -546,7 +546,7 @@ class OVSBridge(BaseOVS):
|
|||
if tunnel_type == TYPE_GRE_IP6:
|
||||
# NOTE(slaweq) According to the OVS documentation L3 GRE tunnels
|
||||
# over IPv6 are not supported.
|
||||
options['packet_type'] = 'legacy'
|
||||
options['packet_type'] = 'legacy_l2'
|
||||
attrs.append(('options', options))
|
||||
|
||||
return self.add_port(port_name, *attrs)
|
||||
|
|
|
@ -234,6 +234,7 @@ class OVSBridgeTestCase(OVSBridgeTestBase):
|
|||
attrs = {
|
||||
'remote_ip': '2001:db8:200::1',
|
||||
'local_ip': '2001:db8:100::1',
|
||||
'packet_type': 'legacy_l2',
|
||||
}
|
||||
self._test_add_tunnel_port(
|
||||
attrs, expected_tunnel_type=ovs_lib.TYPE_GRE_IP6)
|
||||
|
|
Loading…
Reference in New Issue