aboutsummaryrefslogtreecommitdiffstats
path: root/lcm/model
diff options
context:
space:
mode:
authorDan Timoney <dt5972@att.com>2018-08-20 16:32:20 +0000
committerGerrit Code Review <gerrit@onap.org>2018-08-20 16:32:20 +0000
commitee94ed012c215863c58f00894a28c38c3b1584b9 (patch)
tree5529fefb0cf9b2c63fd279fdffab92d0450560ba /lcm/model
parent117b08faba226c79484572516efe3b6e861c1e48 (diff)
parent634b640f2aa3779b94ab54ebf959030b563fb072 (diff)
Merge "add LCM DistributeTraffic"
Diffstat (limited to 'lcm/model')
-rw-r--r--lcm/model/src/main/yang/lcm.yang25
1 files changed, 25 insertions, 0 deletions
diff --git a/lcm/model/src/main/yang/lcm.yang b/lcm/model/src/main/yang/lcm.yang
index 9976dd9e..a03fff60 100644
--- a/lcm/model/src/main/yang/lcm.yang
+++ b/lcm/model/src/main/yang/lcm.yang
@@ -111,6 +111,7 @@ module LCM {
enum "StartApplication";
enum "QuiesceTraffic";
enum "ResumeTraffic";
+ enum "DistributeTraffic";
enum "UpgradePreCheck";
enum "UpgradeSoftware";
enum "UpgradePostCheck";
@@ -517,6 +518,30 @@ module LCM {
}
/**********************************************************************************
+ * Define the VNF distribute traffic service
+ **********************************************************************************/
+ rpc distribute-traffic {
+ description "An operation to distribute traffic gracefully on the VF.
+ It distributes traffic gracefully without stopping the application";
+ 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;
+ }
+ }
+
+ /**********************************************************************************
* Define the VNF UpgradePreCheck service
**********************************************************************************/
rpc upgrade-pre-check {