From ccf3f0b586baa689174226d51c9fe0ce970255ac Mon Sep 17 00:00:00 2001 From: Hamdy Khader Date: Thu, 7 Nov 2019 14:55:10 +0200 Subject: [PATCH] Added the ability to disable Mellanox SDN sync Added the ability to disable Mellanox SDN sync by using param `MlnxSDNSyncEnabled` from file `neutron-ml2-mlnx-sdn.yaml` Change-Id: Id93a8637980276298c2b7d3f6d1e7c30f1c413be --- .../neutron-plugin-ml2-mlnx-sdn-assist-container-puppet.yaml | 4 ++++ environments/neutron-ml2-mlnx-sdn.yaml | 1 + 2 files changed, 5 insertions(+) diff --git a/deployment/neutron/neutron-plugin-ml2-mlnx-sdn-assist-container-puppet.yaml b/deployment/neutron/neutron-plugin-ml2-mlnx-sdn-assist-container-puppet.yaml index 4eb3e78ac0..7b05015075 100644 --- a/deployment/neutron/neutron-plugin-ml2-mlnx-sdn-assist-container-puppet.yaml +++ b/deployment/neutron/neutron-plugin-ml2-mlnx-sdn-assist-container-puppet.yaml @@ -48,6 +48,9 @@ parameters: description: SDN server domain type: string default: 'cloudx' + MlnxSDNSyncEnabled: + type: boolean + default: true MultiInterfaceEnabled: type: boolean default: false @@ -83,6 +86,7 @@ outputs: neutron::plugins::ml2::mellanox::mlnx_sdn_assist::sdn_password: {get_param: MlnxSDNPassword} neutron::plugins::ml2::mellanox::mlnx_sdn_assist::sdn_url: {get_param: MlnxSDNUrl} neutron::plugins::ml2::mellanox::mlnx_sdn_assist::sdn_domain: {get_param: MlnxSDNDomain} + neutron::plugins::ml2::mellanox::mlnx_sdn_assist::sync_enabled: {get_param: MlnxSDNSyncEnabled} - if: - multi_interface_enabled diff --git a/environments/neutron-ml2-mlnx-sdn.yaml b/environments/neutron-ml2-mlnx-sdn.yaml index c55f59ec4d..5732a516b6 100644 --- a/environments/neutron-ml2-mlnx-sdn.yaml +++ b/environments/neutron-ml2-mlnx-sdn.yaml @@ -9,6 +9,7 @@ parameter_defaults: #MlnxSDNPassword: MlnxSDNUrl: 'sdn_url' MlnxSDNDomain: 'cloudx' + MlnxSDNSyncEnabled: true NeutronCorePlugin: 'neutron.plugins.ml2.plugin.Ml2Plugin' NeutronMechanismDrivers: ['mlnx_sdn_assist','sriovnicswitch','openvswitch']