Adds ability to capture and image hosts 85/49385/1
authorParker Berberian <pberberian@iol.unh.edu>
Wed, 20 Dec 2017 18:04:12 +0000 (13:04 -0500)
committerParker Berberian <pberberian@iol.unh.edu>
Wed, 20 Dec 2017 18:04:12 +0000 (13:04 -0500)
commitbfd1f0efbe3196cdd6ab6bb811fc53828e45528f
treeb2747aab9a5d092a9977c0e7133ebc16eb809117
parentfc52e89492c20ca7a93d4e48f0cfa01ddacf7fa8
Adds ability to capture and image hosts

JIRA: PHAROS-322

Adds the action metadata files, action code, and workflow definitions
that allows us to image a selected host with any disk image or operating system.

For example, to install ubuntu on host "pod4", run

st2 run pharoslaas.fog_imageWorkflow host=pod4 os=ubuntu

Change-Id: I9cb0bf031f19313b3b9ad6c5e3ed11dff4ea2039
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
19 files changed:
laas-fog/pharoslaas/actions/fogAction.py [new file with mode: 0644]
laas-fog/pharoslaas/actions/fog_captureHost.py [new file with mode: 0644]
laas-fog/pharoslaas/actions/fog_captureHost.yaml [new file with mode: 0644]
laas-fog/pharoslaas/actions/fog_captureWorkflow.yaml [new file with mode: 0644]
laas-fog/pharoslaas/actions/fog_changeImage.py [new file with mode: 0644]
laas-fog/pharoslaas/actions/fog_changeImage.yaml [new file with mode: 0644]
laas-fog/pharoslaas/actions/fog_imageWorkflow.yaml [new file with mode: 0644]
laas-fog/pharoslaas/actions/fog_startImaging.py [new file with mode: 0644]
laas-fog/pharoslaas/actions/fog_startImaging.yaml [new file with mode: 0644]
laas-fog/pharoslaas/actions/fog_waitForCapture.py [new file with mode: 0644]
laas-fog/pharoslaas/actions/fog_waitForCapture.yaml [new file with mode: 0644]
laas-fog/pharoslaas/actions/fog_waitForImaging.py [new file with mode: 0644]
laas-fog/pharoslaas/actions/fog_waitForImaging.yaml [new file with mode: 0644]
laas-fog/pharoslaas/actions/restartHost.sh [new file with mode: 0644]
laas-fog/pharoslaas/actions/restartHost.yaml [new file with mode: 0644]
laas-fog/pharoslaas/actions/waitForBoot.sh [new file with mode: 0644]
laas-fog/pharoslaas/actions/waitForBoot.yaml [new file with mode: 0644]
laas-fog/pharoslaas/actions/workflows/fog_captureWorkflow.yaml [new file with mode: 0644]
laas-fog/pharoslaas/actions/workflows/fog_imageWorkflow.yaml [new file with mode: 0644]