diff options
author | Dan Timoney <dt5972@att.com> | 2018-08-20 16:32:20 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-08-20 16:32:20 +0000 |
commit | ee94ed012c215863c58f00894a28c38c3b1584b9 (patch) | |
tree | 5529fefb0cf9b2c63fd279fdffab92d0450560ba /lcm/model/src/main | |
parent | 117b08faba226c79484572516efe3b6e861c1e48 (diff) | |
parent | 634b640f2aa3779b94ab54ebf959030b563fb072 (diff) |
Merge "add LCM DistributeTraffic"
Diffstat (limited to 'lcm/model/src/main')
-rw-r--r-- | lcm/model/src/main/yang/lcm.yang | 25 |
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 { |