1password 6.7.112/16/2023 To create a disk with with the disk identifier and image identifier obtained with the qemu-img info command shown above, send a request like this:Īdds an external event to the internal audit log. For example, if the disk image is stored into a file named b7a4c6c5-443b-47c5-967f-6abc79675e8b/myimage.img: The image identifier can be also fetched using the qemu-img info command. the identifiers should be saved as part of the backup process. The disk has to be created with the same disk identifier and image identifier of the uploaded image. This request should be used to create the base image of the images chain (The consecutive disk snapshots (images), should be created using disk-attachments element when creating a snapshot). Since version 4.2 of the engine it is possible to upload disks with snapshots. To create a new floating Cinder disk, send a request as follows:Īdding a floating disks in order to upload disk snapshots: To create a new floating direct LUN disk without using a host, remove the host element. To create a new floating direct LUN disk with a host element with an id 123, specified alias, type and logical_unit with an id 456 (that has the attributes address, port and target), send a request as follows: Without a host element - in this case, the operation is a database-only operation, and the storage is never accessed. With a host element - in this case, the host is used for sanity checks (e.g., that the LUN is visible) and to retrieve basic information about the LUN (e.g., size and serial). The order of the returned list of data centers is guaranteed only if the sortby clause is included in the search parameter. The data center uses this collection to attach storage domains from the storage domains main collection. The data center also contains a link to the storage domains collection. This code identifies this data center in relation to other resources of your virtual environment. Note the id code of your Default data center. This is what an example response could look like: The following request retrieves a representation of the data centers: POST /ovirt-engine/api/clusters/123/permissions For example to assign the UserRole role to the cluster with id 123 to the group with id 789 send a request like this: If you want to assign permission to the group instead of the user please replace the user element with the group element with proper id of the group. To assign the SuperUser role to the system to the user with id 456 send a request like this: POST /ovirt-engine/api/vms/123/permissions
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |