Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,12 @@
"instance1": "morphing_pool"
},
"user_scripts": {},
"clone_disks": true,
"skip_os_morphing": false,
"clustered": false,
"deployer_id": null,
"trust_id": null,
"transfer_scenario_type": "replica",
"shutdown_instances": false,
"tasks": [
{
"created_at": "2019-07-11T13:01:03.000000",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@
"destination_minion_pool_id": "a5e00fd3-42ac-4570-898b-5bbee0ff4acb",
"instance_osmorphing_minion_pool_mappings": {},
"transfer_scenario_type": "replica",
"shutdown_instances": false,
"tasks": [
{
"created_at": "2019-07-10T07:24:09.000000",
Expand Down Expand Up @@ -562,6 +561,11 @@
],
"events": []
}
]
],
"clone_disks": true,
"skip_os_morphing": false,
"clustered": false,
"deployer_id": null,
"trust_id": null
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,12 @@
"global": {},
"instances": {}
},
"transfer_scenario_type": "replica",
"shutdown_instances": false
"clone_disks": true,
"skip_os_morphing": false,
"clustered": false,
"deployer_id": null,
"trust_id": null,
"transfer_scenario_type": "replica"
},
{
"created_at": "2019-08-22T08:29:33.000000",
Expand All @@ -90,7 +94,6 @@
"origin_minion_pool_id": null,
"destination_minion_pool_id": "a5e00fd3-42ac-4570-898b-5bbee0ff4acb",
"instance_osmorphing_minion_pool_mappings": {},
"shutdown_instances": false,
"destination_environment": {
"network_map": {
"VM Network": "0e83bf34-9cc7-4580-9189-a9d9c3c7abb8"
Expand Down Expand Up @@ -184,6 +187,11 @@
"global": {},
"instances": {}
},
"clone_disks": true,
"skip_os_morphing": false,
"clustered": false,
"deployer_id": null,
"trust_id": null,
"id": "9566af98-2c89-4969-ad73-a416e8a8a5ce",
"transfer_id": "0460aa4d-6b16-4c98-bd56-27ee186e4a22",
"transfer_scenario_type": "replica"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
"deleted_at": null,
"deleted": "0",
"id": "540a29df-94e4-4a65-bf3b-40ea18929c40",
"user_id": "bdb2d792fc0c48818ef4b1b1240fbb69",
"project_id": "f801306887294bf0b98ffc05601f22db",
"maintenance_trust_id": "525a0b79388c43f38d23770a57038780",
"name": "source_pool",
"notes": "",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
"deleted_at": null,
"deleted": "0",
"id": "540a29df-94e4-4a65-bf3b-40ea18929c40",
"user_id": "bdb2d792fc0c48818ef4b1b1240fbb69",
"project_id": "f801306887294bf0b98ffc05601f22db",
"maintenance_trust_id": "525a0b79388c43f38d23770a57038780",
"name": "source_pool",
"notes": "",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
"deleted_at": null,
"deleted": "0",
"id": "540a29df-94e4-4a65-bf3b-40ea18929c40",
"user_id": "bdb2d792fc0c48818ef4b1b1240fbb69",
"project_id": "f801306887294bf0b98ffc05601f22db",
"maintenance_trust_id": "525a0b79388c43f38d23770a57038780",
"name": "source_pool",
"notes": "",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
"deleted_at": null,
"deleted": "0",
"id": "540a29df-94e4-4a65-bf3b-40ea18929c40",
"user_id": "bdb2d792fc0c48818ef4b1b1240fbb69",
"project_id": "f801306887294bf0b98ffc05601f22db",
"maintenance_trust_id": "525a0b79388c43f38d23770a57038780",
"name": "source_pool",
"notes": "",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
"deleted_at": null,
"deleted": "0",
"id": "540a29df-94e4-4a65-bf3b-40ea18929c40",
"user_id": "bdb2d792fc0c48818ef4b1b1240fbb69",
"project_id": "f801306887294bf0b98ffc05601f22db",
"maintenance_trust_id": "525a0b79388c43f38d23770a57038780",
"name": "source_pool",
"notes": "",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
"deleted_at": null,
"deleted": "0",
"id": "be74a17c-5476-4cf8-93f7-dd58c700de70",
"user_id": "bdb2d792fc0c48818ef4b1b1240fbb69",
"project_id": "f801306887294bf0b98ffc05601f22db",
"maintenance_trust_id": "71718e42267f44c5988beac7260159db",
"name": "dest_pool_linux",
"notes": "Converted from Windows Minion Pool",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"execution": {
"shutdown_instances": false
"shutdown_instances": false,
"auto_deploy": false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@
"hour": 20,
"minute": 30,
"dom": 23
}
},
"auto_deploy": false
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"expiration_date": null,
"enabled": true,
"shutdown_instance": false,
"auto_deploy": false,
"trust_id": "cfebd7de4dbf48369b6345dba7610e6d"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"expiration_date": null,
"enabled": true,
"shutdown_instance": false,
"auto_deploy": false,
"trust_id": "16120b7803864466bc445d8d43af1980"
},
{
Expand All @@ -30,6 +31,7 @@
"expiration_date": null,
"enabled": true,
"shutdown_instance": false,
"auto_deploy": false,
"trust_id": "e11a61a320ca4e15bae39beda9c4a2ad"
},
{
Expand All @@ -48,6 +50,7 @@
"expiration_date": null,
"enabled": true,
"shutdown_instance": false,
"auto_deploy": false,
"trust_id": "cfebd7de4dbf48369b6345dba7610e6d"
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"expiration_date": null,
"enabled": true,
"shutdown_instance": false,
"auto_deploy": false,
"trust_id": "cfebd7de4dbf48369b6345dba7610e6d"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
"dow": 0,
"minute": 30,
"hour": 20
}
},
"auto_deploy": false
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"expiration_date": null,
"enabled": true,
"shutdown_instance": true,
"auto_deploy": false,
"trust_id": "16120b7803864466bc445d8d43af1980"
}
}
52 changes: 41 additions & 11 deletions coriolis/api-refs/source/deployment.inc
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,26 @@ Normal response codes: 200
Error response codes: unauthorized(401),
forbidden(403)

