summaryrefslogtreecommitdiffstats
path: root/components/model-catalog/blueprint-model/service-blueprint/vLB/Scripts/python/ConfigDeploy.py
diff options
context:
space:
mode:
authorBrinda Santh Muthuramalingam <brindasanth@in.ibm.com>2019-10-30 16:26:58 +0000
committerGerrit Code Review <gerrit@onap.org>2019-10-30 16:26:58 +0000
commitd15ca6469a83d37f1b71962cf32d1a5b74e7fe97 (patch)
treeb8c92032e88a9ae985b2790f52e95f5d4218d557 /components/model-catalog/blueprint-model/service-blueprint/vLB/Scripts/python/ConfigDeploy.py
parent2703d7ab7045089a381416d6e3b15df5f7e785ef (diff)
parent8360dc945da365c1c33dea2f4e796c51830dd1e6 (diff)
Merge "Modified vf-module-name"
Diffstat (limited to 'components/model-catalog/blueprint-model/service-blueprint/vLB/Scripts/python/ConfigDeploy.py')
-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()