From 8360dc945da365c1c33dea2f4e796c51830dd1e6 Mon Sep 17 00:00:00 2001 From: hanybaki Date: Wed, 16 Oct 2019 13:20:27 +0200 Subject: Modified vf-module-name Issue-ID: CCSDK-1816 Signed-off-by: hanybaki Change-Id: Iee947751589ef640a8c519d5ffabe424835bac93 Signed-off-by: Shaaban Ebrahim Signed-off-by: root Signed-off-by: Abdelmuhaimen Seaudi --- .../service-blueprint/vLB/Scripts/python/ConfigDeploy.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'components/model-catalog/blueprint-model/service-blueprint/vLB/Scripts') diff --git a/components/model-catalog/blueprint-model/service-blueprint/vLB/Scripts/python/ConfigDeploy.py b/components/model-catalog/blueprint-model/service-blueprint/vLB/Scripts/python/ConfigDeploy.py index 34fd1404d..388c63ffb 100644 --- a/components/model-catalog/blueprint-model/service-blueprint/vLB/Scripts/python/ConfigDeploy.py +++ b/components/model-catalog/blueprint-model/service-blueprint/vLB/Scripts/python/ConfigDeploy.py @@ -40,11 +40,11 @@ class ConfigDeploy(NetconfComponentFunction): #if not response.isSuccess(): # og.error(response.errorMessage) nc.discard_change() - nc.edit_config(message_content=payloadInterface, edit_default_peration="none") - nc.edit_config(message_content=payloadHostname, edit_default_peration="none") - nc.validate() + nc.edit_config(message_content=payloadInterface, edit_default_peration="merge") + nc.edit_config(message_content=payloadHostname, edit_default_peration="merge") + #nc.validate() nc.commit() - #nc.commit(confirmed = True, confirm_timeout=15) + nc.get_config() #nc.commit(confirmed = True, confirm_timeout=15) nc.unlock() nc.disconnect() -- cgit 1.2.3-korg