Commit 57a83f9e authored by Leigh Stoller's avatar Leigh Stoller

Add state transitions for updating users.

parent 5e791679
......@@ -137,6 +137,9 @@ $opstate = <<'OPSTATE';
<action name="geni_stop" next="geni_stopping">
<description>Power down or stop the node.</description>
</action>
<action name="geni_update_users" next="geni_updating_users">
<description>Update user SSH keys.</description>
</action>
<description>The node is up and ready to use.</description>
</state>
<state name="geni_stopping">
......@@ -149,6 +152,14 @@ $opstate = <<'OPSTATE';
intervention before it can be used. Please contact
the administrator for assistance.</description>
</state>
<state name="geni_updating_users">
<action name="geni_update_users_cancel" next="geni_ready">
<description>Cancel an update users action</description>
</action>
<wait type="geni_success" next="geni_ready" />
<description>Updating users can take a fair amount of time, so it
happens asynchronously in this state.</description>
</state>
</rspec_opstate>
OPSTATE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment