summaryrefslogtreecommitdiffstats
path: root/lcm/model/src
diff options
context:
space:
mode:
Diffstat (limited to 'lcm/model/src')
-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 9976dd9e5..a03fff607 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 {