diff --git a/openvswitch/Chart.yaml b/openvswitch/Chart.yaml index 10f3fe016..221e671d5 100644 --- a/openvswitch/Chart.yaml +++ b/openvswitch/Chart.yaml @@ -15,7 +15,7 @@ apiVersion: v1 appVersion: v1.0.0 description: OpenStack-Helm OpenVSwitch name: openvswitch -version: 0.1.8 +version: 0.1.9 home: http://openvswitch.org icon: https://www.openstack.org/themes/openstack/images/project-mascots/Neutron/OpenStack_Project_Neutron_vertical.png sources: diff --git a/openvswitch/templates/bin/_openvswitch-vswitchd.sh.tpl b/openvswitch/templates/bin/_openvswitch-vswitchd.sh.tpl index 82b3c7515..a1a29ccdd 100644 --- a/openvswitch/templates/bin/_openvswitch-vswitchd.sh.tpl +++ b/openvswitch/templates/bin/_openvswitch-vswitchd.sh.tpl @@ -40,7 +40,9 @@ function start () { done ovs-vsctl --db=unix:${OVS_SOCKET} --no-wait show - +{{- if .Values.conf.ovs_hw_offload.enabled }} + ovs-vsctl --db=unix:${OVS_SOCKET} --no-wait set Open_vSwitch . other_config:hw-offload={{ .Values.conf.ovs_hw_offload.enabled }} +{{- end }} {{- if .Values.conf.ovs_other_config.handler_threads }} ovs-vsctl --db=unix:${OVS_SOCKET} --no-wait set Open_vSwitch . other_config:n-handler-threads={{ .Values.conf.ovs_other_config.handler_threads }} {{- end }} diff --git a/openvswitch/values.yaml b/openvswitch/values.yaml index 5cbb30d43..099e7b068 100644 --- a/openvswitch/values.yaml +++ b/openvswitch/values.yaml @@ -225,6 +225,8 @@ conf: ovs_other_config: handler_threads: null revalidator_threads: null + ovs_hw_offload: + enabled: false ovs_dpdk: enabled: false ## Mandatory parameters. Please uncomment when enabling DPDK diff --git a/releasenotes/notes/openvswitch.yaml b/releasenotes/notes/openvswitch.yaml index 31d723a78..bca0586d1 100644 --- a/releasenotes/notes/openvswitch.yaml +++ b/releasenotes/notes/openvswitch.yaml @@ -9,4 +9,5 @@ openvswitch: - 0.1.6 Update htk requirements - 0.1.7 Enable taint toleration for Openstack services jobs - 0.1.8 Added OCI registry authentication + - 0.1.9 Enable ovs hardware offload ...