diff options
Diffstat (limited to 'appc-provider/appc-provider-model/src/main')
-rw-r--r-- | appc-provider/appc-provider-model/src/main/yang/appc-provider-lcm.yang | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/appc-provider/appc-provider-model/src/main/yang/appc-provider-lcm.yang b/appc-provider/appc-provider-model/src/main/yang/appc-provider-lcm.yang index 2e369fae3..2b8521a61 100644 --- a/appc-provider/appc-provider-model/src/main/yang/appc-provider-lcm.yang +++ b/appc-provider/appc-provider-model/src/main/yang/appc-provider-lcm.yang @@ -6,7 +6,7 @@ * ================================================================================ * Copyright (C) 2017 Amdocs * ================================================================================ - * Modifications Copyright (C) 2018 Orange + * Modifications Copyright (C) 2018-2019 Orange * ============================================================================= * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -124,7 +124,7 @@ module appc-provider-lcm { enum "AttachVolume"; enum "DetachVolume"; enum "DistributeTraffic"; - + enum "DistributeTrafficCheck"; } description "The action to be taken by APP-C, e.g. Restart, Rebuild, Migrate"; } @@ -1340,6 +1340,28 @@ module appc-provider-lcm { } } + /********************************************************************************** + * Define the distribute traffic check service + **********************************************************************************/ + rpc distribute-traffic-check { + description "An operation to check conditions and the result of DistributeTraffic."; + 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; + } + } /********************************************************************************** |