diff options
Diffstat (limited to 'appc-provider/appc-provider-model/src/main/yang/appc-provider-lcm.yang')
-rw-r--r-- | appc-provider/appc-provider-model/src/main/yang/appc-provider-lcm.yang | 26 |
1 files changed, 26 insertions, 0 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 423a1e8b3..2e369fae3 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 @@ -5,6 +5,8 @@ * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. * ================================================================================ * Copyright (C) 2017 Amdocs + * ================================================================================ + * Modifications Copyright (C) 2018 Orange * ============================================================================= * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -121,6 +123,7 @@ module appc-provider-lcm { enum "Reboot"; enum "AttachVolume"; enum "DetachVolume"; + enum "DistributeTraffic"; } description "The action to be taken by APP-C, e.g. Restart, Rebuild, Migrate"; @@ -1314,6 +1317,29 @@ module appc-provider-lcm { } } + /********************************************************************************** + * Define the traffic distribution service + **********************************************************************************/ + rpc distribute-traffic { + description "An operation to distribute traffic between VMs"; + 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; + } + } + /********************************************************************************** |