Add parameter OVNEncapTos

Added parameter OVNEncapTos to indicates the value to be applied to
the OVN tunnel interface's option:tos, as specified in the
Open_vSwitch database Interface table. The default value is "0".
"inherit" allows to copy the inner ToS into the outer packet header.

Closes-Bug: #1987382
Depends-on: https://review.opendev.org/854221
Change-Id: Ia7c09fb987cbdca50a4ba693bfd79b8b3c503808
(cherry picked from commit 70509f5c3f)
This commit is contained in:
Rodolfo Alonso Hernandez 2022-08-12 12:30:15 +02:00 committed by Rodolfo Alonso
parent 1d6d040da6
commit ffc854fed7
2 changed files with 18 additions and 0 deletions

View File

@ -93,6 +93,15 @@ parameters:
default: ""
tags:
- role_specific
OVNEncapTos:
description: >
The value to be applied to OVN tunnel interface's option:tos as
specified in the Open_vSwitch database Interface table. This
feature is supported from OVN v21.12.0.
type: string
default: "0"
tags:
- role_specific
OvsHwOffload:
default: false
description: |
@ -206,12 +215,14 @@ resources:
- - OVNCMSOptions
- ",availability-zones="
- {get_param: OVNAvailabilityZone}
ovn::controller::ovn_encap_tos: OVNEncapTos
vswitch::ovs::enable_hw_offload: OvsHwOffload
container_cpuset_cpus: OVNContainerCpusetCpus
- values: {get_param: [RoleParameters]}
- values:
NeutronBridgeMappings: {get_param: NeutronBridgeMappings}
OVNCMSOptions: {get_param: OVNCMSOptions}
OVNEncapTos: {get_param: OVNEncapTos}
OvsHwOffload: {get_param: OvsHwOffload}
OVNContainerCpusetCpus: {get_param: OVNContainerCpusetCpus}

View File

@ -0,0 +1,7 @@
---
features:
- |
Added parameter OVNEncapTos to indicates the value to be applied to
the OVN tunnel interface's option:tos, as specified in the
Open_vSwitch database Interface table. The default value is "0".
"inherit" allows to copy the inner ToS into the outer packet header.