From 3ca2faef79e4a69cd03f202ab1ae26b4e564e743 Mon Sep 17 00:00:00 2001 From: "Claudio D. Gasparini" Date: Mon, 29 Mar 2021 10:02:17 +0200 Subject: 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 Change-Id: I1999195f7b84a259d82f9c5aa31e9fa892e9c3df --- .../PNF_CDS_RESTCONF/Scripts/kotlin/RestconfConfigDeploy.kt | 2 +- .../PNF_CDS_RESTCONF/Scripts/kotlin/RestconfSoftwareUpgrade.kt | 2 +- .../uat-blueprints/pnf_config/Scripts/kotlin/RestconfConfigDeploy.kt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'components/model-catalog/blueprint-model') 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) -- cgit 1.2.3-korg