* 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.
enum "Reboot";
enum "AttachVolume";
enum "DetachVolume";
+ enum "DistributeTraffic";
}
description "The action to be taken by APP-C, e.g. Restart, Rebuild, Migrate";
}
}
+ /**********************************************************************************
+ * 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;
+ }
+ }
+
/**********************************************************************************