diff options
author | 2019-10-30 16:26:58 +0000 | |
---|---|---|
committer | 2019-10-30 16:26:58 +0000 | |
commit | d15ca6469a83d37f1b71962cf32d1a5b74e7fe97 (patch) | |
tree | b8c92032e88a9ae985b2790f52e95f5d4218d557 /components/model-catalog/blueprint-model/service-blueprint/vLB/Scripts/python/ConfigDeploy.py | |
parent | 2703d7ab7045089a381416d6e3b15df5f7e785ef (diff) | |
parent | 8360dc945da365c1c33dea2f4e796c51830dd1e6 (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.py | 8 |
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()
|