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
)
This commit is contained in:
parent
913b739470
commit
a3dc76b062
|
@ -87,6 +87,13 @@ parameters:
|
||||||
type: boolean
|
type: boolean
|
||||||
tags:
|
tags:
|
||||||
- role_specific
|
- role_specific
|
||||||
|
OvsDisableEMC:
|
||||||
|
default: false
|
||||||
|
description: |
|
||||||
|
Disable OVS Exact Match Cache.
|
||||||
|
type: boolean
|
||||||
|
tags:
|
||||||
|
- role_specific
|
||||||
NeutronOVSTunnelCsum:
|
NeutronOVSTunnelCsum:
|
||||||
default: false
|
default: false
|
||||||
description: |
|
description: |
|
||||||
|
@ -120,10 +127,12 @@ resources:
|
||||||
- map_replace:
|
- map_replace:
|
||||||
- neutron::agents::ml2::ovs::bridge_mappings: NeutronBridgeMappings
|
- neutron::agents::ml2::ovs::bridge_mappings: NeutronBridgeMappings
|
||||||
vswitch::ovs::enable_hw_offload: OvsHwOffload
|
vswitch::ovs::enable_hw_offload: OvsHwOffload
|
||||||
|
vswitch::ovs::disable_emc: OvsDisableEMC
|
||||||
- values: {get_param: [RoleParameters]}
|
- values: {get_param: [RoleParameters]}
|
||||||
- values:
|
- values:
|
||||||
NeutronBridgeMappings: {get_param: NeutronBridgeMappings}
|
NeutronBridgeMappings: {get_param: NeutronBridgeMappings}
|
||||||
OvsHwOffload: {get_param: OvsHwOffload}
|
OvsHwOffload: {get_param: OvsHwOffload}
|
||||||
|
OvsDisableEMC: {get_param: OvsDisableEMC}
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
role_data:
|
role_data:
|
||||||
|
|
|
@ -83,6 +83,13 @@ parameters:
|
||||||
default: ""
|
default: ""
|
||||||
tags:
|
tags:
|
||||||
- role_specific
|
- role_specific
|
||||||
|
OvsDisableEMC:
|
||||||
|
default: false
|
||||||
|
description: |
|
||||||
|
Disable OVS Exact Match Cache.
|
||||||
|
type: boolean
|
||||||
|
tags:
|
||||||
|
- role_specific
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
role_data:
|
role_data:
|
||||||
|
@ -97,6 +104,7 @@ outputs:
|
||||||
vswitch::dpdk::pmd_core_list: OvsPmdCoreList
|
vswitch::dpdk::pmd_core_list: OvsPmdCoreList
|
||||||
vswitch::dpdk::memory_channels: OvsDpdkMemoryChannels
|
vswitch::dpdk::memory_channels: OvsDpdkMemoryChannels
|
||||||
vswitch::dpdk::socket_mem: OvsDpdkSocketMemory
|
vswitch::dpdk::socket_mem: OvsDpdkSocketMemory
|
||||||
|
vswitch::dpdk::disable_emc: OvsDisableEMC
|
||||||
- values: {get_param: [RoleParameters]}
|
- values: {get_param: [RoleParameters]}
|
||||||
- values:
|
- values:
|
||||||
OvsDpdkCoreList: {get_param: OvsDpdkCoreList}
|
OvsDpdkCoreList: {get_param: OvsDpdkCoreList}
|
||||||
|
@ -104,3 +112,4 @@ outputs:
|
||||||
OvsDpdkSocketMemory: {get_param: OvsDpdkSocketMemory}
|
OvsDpdkSocketMemory: {get_param: OvsDpdkSocketMemory}
|
||||||
OvsDpdkDriverType: {get_param: OvsDpdkDriverType}
|
OvsDpdkDriverType: {get_param: OvsDpdkDriverType}
|
||||||
OvsPmdCoreList: {get_param: OvsPmdCoreList}
|
OvsPmdCoreList: {get_param: OvsPmdCoreList}
|
||||||
|
OvsDisableEMC: {get_param: OvsDisableEMC}
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
features:
|
||||||
|
- Added the configuration option to disable Exact Match Cache (EMC)
|
Loading…
Reference in New Issue