summaryrefslogtreecommitdiffstats
path: root/appc-provider/appc-provider-model/src/main
diff options
context:
space:
mode:
authoryongqiangliu312 <yongqiang.liu@nokia-sbell.com>2020-01-27 10:40:41 +0800
committerPatrick Brady <patrick.brady@att.com>2020-01-29 14:18:45 -0800
commite4c07d4c7eb3105bc6a20eee00fdca592f0cf59b (patch)
tree74e8abcb92df09514c01b6ca041e5643feec33e8 /appc-provider/appc-provider-model/src/main
parentb5fe8a69e90b950c07dc11af481eab7e9bab52c6 (diff)
add new action ConfigScaleIn
Change-Id: Iae4bb797c4e86f66e5e3101fc6715fc2c2be470f Issue-ID: APPC-1760 Signed-off-by: Taka Cho <takamune.cho@att.com> Signed-off-by: Patrick Brady <patrick.brady@att.com>
Diffstat (limited to 'appc-provider/appc-provider-model/src/main')
-rw-r--r--appc-provider/appc-provider-model/src/main/yang/appc-provider-lcm.yang32
1 files changed, 30 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 c060582fa..99de6c4d2 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-2019 Orange
+ * Modifications Copyright (C) 2018-2019 Orange Nokia
* =============================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -138,6 +138,7 @@ module appc-provider-lcm {
enum "StartTraffic";
enum "StatusTraffic";
enum "StopTraffic";
+ enum "ConfigScaleIn";
}
description "The action to be taken by APP-C, e.g. Restart, Rebuild, Migrate";
}
@@ -1755,6 +1756,33 @@ module appc-provider-lcm {
}
/**********************************************************************************
- * Additional RPCs added here...
+ * Define the VNF ConfigScaleIn service
+ **********************************************************************************/
+ rpc config-scale-in {
+ description "An operation to Modify the configuration or other action to support
+ a ConfigScaleIn of a VNF.";
+ input {
+ uses common-header;
+ leaf action {
+ type action;
+ mandatory true;
+ }
+ uses action-identifiers;
+ leaf payload {
+ type payload;
+ mandatory false;
+ }
+ }
+ output {
+ uses common-header;
+ uses status;
+ leaf payload {
+ type payload;
+ mandatory false;
+ }
+ }
+ }
+ /**********************************************************************************
+ * Additional RPCs added here...
**********************************************************************************/
}