aboutsummaryrefslogtreecommitdiffstats
path: root/appc-provider/appc-provider-model/src
diff options
context:
space:
mode:
Diffstat (limited to 'appc-provider/appc-provider-model/src')
-rw-r--r--appc-provider/appc-provider-model/src/main/yang/appc-provider-lcm.yang44
1 files changed, 42 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 d72b551a8..d46ba8cb4 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
@@ -110,6 +110,8 @@ module appc-provider-lcm {
enum "ConfigBackup";
enum "ConfigBackupDelete";
enum "ConfigExport";
+ enum "StopApplication";
+ enum "StartApplication";
}
description "The action to be taken by APP-C, e.g. Restart, Rebuild, Migrate";
}
@@ -922,8 +924,46 @@ module appc-provider-lcm {
uses common-header;
uses status;
}
- }
-
+ }
+ rpc stop-application {
+ description "An operation to Stop Application traffic to a virtual network function";
+ 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;
+ }
+ }
+
+ rpc start-application {
+ description "An operation to Start Application traffic to a virtual network function";
+ 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;
+ }
+ }
/**********************************************************************************
* Additional RPCs added here...
**********************************************************************************/