forked from aeolusproject/conductor
-
Notifications
You must be signed in to change notification settings - Fork 0
Deployments
Matt Wagner edited this page Oct 25, 2012
·
1 revision
{{toc}}
Request
<deployment>
<name>webserver-deployment</name>
<deployable id='1'>
<frontend_realm id='1'> <!-- optional, auto select if not specified-->
<partial_launch>0</partial_launch> <!-- ignore instance errors during launch -->
<deployment>
Response
<deployment id='1' href='https://localhost/conductor/api/deployments/1'>
<name>webserver-deployment</name>
<state>new</state>
<pool id='1' href='https://localhost/conductor/api/pools/1'></pool>
<frontend_realm id='1' href='https://localhost/conductor/api/frontend_realms/1'></frontend_realm>
<instances>
</instances>
<created_at>2012-10-25 04:35:28.482757</created_at>
<updated_at></updated_at>
<owner_id>1</owner_id>
<global_uptime></global uptime>
<uptime_1st_instance_running></global uptime>
<scheduled_for_deletion>false</scheduled_for_deletion>
<uuid>67160b40-1e5d-11e2-8ad5-52540053d8d3</uuid>
<deployable-xml>
<deployable version="1.0" name="f16-dep">
<description/>
<assemblies>
<assembly name="f16" hwp="small-x86_64">
<image id="51a42ec2-1e5d-11e2-8ad5-52540053d8d3"/>
</assembly>
</assemblies>
</deployable>
</deployable-xml>
<history> <!-- events -->
</deployment>
Response
<deployment id='1' href='https://localhost/conductor/api/deployments/1'>
<name>webserver-deployment</name>
<state>running</state>
<pool id='1' href='https://localhost/conductor/api/pools/1'></pool>
<frontend_realm id='1' href='https://localhost/conductor/api/frontend_realms/1'></frontend_realm>
<instances>
<instance id='1' href='https://localhost/conductor/api/instances/1'></instance>
</instances>
<created_at>2012-10-25 04:35:28.482757</created_at>
<updated_at>2012-10-25 04:35:36.046721</updated_at>
<owner_id>1</owner_id>
<global_uptime>5 minutes</global uptime>
<uptime_1st_instance_running>5 minutes</global uptime>
<scheduled_for_deletion>false</scheduled_for_deletion>
<uuid>67160b40-1e5d-11e2-8ad5-52540053d8d3</uuid>
<deployable-xml>
<deployable version="1.0" name="f16-dep">
<description/>
<assemblies>
<assembly name="f16" hwp="small-x86_64">
<image id="51a42ec2-1e5d-11e2-8ad5-52540053d8d3"/>
</assembly>
</assemblies>
</deployable>
</deployable-xml>
<history> <!-- events -->
</deployment>
Name and state are the only attributes that can be changed.
Name:
<deployment id='1'>
<name>eastcoast-webserver1</name>
</deployment>
Stop the deployment
<deployment id='1'>
<state>stopped</state>
</deployment>