aboutsummaryrefslogtreecommitdiffstats
path: root/appc-provider/appc-provider-model
diff options
context:
space:
mode:
authorosinstom <osinstom@gmail.com>2019-03-08 13:30:28 +0100
committerTakamune Cho <takamune.cho@att.com>2019-03-13 21:02:03 +0000
commit2b284f1d97a2c97a92e7d32f47b46fcb50bae06b (patch)
tree29560dd9e87ea30218dc8f30739f055e059292dd /appc-provider/appc-provider-model
parent651430451d2134d14daab15ebae29eccc878b52b (diff)
Adding DistributeTrafficCheck LCM API
Issue-ID: APPC-1444 Change-Id: I26163c216184eb49daeea01cbb54f0b9803e1f95 Signed-off-by: Tomek Osinski <tomasz.osinski2@orange.com>
Diffstat (limited to 'appc-provider/appc-provider-model')
-rw-r--r--appc-provider/appc-provider-model/src/main/yang/appc-provider-lcm.yang26
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;
+ }
+ }
/**********************************************************************************