Request
-------

.. rest_parameters:: parameters.yaml

- show_deleted : show_deleted
- include_task_info : include_task_info
- status : transfer_status_filter
- marker : paging_marker
- limit : paging_limit
- sort_key : sort_key
- sort_dir : sort_dir

Response
--------

.. rest_parameters:: parameters.yaml

- deployments : deployments_array
- id : deployment_id
- include_task_info : include_task_info
- show_deleted : show_deleted
- deleted : deployment_deleted
- deleted_at : deployment_deleted_at
- instances : deployment_instances
Expand All @@ -50,9 +61,14 @@ Response
- destination_minion_pool_id : destination_minion_pool_id
- instance_osmorphing_minion_pool_mappings : instance_osmorphing_minion_pool_mappings
- user_scripts : user_scripts
- transfer_id : transfer_id
- transfer_scenario_type : transfer_scenario_type
- shutdown_instances : deployment_shutdown_instances
- clone_disks : deployment_clone_disks
- skip_os_morphing : skip_os_morphing
- clustered : deployment_clustered
- reservation_id : deployment_reservation_id
- transfer_result : deployment_transfer_result
- deployer_id : deployment_deployer_id
- trust_id : deployment_trust_id

**Example of a Deployment List**

Expand Down Expand Up @@ -82,6 +98,7 @@ Request
.. rest_parameters:: parameters.yaml

- deployment_id : deployment_id_path
- include_task_info : include_task_info

Response
--------
Expand All @@ -90,7 +107,6 @@ Response

- deployment : deployment_object
- id : deployment_id
- include_task_info : include_task_info
- deleted : deployment_deleted
- deleted_at : deployment_deleted_at
- instances : deployment_instances
Expand All @@ -114,9 +130,15 @@ Response
- destination_minion_pool_id : destination_minion_pool_id
- instance_osmorphing_minion_pool_mappings : instance_osmorphing_minion_pool_mappings
- user_scripts : user_scripts
- transfer_id : transfer_id
- transfer_scenario_type : transfer_scenario_type
- shutdown_instances : deployment_shutdown_instances
- clone_disks : deployment_clone_disks
- skip_os_morphing : skip_os_morphing
- clustered : deployment_clustered
- reservation_id : deployment_reservation_id
- transfer_result : deployment_transfer_result
- deployer_id : deployment_deployer_id
- trust_id : deployment_trust_id
- info : deployment_info

**Example of a Deployment Show Response**
.. literalinclude:: ../api_samples/deployment/openstack-deployment-get-resp.json
Expand Down Expand Up @@ -151,6 +173,7 @@ Request
- clone_disks : deployment_clone_disks
- skip_os_morphing : skip_os_morphing
- instance_osmorphing_minion_pool_mappings : instance_osmorphing_minion_pool_mappings
- user_scripts : user_scripts

**Example of Deployment Create From Transfer Request**
.. literalinclude:: ../api_samples/deployment/deployment-from-transfer-req.json
Expand All @@ -167,11 +190,10 @@ Response
- deleted_at : deployment_deleted_at
- instances : deployment_instances
- notes : deployment_notes
- status : deployment_notes
- tasks : deployment_tasks
- user_id : user_id
- destination_environment : destination_environment
- source_environtment : source_environment
- source_environment : source_environment
- type : deployment_type
- info : deployment_info
- origin_endpoint_id : deployment_origin_endpoint_id
Expand All @@ -187,7 +209,15 @@ Response
- origin_minion_pool_id : origin_minion_pool_id
- destination_minion_pool_id : destination_minion_pool_id
- instance_osmorphing_minion_pool_mappings : instance_osmorphing_minion_pool_mappings
- shutdown_instances : deployment_shutdown_instances
- user_scripts : user_scripts
- transfer_scenario_type : transfer_scenario_type
- clone_disks : deployment_clone_disks
- skip_os_morphing : skip_os_morphing
- clustered : deployment_clustered
- reservation_id : deployment_reservation_id
- transfer_result : deployment_transfer_result
- deployer_id : deployment_deployer_id
- trust_id : deployment_trust_id

**Example of Deployment Create From Transfer Response**
.. literalinclude:: ../api_samples/deployment/openstack-deployment-from-transfer-resp.json
Expand Down Expand Up @@ -244,8 +274,8 @@ Request
.. rest_parameters:: parameters.yaml

- deployment_id : deployment_id_path
- force : deployment_cancel_force
- cancel : deployment_cancel
- force : deployment_cancel_force

**Example of A Deployment Cancellation Request**
.. literalinclude:: ../api_samples/deployment/deployment-cancel-req.json
Expand Down
Loading
Loading