summaryrefslogtreecommitdiffstats
path: root/appc-sequence-generator/appc-sequence-generator-bundle/src/main/resources/payload.json
diff options
context:
space:
mode:
authorGeorge, Lina (lg941u) <lg941u@att.com>2018-07-06 12:25:32 -0400
committerTakamune Cho <tc012c@att.com>2018-07-10 13:08:54 +0000
commit72dbb19dd424ef559422bd0243d6a3179e01c382 (patch)
tree3dd546cdfe7a3035f947423ed6221c14c23212d9 /appc-sequence-generator/appc-sequence-generator-bundle/src/main/resources/payload.json
parentda8d16cb974f9b203a59fb350e2179bf19ac3bce (diff)
Added seq generator changes for vnf level actions
Issue-ID: APPC-921 Change-Id: I43c2cb044783ce4cd74f9685a333b52e4c7ad1fe Signed-off-by: George, Lina (lg941u) <lg941u@att.com>
Diffstat (limited to 'appc-sequence-generator/appc-sequence-generator-bundle/src/main/resources/payload.json')
-rw-r--r--appc-sequence-generator/appc-sequence-generator-bundle/src/main/resources/payload.json27
1 files changed, 27 insertions, 0 deletions
diff --git a/appc-sequence-generator/appc-sequence-generator-bundle/src/main/resources/payload.json b/appc-sequence-generator/appc-sequence-generator-bundle/src/main/resources/payload.json
new file mode 100644
index 000000000..58eb605e2
--- /dev/null
+++ b/appc-sequence-generator/appc-sequence-generator-bundle/src/main/resources/payload.json
@@ -0,0 +1,27 @@
+{
+"output_payload-model": {
+ "sequence-generator": "multistep-sequence-generator",
+ "action-list": [{
+ "action": "start",
+ "payload-fields": {
+ "identity-url": "$identity-url",
+ "vm-id": "$vm-id"
+ }
+ },
+ {
+ "action": "stop",
+ "payload-fields": {
+ "identity-url": "$identity-url",
+ "vm-id": "$vm-id"
+ }
+ },
+ {
+ "action": "restart",
+ "payload-fields": {
+ "identity-url": "$identity-url",
+ "vm-id": "$vm-id"
+ }
+ }
+ ]
+ }
+}