re-core.workflows

Main workflows

clear

(clear {:keys [system-id], :as spec})
Clear system model (no machine destruction)

clone

(clone {:keys [system-id], :as spec})
Clones a system model and creates it

create

(create {:keys [machine], :as spec})
Sets up a clean machine from scratch

destroy

(destroy {:keys [system-id machine], :as spec})
Deletes a system

not-running!

(not-running! vm)
Assert that a vm is not running

provision

(provision systems t)
provision a group of systems

reload

(reload {:keys [machine system-id], :as spec})
Reloads a machine if one already exists, will distroy the old one

running!

(running! vm)
Asserts that a VM is running

stage

(stage type {:keys [system-id], :as spec})
create and provision

start

(start {:keys [machine], :as spec})
Start a vm instance

stop

(stop {:keys [machine], :as spec})
Stops a vm instance

updated-system

(updated-system system-id)
grabs system and associates system id