Created
July 21, 2016 17:12
-
-
Save jwmatthews/1de810691a75bca96dacb4b41ec78380 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# cat ovirt_list_vms.sh | |
USER="admin@internal" | |
PASS="dog8code" | |
# For 3.6 URL is just IP/api | |
# For 4.0 URL is IP/ovirt/api/v3 | |
URL="https://192.168.155.11/api" | |
curl -k --user ${USER}:${PASS} -i -X GET -H "Accept: application/xml; detail=disks; detail=nics; detail=hosts;" ${URL}/vms | |
[root@sat ~]# ./ovirt_list_vms.sh | |
HTTP/1.1 200 OK | |
Date: Thu, 21 Jul 2016 17:11:42 GMT | |
Pragma: No-cache | |
Cache-Control: no-cache | |
Expires: Wed, 31 Dec 1969 19:00:00 EST | |
Content-Type: application/xml | |
Vary: Accept-Encoding | |
Connection: close | |
Transfer-Encoding: chunked | |
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | |
<vms> | |
<vm href="/api/vms/311b3969-4543-4868-8553-835e4902c237" id="311b3969-4543-4868-8553-835e4902c237"> | |
<actions> | |
<link href="/api/vms/311b3969-4543-4868-8553-835e4902c237/move" rel="move"/> | |
<link href="/api/vms/311b3969-4543-4868-8553-835e4902c237/ticket" rel="ticket"/> | |
<link href="/api/vms/311b3969-4543-4868-8553-835e4902c237/reboot" rel="reboot"/> | |
<link href="/api/vms/311b3969-4543-4868-8553-835e4902c237/migrate" rel="migrate"/> | |
<link href="/api/vms/311b3969-4543-4868-8553-835e4902c237/undo_snapshot" rel="undo_snapshot"/> | |
<link href="/api/vms/311b3969-4543-4868-8553-835e4902c237/clone" rel="clone"/> | |
<link href="/api/vms/311b3969-4543-4868-8553-835e4902c237/reordermacaddresses" rel="reordermacaddresses"/> | |
<link href="/api/vms/311b3969-4543-4868-8553-835e4902c237/commit_snapshot" rel="commit_snapshot"/> | |
<link href="/api/vms/311b3969-4543-4868-8553-835e4902c237/preview_snapshot" rel="preview_snapshot"/> | |
<link href="/api/vms/311b3969-4543-4868-8553-835e4902c237/logon" rel="logon"/> | |
<link href="/api/vms/311b3969-4543-4868-8553-835e4902c237/freezefilesystems" rel="freezefilesystems"/> | |
<link href="/api/vms/311b3969-4543-4868-8553-835e4902c237/thawfilesystems" rel="thawfilesystems"/> | |
<link href="/api/vms/311b3969-4543-4868-8553-835e4902c237/cancelmigration" rel="cancelmigration"/> | |
<link href="/api/vms/311b3969-4543-4868-8553-835e4902c237/maintenance" rel="maintenance"/> | |
<link href="/api/vms/311b3969-4543-4868-8553-835e4902c237/detach" rel="detach"/> | |
<link href="/api/vms/311b3969-4543-4868-8553-835e4902c237/export" rel="export"/> | |
<link href="/api/vms/311b3969-4543-4868-8553-835e4902c237/shutdown" rel="shutdown"/> | |
<link href="/api/vms/311b3969-4543-4868-8553-835e4902c237/start" rel="start"/> | |
<link href="/api/vms/311b3969-4543-4868-8553-835e4902c237/stop" rel="stop"/> | |
<link href="/api/vms/311b3969-4543-4868-8553-835e4902c237/suspend" rel="suspend"/> | |
</actions> | |
<name>jwm1-ose-master1-example-com</name> | |
<link href="/api/vms/311b3969-4543-4868-8553-835e4902c237/applications" rel="applications"/> | |
<link href="/api/vms/311b3969-4543-4868-8553-835e4902c237/disks" rel="disks"/> | |
<link href="/api/vms/311b3969-4543-4868-8553-835e4902c237/nics" rel="nics"/> | |
<link href="/api/vms/311b3969-4543-4868-8553-835e4902c237/numanodes" rel="numanodes"/> | |
<link href="/api/vms/311b3969-4543-4868-8553-835e4902c237/cdroms" rel="cdroms"/> | |
<link href="/api/vms/311b3969-4543-4868-8553-835e4902c237/snapshots" rel="snapshots"/> | |
<link href="/api/vms/311b3969-4543-4868-8553-835e4902c237/tags" rel="tags"/> | |
<link href="/api/vms/311b3969-4543-4868-8553-835e4902c237/permissions" rel="permissions"/> | |
<link href="/api/vms/311b3969-4543-4868-8553-835e4902c237/statistics" rel="statistics"/> | |
<link href="/api/vms/311b3969-4543-4868-8553-835e4902c237/reporteddevices" rel="reporteddevices"/> | |
<link href="/api/vms/311b3969-4543-4868-8553-835e4902c237/watchdogs" rel="watchdogs"/> | |
<link href="/api/vms/311b3969-4543-4868-8553-835e4902c237/sessions" rel="sessions"/> | |
<link href="/api/vms/311b3969-4543-4868-8553-835e4902c237/katelloerrata" rel="katelloerrata"/> | |
<link href="/api/vms/311b3969-4543-4868-8553-835e4902c237/graphicsconsoles" rel="graphicsconsoles"/> | |
<link href="/api/vms/311b3969-4543-4868-8553-835e4902c237/hostdevices" rel="hostdevices"/> | |
<type>server</type> | |
<status> | |
<state>up</state> | |
</status> | |
<memory>8589934592</memory> | |
<cpu> | |
<topology sockets="1" cores="2" threads="1"/> | |
<architecture>X86_64</architecture> | |
</cpu> | |
<cpu_shares>0</cpu_shares> | |
<bios> | |
<boot_menu> | |
<enabled>false</enabled> | |
</boot_menu> | |
</bios> | |
<os type="rhel_7x64"> | |
<boot dev="network"/> | |
<boot dev="hd"/> | |
<kernel></kernel> | |
<initrd></initrd> | |
<cmdline></cmdline> | |
</os> | |
<cluster href="/api/clusters/00000002-0002-0002-0002-00000000023f" id="00000002-0002-0002-0002-00000000023f"/> | |
<creation_time>2016-07-20T23:56:56.344-04:00</creation_time> | |
<origin>ovirt</origin> | |
<stateless>false</stateless> | |
<delete_protected>false</delete_protected> | |
<high_availability> | |
<enabled>false</enabled> | |
<priority>0</priority> | |
</high_availability> | |
<display> | |
<type>spice</type> | |
<address>mac525400e90029.example.com</address> | |
<secure_port>5901</secure_port> | |
<monitors>1</monitors> | |
<single_qxl_pci>false</single_qxl_pci> | |
<allow_override>false</allow_override> | |
<smartcard_enabled>false</smartcard_enabled> | |
<file_transfer_enabled>true</file_transfer_enabled> | |
<copy_paste_enabled>true</copy_paste_enabled> | |
<disconnect_action>LOCK_SCREEN</disconnect_action> | |
</display> | |
<sso> | |
<methods> | |
<method id="GUEST_AGENT"/> | |
</methods> | |
</sso> | |
<timezone>Etc/GMT</timezone> | |
<usb> | |
<enabled>false</enabled> | |
</usb> | |
<migration_downtime>-1</migration_downtime> | |
<start_paused>false</start_paused> | |
<cpu_profile href="/api/cpuprofiles/0000000e-000e-000e-000e-000000000141" id="0000000e-000e-000e-000e-000000000141"/> | |
<migration> | |
<auto_converge>inherit</auto_converge> | |
<compressed>inherit</compressed> | |
</migration> | |
<io> | |
<threads>0</threads> | |
</io> | |
<time_zone> | |
<name>Etc/GMT</name> | |
</time_zone> | |
<small_icon href="/api/icons/fc4ea716-7081-402a-9d9f-78d7e0d78913" id="fc4ea716-7081-402a-9d9f-78d7e0d78913"/> | |
<large_icon href="/api/icons/76ca0d21-26e2-45ff-a41f-519f986ac145" id="76ca0d21-26e2-45ff-a41f-519f986ac145"/> | |
<memory_policy> | |
<guaranteed>1073741824</guaranteed> | |
</memory_policy> | |
<host href="/api/hosts/a44e7e1d-8ce5-4f36-b899-7763c441efc6" id="a44e7e1d-8ce5-4f36-b899-7763c441efc6"/> | |
<template href="/api/templates/00000000-0000-0000-0000-000000000000" id="00000000-0000-0000-0000-000000000000"/> | |
<start_time>2016-07-20T23:57:15.570-04:00</start_time> | |
<stop_time>2016-07-20T23:56:56.367-04:00</stop_time> | |
<run_once>false</run_once> | |
<disks> | |
<disk href="/api/vms/311b3969-4543-4868-8553-835e4902c237/disks/0867edb1-2d6d-4a63-be9d-8ab31f6beaf0" id="0867edb1-2d6d-4a63-be9d-8ab31f6beaf0"> | |
<actions> | |
<link href="/api/vms/311b3969-4543-4868-8553-835e4902c237/disks/0867edb1-2d6d-4a63-be9d-8ab31f6beaf0/deactivate" rel="deactivate"/> | |
<link href="/api/vms/311b3969-4543-4868-8553-835e4902c237/disks/0867edb1-2d6d-4a63-be9d-8ab31f6beaf0/activate" rel="activate"/> | |
<link href="/api/vms/311b3969-4543-4868-8553-835e4902c237/disks/0867edb1-2d6d-4a63-be9d-8ab31f6beaf0/export" rel="export"/> | |
<link href="/api/vms/311b3969-4543-4868-8553-835e4902c237/disks/0867edb1-2d6d-4a63-be9d-8ab31f6beaf0/move" rel="move"/> | |
</actions> | |
<name>jwm1-ose-master1-example-com_Disk2</name> | |
<link href="/api/vms/311b3969-4543-4868-8553-835e4902c237/disks/0867edb1-2d6d-4a63-be9d-8ab31f6beaf0/permissions" rel="permissions"/> | |
<link href="/api/vms/311b3969-4543-4868-8553-835e4902c237/disks/0867edb1-2d6d-4a63-be9d-8ab31f6beaf0/statistics" rel="statistics"/> | |
<vm href="/api/vms/311b3969-4543-4868-8553-835e4902c237" id="311b3969-4543-4868-8553-835e4902c237"/> | |
<alias>jwm1-ose-master1-example-com_Disk2</alias> | |
<image_id>ee4e97c3-08f9-4dd5-86ff-eb0c876219c4</image_id> | |
<storage_domains> | |
<storage_domain id="c8878c1f-fc87-4326-b46c-9d7012b51125"/> | |
</storage_domains> | |
<size>32212254720</size> | |
<provisioned_size>32212254720</provisioned_size> | |
<actual_size>785391616</actual_size> | |
<status> | |
<state>ok</state> | |
</status> | |
<interface>virtio</interface> | |
<format>cow</format> | |
<sparse>true</sparse> | |
<bootable>false</bootable> | |
<shareable>false</shareable> | |
<wipe_after_delete>false</wipe_after_delete> | |
<propagate_errors>false</propagate_errors> | |
<active>true</active> | |
<read_only>false</read_only> | |
<disk_profile href="/api/diskprofiles/30b3a15b-77de-4573-ad24-aaad8c27d5b3" id="30b3a15b-77de-4573-ad24-aaad8c27d5b3"/> | |
<storage_type>image</storage_type> | |
</disk> | |
<disk href="/api/vms/311b3969-4543-4868-8553-835e4902c237/disks/8be027af-249f-47c6-8afd-c6faecd4325d" id="8be027af-249f-47c6-8afd-c6faecd4325d"> | |
<actions> | |
<link href="/api/vms/311b3969-4543-4868-8553-835e4902c237/disks/8be027af-249f-47c6-8afd-c6faecd4325d/deactivate" rel="deactivate"/> | |
<link href="/api/vms/311b3969-4543-4868-8553-835e4902c237/disks/8be027af-249f-47c6-8afd-c6faecd4325d/activate" rel="activate"/> | |
<link href="/api/vms/311b3969-4543-4868-8553-835e4902c237/disks/8be027af-249f-47c6-8afd-c6faecd4325d/export" rel="export"/> | |
<link href="/api/vms/311b3969-4543-4868-8553-835e4902c237/disks/8be027af-249f-47c6-8afd-c6faecd4325d/move" rel="move"/> | |
</actions> | |
<name>jwm1-ose-master1-example-com_Disk1</name> | |
<link href="/api/vms/311b3969-4543-4868-8553-835e4902c237/disks/8be027af-249f-47c6-8afd-c6faecd4325d/permissions" rel="permissions"/> | |
<link href="/api/vms/311b3969-4543-4868-8553-835e4902c237/disks/8be027af-249f-47c6-8afd-c6faecd4325d/statistics" rel="statistics"/> | |
<vm href="/api/vms/311b3969-4543-4868-8553-835e4902c237" id="311b3969-4543-4868-8553-835e4902c237"/> | |
<alias>jwm1-ose-master1-example-com_Disk1</alias> | |
<image_id>0fb9ff6f-7605-48a2-8fdc-32aafd9577ab</image_id> | |
<storage_domains> | |
<storage_domain id="c8878c1f-fc87-4326-b46c-9d7012b51125"/> | |
</storage_domains> | |
<size>32212254720</size> | |
<provisioned_size>32212254720</provisioned_size> | |
<actual_size>1861623808</actual_size> | |
<status> | |
<state>ok</state> | |
</status> | |
<interface>virtio</interface> | |
<format>cow</format> | |
<sparse>true</sparse> | |
<bootable>true</bootable> | |
<shareable>false</shareable> | |
<wipe_after_delete>false</wipe_after_delete> | |
<propagate_errors>false</propagate_errors> | |
<active>true</active> | |
<read_only>false</read_only> | |
<disk_profile href="/api/diskprofiles/30b3a15b-77de-4573-ad24-aaad8c27d5b3" id="30b3a15b-77de-4573-ad24-aaad8c27d5b3"/> | |
<storage_type>image</storage_type> | |
</disk> | |
</disks> | |
<nics> | |
<nic href="/api/vms/311b3969-4543-4868-8553-835e4902c237/nics/aff3f4b8-cf4f-437f-8864-37cb91ee5971" id="aff3f4b8-cf4f-437f-8864-37cb91ee5971"> | |
<actions> | |
<link href="/api/vms/311b3969-4543-4868-8553-835e4902c237/nics/aff3f4b8-cf4f-437f-8864-37cb91ee5971/deactivate" rel="deactivate"/> | |
<link href="/api/vms/311b3969-4543-4868-8553-835e4902c237/nics/aff3f4b8-cf4f-437f-8864-37cb91ee5971/activate" rel="activate"/> | |
</actions> | |
<name>eth0</name> | |
<link href="/api/vms/311b3969-4543-4868-8553-835e4902c237/nics/aff3f4b8-cf4f-437f-8864-37cb91ee5971/statistics" rel="statistics"/> | |
<vm href="/api/vms/311b3969-4543-4868-8553-835e4902c237" id="311b3969-4543-4868-8553-835e4902c237"/> | |
<network href="/api/networks/00000000-0000-0000-0000-000000000009" id="00000000-0000-0000-0000-000000000009"/> | |
<linked>true</linked> | |
<interface>virtio</interface> | |
<mac address="00:1a:01:00:00:00"/> | |
<active>true</active> | |
<plugged>true</plugged> | |
<vnic_profile href="/api/vnicprofiles/0000000a-000a-000a-000a-000000000398" id="0000000a-000a-000a-000a-000000000398"/> | |
</nic> | |
</nics> | |
<placement_policy> | |
<affinity>migratable</affinity> | |
</placement_policy> | |
<next_run_configuration_exists>false</next_run_configuration_exists> | |
<numa_tune_mode>interleave</numa_tune_mode> | |
</vm> | |
<vm href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be" id="9ce9d090-6efc-4bef-860c-fcbfbc6d93be"> | |
<actions> | |
<link href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/move" rel="move"/> | |
<link href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/ticket" rel="ticket"/> | |
<link href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/reboot" rel="reboot"/> | |
<link href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/migrate" rel="migrate"/> | |
<link href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/undo_snapshot" rel="undo_snapshot"/> | |
<link href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/clone" rel="clone"/> | |
<link href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/reordermacaddresses" rel="reordermacaddresses"/> | |
<link href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/commit_snapshot" rel="commit_snapshot"/> | |
<link href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/preview_snapshot" rel="preview_snapshot"/> | |
<link href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/logon" rel="logon"/> | |
<link href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/freezefilesystems" rel="freezefilesystems"/> | |
<link href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/thawfilesystems" rel="thawfilesystems"/> | |
<link href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/cancelmigration" rel="cancelmigration"/> | |
<link href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/maintenance" rel="maintenance"/> | |
<link href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/detach" rel="detach"/> | |
<link href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/export" rel="export"/> | |
<link href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/shutdown" rel="shutdown"/> | |
<link href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/start" rel="start"/> | |
<link href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/stop" rel="stop"/> | |
<link href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/suspend" rel="suspend"/> | |
</actions> | |
<name>jwm1-ose-node1-example-com</name> | |
<link href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/applications" rel="applications"/> | |
<link href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/disks" rel="disks"/> | |
<link href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/nics" rel="nics"/> | |
<link href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/numanodes" rel="numanodes"/> | |
<link href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/cdroms" rel="cdroms"/> | |
<link href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/snapshots" rel="snapshots"/> | |
<link href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/tags" rel="tags"/> | |
<link href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/permissions" rel="permissions"/> | |
<link href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/statistics" rel="statistics"/> | |
<link href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/reporteddevices" rel="reporteddevices"/> | |
<link href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/watchdogs" rel="watchdogs"/> | |
<link href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/sessions" rel="sessions"/> | |
<link href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/katelloerrata" rel="katelloerrata"/> | |
<link href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/graphicsconsoles" rel="graphicsconsoles"/> | |
<link href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/hostdevices" rel="hostdevices"/> | |
<type>server</type> | |
<status> | |
<state>up</state> | |
</status> | |
<memory>8589934592</memory> | |
<cpu> | |
<topology sockets="1" cores="1" threads="1"/> | |
<architecture>X86_64</architecture> | |
</cpu> | |
<cpu_shares>0</cpu_shares> | |
<bios> | |
<boot_menu> | |
<enabled>false</enabled> | |
</boot_menu> | |
</bios> | |
<os type="rhel_7x64"> | |
<boot dev="network"/> | |
<boot dev="hd"/> | |
<kernel></kernel> | |
<initrd></initrd> | |
<cmdline></cmdline> | |
</os> | |
<cluster href="/api/clusters/00000002-0002-0002-0002-00000000023f" id="00000002-0002-0002-0002-00000000023f"/> | |
<creation_time>2016-07-20T23:57:23.582-04:00</creation_time> | |
<origin>ovirt</origin> | |
<stateless>false</stateless> | |
<delete_protected>false</delete_protected> | |
<high_availability> | |
<enabled>false</enabled> | |
<priority>0</priority> | |
</high_availability> | |
<display> | |
<type>spice</type> | |
<address>mac525400e90029.example.com</address> | |
<secure_port>5902</secure_port> | |
<monitors>1</monitors> | |
<single_qxl_pci>false</single_qxl_pci> | |
<allow_override>false</allow_override> | |
<smartcard_enabled>false</smartcard_enabled> | |
<file_transfer_enabled>true</file_transfer_enabled> | |
<copy_paste_enabled>true</copy_paste_enabled> | |
<disconnect_action>LOCK_SCREEN</disconnect_action> | |
</display> | |
<sso> | |
<methods> | |
<method id="GUEST_AGENT"/> | |
</methods> | |
</sso> | |
<timezone>Etc/GMT</timezone> | |
<usb> | |
<enabled>false</enabled> | |
</usb> | |
<migration_downtime>-1</migration_downtime> | |
<start_paused>false</start_paused> | |
<cpu_profile href="/api/cpuprofiles/0000000e-000e-000e-000e-000000000141" id="0000000e-000e-000e-000e-000000000141"/> | |
<migration> | |
<auto_converge>inherit</auto_converge> | |
<compressed>inherit</compressed> | |
</migration> | |
<io> | |
<threads>0</threads> | |
</io> | |
<time_zone> | |
<name>Etc/GMT</name> | |
</time_zone> | |
<small_icon href="/api/icons/fc4ea716-7081-402a-9d9f-78d7e0d78913" id="fc4ea716-7081-402a-9d9f-78d7e0d78913"/> | |
<large_icon href="/api/icons/76ca0d21-26e2-45ff-a41f-519f986ac145" id="76ca0d21-26e2-45ff-a41f-519f986ac145"/> | |
<memory_policy> | |
<guaranteed>1073741824</guaranteed> | |
</memory_policy> | |
<host href="/api/hosts/a44e7e1d-8ce5-4f36-b899-7763c441efc6" id="a44e7e1d-8ce5-4f36-b899-7763c441efc6"/> | |
<template href="/api/templates/00000000-0000-0000-0000-000000000000" id="00000000-0000-0000-0000-000000000000"/> | |
<start_time>2016-07-20T23:57:44.071-04:00</start_time> | |
<stop_time>2016-07-20T23:57:23.593-04:00</stop_time> | |
<run_once>false</run_once> | |
<disks> | |
<disk href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/disks/3bf80387-5021-46ed-95c3-c201dd05a951" id="3bf80387-5021-46ed-95c3-c201dd05a951"> | |
<actions> | |
<link href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/disks/3bf80387-5021-46ed-95c3-c201dd05a951/deactivate" rel="deactivate"/> | |
<link href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/disks/3bf80387-5021-46ed-95c3-c201dd05a951/activate" rel="activate"/> | |
<link href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/disks/3bf80387-5021-46ed-95c3-c201dd05a951/export" rel="export"/> | |
<link href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/disks/3bf80387-5021-46ed-95c3-c201dd05a951/move" rel="move"/> | |
</actions> | |
<name>jwm1-ose-node1-example-com_Disk1</name> | |
<link href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/disks/3bf80387-5021-46ed-95c3-c201dd05a951/permissions" rel="permissions"/> | |
<link href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/disks/3bf80387-5021-46ed-95c3-c201dd05a951/statistics" rel="statistics"/> | |
<vm href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be" id="9ce9d090-6efc-4bef-860c-fcbfbc6d93be"/> | |
<alias>jwm1-ose-node1-example-com_Disk1</alias> | |
<image_id>b6f55890-680d-4058-9cdc-033e60961445</image_id> | |
<storage_domains> | |
<storage_domain id="c8878c1f-fc87-4326-b46c-9d7012b51125"/> | |
</storage_domains> | |
<size>16106127360</size> | |
<provisioned_size>16106127360</provisioned_size> | |
<actual_size>1750474752</actual_size> | |
<status> | |
<state>ok</state> | |
</status> | |
<interface>virtio</interface> | |
<format>cow</format> | |
<sparse>true</sparse> | |
<bootable>true</bootable> | |
<shareable>false</shareable> | |
<wipe_after_delete>false</wipe_after_delete> | |
<propagate_errors>false</propagate_errors> | |
<active>true</active> | |
<read_only>false</read_only> | |
<disk_profile href="/api/diskprofiles/30b3a15b-77de-4573-ad24-aaad8c27d5b3" id="30b3a15b-77de-4573-ad24-aaad8c27d5b3"/> | |
<storage_type>image</storage_type> | |
</disk> | |
<disk href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/disks/39c4834c-375d-4d8f-b36d-48d3ddf0a165" id="39c4834c-375d-4d8f-b36d-48d3ddf0a165"> | |
<actions> | |
<link href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/disks/39c4834c-375d-4d8f-b36d-48d3ddf0a165/deactivate" rel="deactivate"/> | |
<link href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/disks/39c4834c-375d-4d8f-b36d-48d3ddf0a165/activate" rel="activate"/> | |
<link href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/disks/39c4834c-375d-4d8f-b36d-48d3ddf0a165/export" rel="export"/> | |
<link href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/disks/39c4834c-375d-4d8f-b36d-48d3ddf0a165/move" rel="move"/> | |
</actions> | |
<name>jwm1-ose-node1-example-com_Disk2</name> | |
<link href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/disks/39c4834c-375d-4d8f-b36d-48d3ddf0a165/permissions" rel="permissions"/> | |
<link href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/disks/39c4834c-375d-4d8f-b36d-48d3ddf0a165/statistics" rel="statistics"/> | |
<vm href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be" id="9ce9d090-6efc-4bef-860c-fcbfbc6d93be"/> | |
<alias>jwm1-ose-node1-example-com_Disk2</alias> | |
<image_id>f3465a46-5991-439e-b76b-93d190df68f6</image_id> | |
<storage_domains> | |
<storage_domain id="c8878c1f-fc87-4326-b46c-9d7012b51125"/> | |
</storage_domains> | |
<size>32212254720</size> | |
<provisioned_size>32212254720</provisioned_size> | |
<actual_size>787750912</actual_size> | |
<status> | |
<state>ok</state> | |
</status> | |
<interface>virtio</interface> | |
<format>cow</format> | |
<sparse>true</sparse> | |
<bootable>false</bootable> | |
<shareable>false</shareable> | |
<wipe_after_delete>false</wipe_after_delete> | |
<propagate_errors>false</propagate_errors> | |
<active>true</active> | |
<read_only>false</read_only> | |
<disk_profile href="/api/diskprofiles/30b3a15b-77de-4573-ad24-aaad8c27d5b3" id="30b3a15b-77de-4573-ad24-aaad8c27d5b3"/> | |
<storage_type>image</storage_type> | |
</disk> | |
</disks> | |
<nics> | |
<nic href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/nics/a17d0936-dcc6-48bc-b0bb-b951d05d3d7b" id="a17d0936-dcc6-48bc-b0bb-b951d05d3d7b"> | |
<actions> | |
<link href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/nics/a17d0936-dcc6-48bc-b0bb-b951d05d3d7b/deactivate" rel="deactivate"/> | |
<link href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/nics/a17d0936-dcc6-48bc-b0bb-b951d05d3d7b/activate" rel="activate"/> | |
</actions> | |
<name>eth0</name> | |
<link href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be/nics/a17d0936-dcc6-48bc-b0bb-b951d05d3d7b/statistics" rel="statistics"/> | |
<vm href="/api/vms/9ce9d090-6efc-4bef-860c-fcbfbc6d93be" id="9ce9d090-6efc-4bef-860c-fcbfbc6d93be"/> | |
<network href="/api/networks/00000000-0000-0000-0000-000000000009" id="00000000-0000-0000-0000-000000000009"/> | |
<linked>true</linked> | |
<interface>virtio</interface> | |
<mac address="00:1a:01:00:00:01"/> | |
<active>true</active> | |
<plugged>true</plugged> | |
<vnic_profile href="/api/vnicprofiles/0000000a-000a-000a-000a-000000000398" id="0000000a-000a-000a-000a-000000000398"/> | |
</nic> | |
</nics> | |
<placement_policy> | |
<affinity>migratable</affinity> | |
</placement_policy> | |
<next_run_configuration_exists>false</next_run_configuration_exists> | |
<numa_tune_mode>interleave</numa_tune_mode> | |
</vm> | |
</vms> | |
[root@sat ~]# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment