From 786079a1057edd45cd5b929b75d7d2f968d6e4e6 Mon Sep 17 00:00:00 2001 From: Parker Berberian Date: Wed, 20 Dec 2017 13:21:16 -0500 Subject: Adds workflows to deploy and clean hosts JIRA: PHAROS-322 JIRA: PHAROS-333 Adds the workflows that deploy a host on the start of a booking and cleans the host at the end of the booking automatically. Change-Id: Ice1477df5caf12386402528c4e59637bf0f46670 Signed-off-by: Parker Berberian --- .../pharoslaas/actions/workflows/clean-workflow.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 laas-fog/pharoslaas/actions/workflows/clean-workflow.yaml (limited to 'laas-fog/pharoslaas/actions/workflows/clean-workflow.yaml') diff --git a/laas-fog/pharoslaas/actions/workflows/clean-workflow.yaml b/laas-fog/pharoslaas/actions/workflows/clean-workflow.yaml new file mode 100644 index 0000000..c0a13e7 --- /dev/null +++ b/laas-fog/pharoslaas/actions/workflows/clean-workflow.yaml @@ -0,0 +1,16 @@ +--- +chain: + - + name: "image" + ref: "pharoslaas.fog_imageWorkflow" + parameters: + host: "{{host}}" + on-success: "delete_vpn_user" + + - + name: "delete_vpn_user" + ref: "pharoslaas.vpn_delete_user" + parameters: + key: "{{key}}" + +default: "image" -- cgit 1.2.3-korg