"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "api-ref/source/v2/arqs.inc" between
openstack-cyborg-6.0.0.tar.gz and openstack-cyborg-7.0.0.tar.gz

About: OpenStack Cyborg provides a general purpose management framework for acceleration resources.
The "Xena" series (latest release).

arqs.inc  (openstack-cyborg-6.0.0):arqs.inc  (openstack-cyborg-7.0.0)
skipping to change at line 27 skipping to change at line 27
List Accelerator Requests List Accelerator Requests
------------------------- -------------------------
.. rest_method:: GET /v2/accelerator_requests .. rest_method:: GET /v2/accelerator_requests
Lists host_name, device_rp_uuid, instance_uuid and device_profile_group_id Lists host_name, device_rp_uuid, instance_uuid and device_profile_group_id
for all accelerator_requests. for all accelerator_requests.
**Example response: list all accelerator requests** **Example response: list all accelerator requests**
.. literalinclude:: ../../../doc/api_samples/accelerator_requests/accelerator_re quests-list-resp.json .. literalinclude:: ../../doc/api_samples/accelerator_requests/accelerator_reque sts-list-resp.json
:language: javascript :language: javascript
Get One Accelerator Request Get One Accelerator Request
--------------------------- ---------------------------
.. rest_method:: GET /v2/accelerator_requests/{accelerator_request_uuid} .. rest_method:: GET /v2/accelerator_requests/{accelerator_request_uuid}
Gets host_name, device’s_RP_UUID, instance UUID and device_profile_group_ID Gets host_name, device’s_RP_UUID, instance UUID and device_profile_group_ID
for one accelerator request with the specified UUID. for one accelerator request with the specified UUID.
Request Request
======= =======
.. rest_parameters:: parameters.yaml .. rest_parameters:: parameters.yaml
- accelerator_request_uuid: accelerator_request_uuid - accelerator_request_uuid: accelerator_request_uuid
**Example response: get details of a specific accelerator request** **Example response: get details of a specific accelerator request**
.. literalinclude:: ../../../doc/api_samples/accelerator_requests/accelerator_re quests-getone-resp.json .. literalinclude:: ../../doc/api_samples/accelerator_requests/accelerator_reque sts-getone-resp.json
Create Accelerator Requests Create Accelerator Requests
--------------------------- ---------------------------
.. rest_method:: POST /v2/accelerator_requests .. rest_method:: POST /v2/accelerator_requests
Creates an accelerator request. The payload should have the following field: Creates an accelerator request. The payload should have the following field:
Request Request
======= =======
.. rest_parameters:: parameters.yaml .. rest_parameters:: parameters.yaml
- device_profile_name: device_profile_name - device_profile_name: device_profile_name
**Example post curl** **Example post curl**
.. literalinclude:: ../../../doc/api_samples/accelerator_requests/accelerator_re quests-post-curl.json .. literalinclude:: ../../doc/api_samples/accelerator_requests/accelerator_reque sts-post-curl.json
**Example response: create an accelerator request** **Example response: create an accelerator request**
.. literalinclude:: ../../../doc/api_samples/accelerator_requests/accelerator_re quests-create-resp.json .. literalinclude:: ../../doc/api_samples/accelerator_requests/accelerator_reque sts-create-resp.json
Update Accelerator Requests Update Accelerator Requests
--------------------------- ---------------------------
The Nova compute manager calls the Cyborg API PATCH /v2/accelerator_requests The Nova compute manager calls the Cyborg API PATCH /v2/accelerator_requests
to bind and unbind the ARQ with the host name, device’s RP UUID and instance UUI D. This to bind and unbind the ARQ with the host name, device’s RP UUID and instance UUI D. This
is an asynchronous call which prepares or reconfigures the device in the is an asynchronous call which prepares or reconfigures the device in the
background. background.
.. rest_method:: PATCH /v2/accelerator_requests/{accelerator_request_uuid} .. rest_method:: PATCH /v2/accelerator_requests/{accelerator_request_uuid}
skipping to change at line 93 skipping to change at line 93
.. rest_parameters:: parameters.yaml .. rest_parameters:: parameters.yaml
- accelerator_request_uuid: accelerator_request_uuid - accelerator_request_uuid: accelerator_request_uuid
- hostname: hostname_bind_unbind_req - hostname: hostname_bind_unbind_req
- device_rp_uuid: device_rp_uuid_bind_unbind_req - device_rp_uuid: device_rp_uuid_bind_unbind_req
- instance_uuid: instance_uuid_bind_unbind_req - instance_uuid: instance_uuid_bind_unbind_req
- instance_project_id: instance_project_id_bind_unbind_req - instance_project_id: instance_project_id_bind_unbind_req
**Example patch curl** **Example patch curl**
.. literalinclude:: ../../../doc/api_samples/accelerator_requests/accelerator_re quests-patch-curl.json .. literalinclude:: ../../doc/api_samples/accelerator_requests/accelerator_reque sts-patch-curl.json
**Example response: update an accelerator request** **Example response: update an accelerator request**
.. literalinclude:: ../../../doc/api_samples/accelerator_requests/accelerator_re quests-after-update-resp.json .. literalinclude:: ../../doc/api_samples/accelerator_requests/accelerator_reque sts-after-update-resp.json
Delete Accelerator Requests by ARQ uuid Delete Accelerator Requests by ARQ uuid
--------------------------------------- ---------------------------------------
.. rest_method:: DELETE /v2/accelerator_requests?arqs={accelerator_request_uuid} .. rest_method:: DELETE /v2/accelerator_requests?arqs={accelerator_request_uuid}
Delete Accelerator Requests by instance uuid Delete Accelerator Requests by instance uuid
-------------------------------------------- --------------------------------------------
.. rest_method:: DELETE /v2/accelerator_requests?instance={instance_uuid} .. rest_method:: DELETE /v2/accelerator_requests?instance={instance_uuid}
 End of changes. 6 change blocks. 
6 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)