diff options
author | Claudio D. Gasparini <claudio.gasparini@intl.att.com> | 2021-03-29 10:02:17 +0200 |
---|---|---|
committer | Claudio David Gasparini <claudio.gasparini@intl.att.com> | 2021-03-30 14:56:08 +0000 |
commit | 3ca2faef79e4a69cd03f202ab1ae26b4e564e743 (patch) | |
tree | 87791fd1befe7c697c29d8e0d33b4aaa2cc90e1b /components | |
parent | 53341bfd9e0ed5511ae5246cecc6a840e0dd1136 (diff) |
Extend Restconf executor function
provide capability to
- execute a sorted array of restconf actions
- mount odl restconf node
Issue-ID: CCSDK-3241
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@intl.att.com>
Change-Id: I1999195f7b84a259d82f9c5aa31e9fa892e9c3df
Diffstat (limited to 'components')
3 files changed, 3 insertions, 3 deletions
diff --git a/components/model-catalog/blueprint-model/uat-blueprints/PNF_CDS_RESTCONF/Scripts/kotlin/RestconfConfigDeploy.kt b/components/model-catalog/blueprint-model/uat-blueprints/PNF_CDS_RESTCONF/Scripts/kotlin/RestconfConfigDeploy.kt index 78ab34e9e..d422b7d67 100644 --- a/components/model-catalog/blueprint-model/uat-blueprints/PNF_CDS_RESTCONF/Scripts/kotlin/RestconfConfigDeploy.kt +++ b/components/model-catalog/blueprint-model/uat-blueprints/PNF_CDS_RESTCONF/Scripts/kotlin/RestconfConfigDeploy.kt @@ -77,7 +77,7 @@ class RestconfConfigDeploy : AbstractScriptComponentFunction() { log.error("an error occurred while configuring device {}", err) } finally { // Un mount device - restconfUnMountDevice(webclientService, deviceID, "") + restconfUnMountDevice(webclientService, deviceID) } } catch (bpe: BlueprintProcessorException) { log.error("Error looking up server identifier ", bpe) diff --git a/components/model-catalog/blueprint-model/uat-blueprints/PNF_CDS_RESTCONF/Scripts/kotlin/RestconfSoftwareUpgrade.kt b/components/model-catalog/blueprint-model/uat-blueprints/PNF_CDS_RESTCONF/Scripts/kotlin/RestconfSoftwareUpgrade.kt index 96345f0d3..f2335c138 100644 --- a/components/model-catalog/blueprint-model/uat-blueprints/PNF_CDS_RESTCONF/Scripts/kotlin/RestconfSoftwareUpgrade.kt +++ b/components/model-catalog/blueprint-model/uat-blueprints/PNF_CDS_RESTCONF/Scripts/kotlin/RestconfSoftwareUpgrade.kt @@ -66,7 +66,7 @@ class RestconfSoftwareUpgrade : AbstractScriptComponentFunction() { } catch (err: Exception) { log.error("an error occurred while configuring device {}", err) } finally { - restconfUnMountDevice(model.client, model.deviceId, "") + restconfUnMountDevice(model.client, model.deviceId) } } diff --git a/components/model-catalog/blueprint-model/uat-blueprints/pnf_config/Scripts/kotlin/RestconfConfigDeploy.kt b/components/model-catalog/blueprint-model/uat-blueprints/pnf_config/Scripts/kotlin/RestconfConfigDeploy.kt index 2ba527ac1..039685575 100644 --- a/components/model-catalog/blueprint-model/uat-blueprints/pnf_config/Scripts/kotlin/RestconfConfigDeploy.kt +++ b/components/model-catalog/blueprint-model/uat-blueprints/pnf_config/Scripts/kotlin/RestconfConfigDeploy.kt @@ -66,7 +66,7 @@ class RestconfConfigDeploy : AbstractScriptComponentFunction() { log.error("an error occurred while configuring device {}", err) } finally { // Un mount device - restconfUnMountDevice(webclientService, deviceID, "") + restconfUnMountDevice(webclientService, deviceID) } } catch (bpe: BlueprintProcessorException) { log.error("Error looking up server identifier ", bpe) |