summaryrefslogtreecommitdiffstats
path: root/lcm/model/src/main/yang/lcm.yang
diff options
context:
space:
mode:
Diffstat (limited to 'lcm/model/src/main/yang/lcm.yang')
-rw-r--r--lcm/model/src/main/yang/lcm.yang62
1 files changed, 62 insertions, 0 deletions
diff --git a/lcm/model/src/main/yang/lcm.yang b/lcm/model/src/main/yang/lcm.yang
index cbb772fb0..55af1159d 100644
--- a/lcm/model/src/main/yang/lcm.yang
+++ b/lcm/model/src/main/yang/lcm.yang
@@ -114,6 +114,8 @@ module LCM {
enum "DistributeTraffic";
enum "UpgradePreCheck";
enum "UpgradeSoftware";
+ enum "DownloadNeSw";
+ enum "ActivateNeSw";
enum "UpgradePostCheck";
enum "UpgradeBackup";
enum "UpgradeBackout";
@@ -311,6 +313,12 @@ module LCM {
type string;
mandatory false;
}
+ leaf pnf-id {
+ description "identifies the PNF to which this action is to be applied.";
+ type string;
+ mandatory false;
+ }
+
}
}
@@ -592,6 +600,60 @@ module LCM {
}
/**********************************************************************************
+ * Define the downloadNeSw operation
+ **********************************************************************************/
+ rpc download-ne-sw {
+ description "An operation to download NE software";
+ input {
+ uses common-header;
+ leaf action {
+ type action;
+ mandatory true;
+ }
+ uses action-identifiers;
+ leaf payload {
+ type payload;
+ mandatory true;
+ }
+ }
+ output {
+ uses common-header;
+ uses status;
+ leaf payload {
+ type payload;
+ mandatory true;
+ }
+ }
+ }
+
+ /**********************************************************************************
+ * Define the activateNeSw operation
+ **********************************************************************************/
+ rpc activate-ne-sw {
+ description "An operation to activate NE software";
+ input {
+ uses common-header;
+ leaf action {
+ type action;
+ mandatory true;
+ }
+ uses action-identifiers;
+ leaf payload {
+ type payload;
+ mandatory true;
+ }
+ }
+ output {
+ uses common-header;
+ uses status;
+ leaf payload {
+ type payload;
+ mandatory true;
+ }
+ }
+ }
+
+ /**********************************************************************************
* Define the VNF UpgradePostCheck service
**********************************************************************************/
rpc upgrade-post-check {