aboutsummaryrefslogtreecommitdiffstats
path: root/components/model-catalog/blueprint-model/service-blueprint/vLB/Scripts
diff options
context:
space:
mode:
authorhanybaki <habdelbaki.ext@orange.com>2019-10-16 13:20:27 +0200
committerAbdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com>2019-10-27 10:43:39 +0000
commit8360dc945da365c1c33dea2f4e796c51830dd1e6 (patch)
treea91544ce5a6ad61163ebc34e1e4842e13b48d089 /components/model-catalog/blueprint-model/service-blueprint/vLB/Scripts
parent8c16a7853900312866868a61079a336d4b12991a (diff)
Modified vf-module-name
Issue-ID: CCSDK-1816 Signed-off-by: hanybaki <habdelbaki.ext@orange.com> Change-Id: Iee947751589ef640a8c519d5ffabe424835bac93 Signed-off-by: Shaaban Ebrahim <shaaban.eltanany.ext@orange.com> Signed-off-by: root <root@olc-rancher.novalocal> Signed-off-by: Abdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com>
Diffstat (limited to 'components/model-catalog/blueprint-model/service-blueprint/vLB/Scripts')
-rw-r--r--components/model-catalog/blueprint-model/service-blueprint/vLB/Scripts/python/ConfigDeploy.py8
1 files changed, 4 insertions, 4 deletions
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()