Browse Source

Provide option to disable EMC in puppet-vswitch

This patch disables EMC by setting emc-insert-inv-prob to 0.

 Conflicts:
	deployment/neutron/neutron-ovs-agent-container-puppet.yaml

Depends-On: https://review.openstack.org/647955
Change-Id: I36bc91064df224cfdaf01fb38e74ee8a9e4bf407
(cherry picked from commit dbe516df0a)
changes/05/651205/1
Yogananth Subramanian 2 years ago
committed by Yogananth subramanian
parent
commit
a3dc76b062
  1. 9
      puppet/services/neutron-ovs-agent.yaml
  2. 9
      puppet/services/openvswitch.yaml
  3. 3
      releasenotes/notes/OvsDisableEMC-ab29e5c08856d439.yaml

9
puppet/services/neutron-ovs-agent.yaml

@ -87,6 +87,13 @@ parameters:
type: boolean
tags:
- role_specific
OvsDisableEMC:
default: false
description: |
Disable OVS Exact Match Cache.
type: boolean
tags:
- role_specific
NeutronOVSTunnelCsum:
default: false
description: |
@ -120,10 +127,12 @@ resources:
- map_replace:
- neutron::agents::ml2::ovs::bridge_mappings: NeutronBridgeMappings
vswitch::ovs::enable_hw_offload: OvsHwOffload
vswitch::ovs::disable_emc: OvsDisableEMC
- values: {get_param: [RoleParameters]}
- values:
NeutronBridgeMappings: {get_param: NeutronBridgeMappings}
OvsHwOffload: {get_param: OvsHwOffload}
OvsDisableEMC: {get_param: OvsDisableEMC}
outputs:
role_data:

9
puppet/services/openvswitch.yaml

@ -83,6 +83,13 @@ parameters:
default: ""
tags:
- role_specific
OvsDisableEMC:
default: false
description: |
Disable OVS Exact Match Cache.
type: boolean
tags:
- role_specific
outputs:
role_data:
@ -97,6 +104,7 @@ outputs:
vswitch::dpdk::pmd_core_list: OvsPmdCoreList
vswitch::dpdk::memory_channels: OvsDpdkMemoryChannels
vswitch::dpdk::socket_mem: OvsDpdkSocketMemory
vswitch::dpdk::disable_emc: OvsDisableEMC
- values: {get_param: [RoleParameters]}
- values:
OvsDpdkCoreList: {get_param: OvsDpdkCoreList}
@ -104,3 +112,4 @@ outputs:
OvsDpdkSocketMemory: {get_param: OvsDpdkSocketMemory}
OvsDpdkDriverType: {get_param: OvsDpdkDriverType}
OvsPmdCoreList: {get_param: OvsPmdCoreList}
OvsDisableEMC: {get_param: OvsDisableEMC}

3
releasenotes/notes/OvsDisableEMC-ab29e5c08856d439.yaml

@ -0,0 +1,3 @@
---
features:
- Added the configuration option to disable Exact Match Cache (EMC)
Loading…
Cancel
Save