aboutsummaryrefslogtreecommitdiffstats
path: root/components/model-catalog/blueprint-model/uat-blueprints/PNF_CDS_RESTCONF/Scripts/kotlin/RestconfSoftwareUpgrade.kt
diff options
context:
space:
mode:
authorClaudio D. Gasparini <claudio.gasparini@intl.att.com>2021-03-29 10:02:17 +0200
committerClaudio David Gasparini <claudio.gasparini@intl.att.com>2021-03-30 14:56:08 +0000
commit3ca2faef79e4a69cd03f202ab1ae26b4e564e743 (patch)
tree87791fd1befe7c697c29d8e0d33b4aaa2cc90e1b /components/model-catalog/blueprint-model/uat-blueprints/PNF_CDS_RESTCONF/Scripts/kotlin/RestconfSoftwareUpgrade.kt
parent53341bfd9e0ed5511ae5246cecc6a840e0dd1136 (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/model-catalog/blueprint-model/uat-blueprints/PNF_CDS_RESTCONF/Scripts/kotlin/RestconfSoftwareUpgrade.kt')
-rw-r--r--components/model-catalog/blueprint-model/uat-blueprints/PNF_CDS_RESTCONF/Scripts/kotlin/RestconfSoftwareUpgrade.kt2
1 files changed, 1 insertions, 1 deletions
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)
}
}