diff options
author | Dan Timoney <dtimoney@att.com> | 2019-12-06 14:02:01 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-12-06 14:02:01 +0000 |
commit | 77e00fff42edeab5ce77e01a20d686faaeee535e (patch) | |
tree | 64f95dc2617178b93efe1024c8d82022f239a6d9 /lcm/model/src/main/yang/lcm.yang | |
parent | 2a3c5a197236f7ba01b39c8bb51a6b977c964eeb (diff) | |
parent | 1ee69b1f0a3fde8d77393f541b12ff6daee11600 (diff) |
Merge "Add LCM APIs for DownloadNeSw and ActivateNeSw actions"
Diffstat (limited to 'lcm/model/src/main/yang/lcm.yang')
-rw-r--r-- | lcm/model/src/main/yang/lcm.yang | 62 |
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 { |