Merge "Clear skb mark on encapsulating packets" into stable/pike

This commit is contained in:
Zuul 2019-08-14 00:14:29 +00:00 committed by Gerrit Code Review
commit a9445eec6f
2 changed files with 6 additions and 2 deletions

View File

@ -478,6 +478,7 @@ class OVSBridge(BaseOVS):
options['local_ip'] = local_ip
options['in_key'] = 'flow'
options['out_key'] = 'flow'
options['egress_pkt_mark'] = '0'
if tunnel_csum:
options['csum'] = str(tunnel_csum).lower()
attrs.append(('options', options))

View File

@ -471,7 +471,8 @@ class OVS_Lib_Test(base.BaseTestCase):
"options:remote_ip=" + remote_ip,
"options:local_ip=" + local_ip,
"options:in_key=flow",
"options:out_key=flow"])
"options:out_key=flow",
"options:egress_pkt_mark=0"])
# Each element is a tuple of (expected mock call, return_value)
expected_calls_and_values = [
(self._vsctl_mock(*command), None),
@ -501,7 +502,8 @@ class OVS_Lib_Test(base.BaseTestCase):
"options:remote_ip=" + remote_ip,
"options:local_ip=" + local_ip,
"options:in_key=flow",
"options:out_key=flow"])
"options:out_key=flow",
"options:egress_pkt_mark=0"])
# Each element is a tuple of (expected mock call, return_value)
expected_calls_and_values = [
(self._vsctl_mock(*command), None),
@ -535,6 +537,7 @@ class OVS_Lib_Test(base.BaseTestCase):
"options:local_ip=" + local_ip,
"options:in_key=flow",
"options:out_key=flow",
"options:egress_pkt_mark=0",
"options:csum=true"])
# Each element is a tuple of (expected mock call, return_value)
expected_calls_and_values = [