rw-image-mgmt - User documentation
Schema Globals
| Global Schema Type | rw_ypbc_RwImageMgmt_RwImageMgmt_t_schema |
| Global Schema Pointer | rw_ypbc_RwImageMgmt_RwImageMgmt_g_schema |
rw-image-mgmt data
rw-image-mgmt:upload-jobs
Image upload jobs
Key Identifiers:| XPath Path | /rw-image-mgmt:upload-jobs |
| XPath Keyed Path | /rw-image-mgmt:upload-jobs |
| RW.REST URI Path | /rw-image-mgmt:upload-jobs |
Fields
| Name | Type | Description |
|---|---|---|
| job | LIST |
JSON Sample
XML Sample
rw-image-mgmt:job
Key Identifiers:| XPath Path | /rw-image-mgmt:upload-jobs/rw-image-mgmt:job |
| XPath Keyed Path | /rw-image-mgmt:upload-jobs/rw-image-mgmt:job[rw-image-mgmt:id='0'] |
| RW.REST URI Path | /rw-image-mgmt:upload-jobs/job/0 |
Fields
| Name | Type | Description |
|---|---|---|
| id | UINT32 | Unique image upload job-id |
| status | ENUM | Current job status |
| start-time | UINT32 | The job start time (unix epoch) |
| stop-time | UINT32 | The job stop time (unix epoch) |
| upload-tasks | LIST | The upload tasks that are part of this job |
JSON Sample
XML Sample
rw-image-mgmt:upload-tasks
The upload tasks that are part of this job
Key Identifiers:| XPath Path | /rw-image-mgmt:upload-jobs/rw-image-mgmt:job/rw-image-mgmt:upload-tasks |
| XPath Keyed Path | /rw-image-mgmt:upload-jobs/rw-image-mgmt:job[rw-image-mgmt:id='0']/rw-image-mgmt:upload-tasks |
| RW.REST URI Path | /rw-image-mgmt:upload-jobs/job/0/upload-tasks |
Fields
| Name | Type | Description |
|---|---|---|
| cloud-account | LEAFREF | The cloud account to upload the image to |
| image-id | STRING | The image id that exists in the image catalog |
| image-name | STRING | The image name that exists in the image catalog |
| image-checksum | STRING | The image md5 checksum |
| status | ENUM | The status of the upload task |
| detail | STRING | Detailed upload status message |
| progress-percent | UINT8 | The image upload progress percentage (0-100) |
| bytes_written | UINT64 | The number of bytes written |
| bytes_total | UINT64 | The total number of bytes to write |
| bytes_per_second | UINT32 | The total number of bytes written per second |
| start-time | UINT32 | The image upload start time (unix epoch) |
| stop-time | UINT32 | The image upload stop time (unix epoch) |
JSON Sample
XML Sample
rw-image-mgmt rpc input
rw-image-mgmt:create-upload-job
Key Identifiers:| XPath Path | /rw-image-mgmt:create-upload-job |
| XPath Keyed Path | /rw-image-mgmt:create-upload-job |
| RW.REST URI Path | /input |
Fields
| Name | Type | Description |
|---|---|---|
| onboarded-image | CONTAINER | |
| external-url | CONTAINER | |
| cloud-account | LEAF_LIST | List of cloud accounts to upload the image to |
JSON Sample
XML Sample
rw-image-mgmt:onboarded-image
Key Identifiers:| XPath Path | /rw-image-mgmt:create-upload-job/rw-image-mgmt:onboarded-image |
| XPath Keyed Path | /rw-image-mgmt:create-upload-job/rw-image-mgmt:onboarded-image |
| RW.REST URI Path | /input/onboarded-image |
Fields
| Name | Type | Description |
|---|---|---|
| image-id | STRING | The image id that exists in the image catalog |
| image-name | STRING | The image name that exists in the image catalog |
| image-checksum | STRING | The image md5 checksum |
JSON Config Sample
JSON Sample
XML Config Sample
XML Sample
rw-image-mgmt:external-url
Key Identifiers:| XPath Path | /rw-image-mgmt:create-upload-job/rw-image-mgmt:external-url |
| XPath Keyed Path | /rw-image-mgmt:create-upload-job/rw-image-mgmt:external-url |
| RW.REST URI Path | /input/external-url |
Fields
| Name | Type | Description |
|---|---|---|
| image-url | STRING | The image HTTP URL to pull the image from |
| image-id | STRING | The image id that exists in the image catalog |
| image-name | STRING | The image name that exists in the image catalog |
| image-checksum | STRING | The image md5 checksum |
| disk-format | ENUM | Format of the Disk |
| container-format | ENUM | Format of the container |
JSON Config Sample
JSON Sample
XML Config Sample
XML Sample
rw-image-mgmt:cloud-account
List of cloud accounts to upload the image to
Key Identifiers:| XPath Path | /rw-image-mgmt:create-upload-job/rw-image-mgmt:cloud-account |
| XPath Keyed Path | /rw-image-mgmt:create-upload-job/rw-image-mgmt:cloud-account |
| RW.REST URI Path | /input/cloud-account |
JSON Config Sample
JSON Sample
XML Config Sample
XML Sample
rw-image-mgmt:cancel-upload-job
Key Identifiers:| XPath Path | /rw-image-mgmt:cancel-upload-job |
| XPath Keyed Path | /rw-image-mgmt:cancel-upload-job |
| RW.REST URI Path | /input |
Fields
| Name | Type | Description |
|---|---|---|
| job-id | UINT32 |
JSON Sample
XML Sample
rw-image-mgmt rpc output
rw-image-mgmt:create-upload-job
Key Identifiers:| XPath Path | /rw-image-mgmt:create-upload-job |
| XPath Keyed Path | /rw-image-mgmt:create-upload-job |
| RW.REST URI Path | /output |
Fields
| Name | Type | Description |
|---|---|---|
| job-id | UINT32 | The upload job-id to cancel |
JSON Sample
XML Sample
rw-image-mgmt:cancel-upload-job
Key Identifiers:| XPath Path | /rw-image-mgmt:cancel-upload-job |
| XPath Keyed Path | /rw-image-mgmt:cancel-upload-job |
| RW.REST URI Path | /output |
JSON Sample
XML Sample