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
NameTypeDescription
jobLIST

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
NameTypeDescription
idUINT32Unique image upload job-id
statusENUMCurrent job status
start-timeUINT32The job start time (unix epoch)
stop-timeUINT32The job stop time (unix epoch)
upload-tasksLISTThe 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
NameTypeDescription
cloud-accountLEAFREFThe cloud account to upload the image to
image-idSTRINGThe image id that exists in the image catalog
image-nameSTRINGThe image name that exists in the image catalog
image-checksumSTRINGThe image md5 checksum
statusENUMThe status of the upload task
detailSTRINGDetailed upload status message
progress-percentUINT8The image upload progress percentage (0-100)
bytes_writtenUINT64The number of bytes written
bytes_totalUINT64The total number of bytes to write
bytes_per_secondUINT32The total number of bytes written per second
start-timeUINT32The image upload start time (unix epoch)
stop-timeUINT32The 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
NameTypeDescription
onboarded-imageCONTAINER
external-urlCONTAINER
cloud-accountLEAF_LISTList 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
NameTypeDescription
image-idSTRINGThe image id that exists in the image catalog
image-nameSTRINGThe image name that exists in the image catalog
image-checksumSTRINGThe 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
NameTypeDescription
image-urlSTRINGThe image HTTP URL to pull the image from
image-idSTRINGThe image id that exists in the image catalog
image-nameSTRINGThe image name that exists in the image catalog
image-checksumSTRINGThe image md5 checksum
disk-formatENUMFormat of the Disk
container-formatENUMFormat 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
NameTypeDescription
job-idUINT32

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
NameTypeDescription
job-idUINT32The 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