fog-ovirt 1.2.2 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (103) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/.rubocop.yml +10 -0
  4. data/.rubocop_todo.yml +17 -5
  5. data/Gemfile +0 -1
  6. data/README.md +2 -6
  7. data/Rakefile +2 -8
  8. data/fog-ovirt.gemspec +3 -3
  9. data/lib/fog/ovirt/compute.rb +5 -29
  10. data/lib/fog/ovirt/compute/v4.rb +27 -11
  11. data/lib/fog/ovirt/models/compute/interface.rb +1 -0
  12. data/lib/fog/ovirt/models/compute/interfaces.rb +0 -2
  13. data/lib/fog/ovirt/models/compute/server.rb +0 -2
  14. data/lib/fog/ovirt/models/compute/volume.rb +1 -0
  15. data/lib/fog/ovirt/models/compute/volumes.rb +0 -2
  16. data/lib/fog/ovirt/requests/compute/v4/add_interface.rb +4 -10
  17. data/lib/fog/ovirt/requests/compute/v4/add_volume.rb +2 -2
  18. data/lib/fog/ovirt/requests/compute/v4/create_vm.rb +2 -4
  19. data/lib/fog/ovirt/requests/compute/v4/list_template_volumes.rb +0 -2
  20. data/lib/fog/ovirt/requests/compute/v4/list_vm_volumes.rb +0 -2
  21. data/lib/fog/ovirt/requests/compute/v4/list_vnic_profiles.rb +25 -0
  22. data/lib/fog/ovirt/requests/compute/v4/mock_files/operating_systems.xml +4 -4
  23. data/lib/fog/ovirt/requests/compute/v4/mock_files/template.xml +48 -45
  24. data/lib/fog/ovirt/requests/compute/v4/mock_files/templates.xml +17 -2
  25. data/lib/fog/ovirt/requests/compute/v4/mock_files/vnic_profile.xml +10 -0
  26. data/lib/fog/ovirt/requests/compute/v4/mock_files/vnic_profiles.xml +42 -0
  27. data/lib/fog/ovirt/requests/compute/v4/storage_domains.rb +2 -1
  28. data/lib/fog/ovirt/requests/compute/v4/update_vm.rb +0 -2
  29. data/lib/fog/ovirt/version.rb +1 -1
  30. data/tests/ovirt/requests/compute/v4/client_tests.rb +1 -1
  31. metadata +18 -95
  32. data/lib/fog/ovirt/compute/v3.rb +0 -138
  33. data/lib/fog/ovirt/requests/compute/v3/activate_volume.rb +0 -23
  34. data/lib/fog/ovirt/requests/compute/v3/add_interface.rb +0 -22
  35. data/lib/fog/ovirt/requests/compute/v3/add_to_affinity_group.rb +0 -23
  36. data/lib/fog/ovirt/requests/compute/v3/add_volume.rb +0 -23
  37. data/lib/fog/ovirt/requests/compute/v3/attach_volume.rb +0 -24
  38. data/lib/fog/ovirt/requests/compute/v3/create_affinity_group.rb +0 -20
  39. data/lib/fog/ovirt/requests/compute/v3/create_vm.rb +0 -20
  40. data/lib/fog/ovirt/requests/compute/v3/datacenters.rb +0 -22
  41. data/lib/fog/ovirt/requests/compute/v3/deactivate_volume.rb +0 -24
  42. data/lib/fog/ovirt/requests/compute/v3/destroy_affinity_group.rb +0 -21
  43. data/lib/fog/ovirt/requests/compute/v3/destroy_interface.rb +0 -24
  44. data/lib/fog/ovirt/requests/compute/v3/destroy_vm.rb +0 -21
  45. data/lib/fog/ovirt/requests/compute/v3/destroy_volume.rb +0 -24
  46. data/lib/fog/ovirt/requests/compute/v3/detach_volume.rb +0 -24
  47. data/lib/fog/ovirt/requests/compute/v3/get_affinity_group.rb +0 -20
  48. data/lib/fog/ovirt/requests/compute/v3/get_api_version.rb +0 -18
  49. data/lib/fog/ovirt/requests/compute/v3/get_cluster.rb +0 -19
  50. data/lib/fog/ovirt/requests/compute/v3/get_instance_type.rb +0 -19
  51. data/lib/fog/ovirt/requests/compute/v3/get_quota.rb +0 -19
  52. data/lib/fog/ovirt/requests/compute/v3/get_template.rb +0 -19
  53. data/lib/fog/ovirt/requests/compute/v3/get_virtual_machine.rb +0 -19
  54. data/lib/fog/ovirt/requests/compute/v3/get_volume.rb +0 -19
  55. data/lib/fog/ovirt/requests/compute/v3/list_affinity_group_vms.rb +0 -24
  56. data/lib/fog/ovirt/requests/compute/v3/list_affinity_groups.rb +0 -22
  57. data/lib/fog/ovirt/requests/compute/v3/list_clusters.rb +0 -21
  58. data/lib/fog/ovirt/requests/compute/v3/list_instance_types.rb +0 -21
  59. data/lib/fog/ovirt/requests/compute/v3/list_networks.rb +0 -18
  60. data/lib/fog/ovirt/requests/compute/v3/list_operating_systems.rb +0 -21
  61. data/lib/fog/ovirt/requests/compute/v3/list_quotas.rb +0 -21
  62. data/lib/fog/ovirt/requests/compute/v3/list_template_interfaces.rb +0 -21
  63. data/lib/fog/ovirt/requests/compute/v3/list_template_volumes.rb +0 -21
  64. data/lib/fog/ovirt/requests/compute/v3/list_templates.rb +0 -21
  65. data/lib/fog/ovirt/requests/compute/v3/list_virtual_machines.rb +0 -21
  66. data/lib/fog/ovirt/requests/compute/v3/list_vm_interfaces.rb +0 -21
  67. data/lib/fog/ovirt/requests/compute/v3/list_vm_volumes.rb +0 -21
  68. data/lib/fog/ovirt/requests/compute/v3/list_volumes.rb +0 -21
  69. data/lib/fog/ovirt/requests/compute/v3/mock_files/affinitygroup.xml +0 -8
  70. data/lib/fog/ovirt/requests/compute/v3/mock_files/affinitygroup_vms.xml +0 -9
  71. data/lib/fog/ovirt/requests/compute/v3/mock_files/affinitygroups.xml +0 -17
  72. data/lib/fog/ovirt/requests/compute/v3/mock_files/cluster.xml +0 -20
  73. data/lib/fog/ovirt/requests/compute/v3/mock_files/clusters.xml +0 -39
  74. data/lib/fog/ovirt/requests/compute/v3/mock_files/data_centers.xml +0 -17
  75. data/lib/fog/ovirt/requests/compute/v3/mock_files/disks.xml +0 -58
  76. data/lib/fog/ovirt/requests/compute/v3/mock_files/instance_type.xml +0 -42
  77. data/lib/fog/ovirt/requests/compute/v3/mock_files/instance_types.xml +0 -197
  78. data/lib/fog/ovirt/requests/compute/v3/mock_files/nics.xml +0 -10
  79. data/lib/fog/ovirt/requests/compute/v3/mock_files/operating_systems.xml +0 -10
  80. data/lib/fog/ovirt/requests/compute/v3/mock_files/quotas.xml +0 -7
  81. data/lib/fog/ovirt/requests/compute/v3/mock_files/storage_domains.xml +0 -36
  82. data/lib/fog/ovirt/requests/compute/v3/mock_files/template.xml +0 -39
  83. data/lib/fog/ovirt/requests/compute/v3/mock_files/templates.xml +0 -110
  84. data/lib/fog/ovirt/requests/compute/v3/mock_files/vm.xml +0 -52
  85. data/lib/fog/ovirt/requests/compute/v3/mock_files/vms.xml +0 -152
  86. data/lib/fog/ovirt/requests/compute/v3/mock_files/volume.xml +0 -21
  87. data/lib/fog/ovirt/requests/compute/v3/mock_files/volumes.xml +0 -40
  88. data/lib/fog/ovirt/requests/compute/v3/remove_from_affinity_group.rb +0 -23
  89. data/lib/fog/ovirt/requests/compute/v3/storage_domains.rb +0 -22
  90. data/lib/fog/ovirt/requests/compute/v3/update_interface.rb +0 -36
  91. data/lib/fog/ovirt/requests/compute/v3/update_vm.rb +0 -20
  92. data/lib/fog/ovirt/requests/compute/v3/update_volume.rb +0 -37
  93. data/lib/fog/ovirt/requests/compute/v3/vm_action.rb +0 -24
  94. data/lib/fog/ovirt/requests/compute/v3/vm_start_with_cloudinit.rb +0 -21
  95. data/lib/fog/ovirt/requests/compute/v3/vm_ticket.rb +0 -19
  96. data/tests/ovirt/requests/compute/v3/client_tests.rb +0 -31
  97. data/tests/ovirt/requests/compute/v3/create_vm_tests.rb +0 -17
  98. data/tests/ovirt/requests/compute/v3/destroy_vm_tests.rb +0 -14
  99. data/tests/ovirt/requests/compute/v3/list_datacenters_tests.rb +0 -11
  100. data/tests/ovirt/requests/compute/v3/list_quotas_tests.rb +0 -10
  101. data/tests/ovirt/requests/compute/v3/list_storage_domains_tests.rb +0 -11
  102. data/tests/ovirt/requests/compute/v3/update_vm_tests.rb +0 -14
  103. data/tests/ovirt/requests/compute/v3/update_volume_tests.rb +0 -15
@@ -1,21 +0,0 @@
1
- module Fog
2
- module Ovirt
3
- class Compute
4
- class V3
5
- class Real
6
- def list_vm_volumes(vm_id)
7
- client.vm_volumes(vm_id).map { |ovirt_obj| ovirt_attrs ovirt_obj }
8
- end
9
- end
10
- class Mock
11
- def list_vm_volumes(_vm_id)
12
- xml = read_xml "volumes.xml"
13
- Nokogiri::XML(xml).xpath("/disks/disk").map do |vol|
14
- ovirt_attrs OVIRT::Volume.new(self, vol)
15
- end
16
- end
17
- end
18
- end
19
- end
20
- end
21
- end
@@ -1,21 +0,0 @@
1
- module Fog
2
- module Ovirt
3
- class Compute
4
- class V3
5
- class Real
6
- def list_volumes
7
- client.disks.map { |ovirt_obj| ovirt_attrs ovirt_obj }
8
- end
9
- end
10
- class Mock
11
- def list_volumes
12
- xml = read_xml "disks.xml"
13
- Nokogiri::XML(xml).xpath("/disks/disk").map do |vol|
14
- ovirt_attrs OVIRT::Volume.new(self, vol)
15
- end
16
- end
17
- end
18
- end
19
- end
20
- end
21
- end
@@ -1,8 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2
- <affinity_group href="/api/clusters/a240aac1-d03a-4c69-923e-a295200539fa/affinitygroups/9aaec56b-e24d-4fce-82a1-21a7b642ab0f" id="9aaec56b-e24d-4fce-82a1-21a7b642ab0f">
3
- <name>test1_ag</name>
4
- <link href="/api/clusters/a240aac1-d03a-4c69-923e-a295200539fa/affinitygroups/9aaec56b-e24d-4fce-82a1-21a7b642ab0f/vms" rel="vms"/>
5
- <cluster href="/api/clusters/a240aac1-d03a-4c69-923e-a295200539fa" id="a240aac1-d03a-4c69-923e-a295200539fa"/>
6
- <positive>true</positive>
7
- <enforcing>false</enforcing>
8
- </affinity_group>
@@ -1,9 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2
- <vms>
3
- <vm href="/api/vms/5ee86332-7b19-465b-8801-2a12ed0d6c1b" id="5ee86332-7b19-465b-8801-2a12ed0d6c1b">
4
- <name>test-vm1</name>
5
- </vm>
6
- <vm href="/api/vms/349764bb-eba3-4466-abef-f18f4c40c9f1" id="349764bb-eba3-4466-abef-f18f4c40c9f1">
7
- <name>fosdem</name>
8
- </vm>
9
- </vms>
@@ -1,17 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2
- <affinity_groups>
3
- <affinity_group href="/api/clusters/a240aac1-d03a-4c69-923e-a295200539fa/affinitygroups/ff73a83f-10b2-44ae-8c98-a29b13ae0c19" id="ff73a83f-10b2-44ae-8c98-a29b13ae0c19">
4
- <name>test2_ag</name>
5
- <link href="/api/clusters/a240aac1-d03a-4c69-923e-a295200539fa/affinitygroups/ff73a83f-10b2-44ae-8c98-a29b13ae0c19/vms" rel="vms"/>
6
- <cluster href="/api/clusters/a240aac1-d03a-4c69-923e-a295200539fa" id="a240aac1-d03a-4c69-923e-a295200539fa"/>
7
- <positive>true</positive>
8
- <enforcing>true</enforcing>
9
- </affinity_group>
10
- <affinity_group href="/api/clusters/a240aac1-d03a-4c69-923e-a295200539fa/affinitygroups/9aaec56b-e24d-4fce-82a1-21a7b642ab0f" id="9aaec56b-e24d-4fce-82a1-21a7b642ab0f">
11
- <name>test1_ag</name>
12
- <link href="/api/clusters/a240aac1-d03a-4c69-923e-a295200539fa/affinitygroups/9aaec56b-e24d-4fce-82a1-21a7b642ab0f/vms" rel="vms"/>
13
- <cluster href="/api/clusters/a240aac1-d03a-4c69-923e-a295200539fa" id="a240aac1-d03a-4c69-923e-a295200539fa"/>
14
- <positive>true</positive>
15
- <enforcing>false</enforcing>
16
- </affinity_group>
17
- </affinity_groups>
@@ -1,20 +0,0 @@
1
- <clusters>
2
- <cluster href="/api/clusters/9ce445e8-4c03-11e1-b3c8-5254009970cc" id="9ce445e8-4c03-11e1-b3c8-5254009970cc">
3
- <name>cluster1</name>
4
- <link href="/api/clusters/9ce445e8-4c03-11e1-b3c8-5254009970cc/networks" rel="networks"/>
5
- <link href="/api/clusters/9ce445e8-4c03-11e1-b3c8-5254009970cc/permissions" rel="permissions"/>
6
- <cpu id="Intel Conroe Family"/>
7
- <data_center href="/api/datacenters/c0645886-4b4b-11e1-a0ae-5254009970cc" id="c0645886-4b4b-11e1-a0ae-5254009970cc"/>
8
- <memory_policy>
9
- <overcommit percent="200"/>
10
- <transparent_hugepages>
11
- <enabled>true</enabled>
12
- </transparent_hugepages>
13
- </memory_policy>
14
- <scheduling_policy/>
15
- <version major="3" minor="0"/>
16
- <error_handling>
17
- <on_error>migrate_highly_available</on_error>
18
- </error_handling>
19
- </cluster>
20
- </clusters>
@@ -1,39 +0,0 @@
1
- <clusters>
2
- <cluster href="/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95" id="99408929-82cf-4dc7-a532-9d998063fa95">
3
- <name>Cluster1</name>
4
- <description>The default server cluster</description>
5
- <link href="/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95/networks" rel="networks"/>
6
- <link href="/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95/permissions" rel="permissions"/>
7
- <cpu id="Intel Conroe Family"/>
8
- <data_center href="/api/datacenters/c0645886-4b4b-11e1-a0ae-5254009970cc" id="c0645886-4b4b-11e1-a0ae-5254009970cc"/>
9
- <memory_policy>
10
- <overcommit percent="100"/>
11
- <transparent_hugepages>
12
- <enabled>true</enabled>
13
- </transparent_hugepages>
14
- </memory_policy>
15
- <scheduling_policy/>
16
- <version major="3" minor="0"/>
17
- <error_handling>
18
- <on_error>migrate</on_error>
19
- </error_handling>
20
- </cluster>
21
- <cluster href="/api/clusters/9ce445e8-4c03-11e1-b3c8-5254009970cc" id="9ce445e8-4c03-11e1-b3c8-5254009970cc">
22
- <name>Cluster2</name>
23
- <link href="/api/clusters/9ce445e8-4c03-11e1-b3c8-5254009970cc/networks" rel="networks"/>
24
- <link href="/api/clusters/9ce445e8-4c03-11e1-b3c8-5254009970cc/permissions" rel="permissions"/>
25
- <cpu id="Intel Conroe Family"/>
26
- <data_center href="/api/datacenters/c0645886-4b4b-11e1-a0ae-5254009970cc" id="c0645886-4b4b-11e1-a0ae-5254009970cc"/>
27
- <memory_policy>
28
- <overcommit percent="200"/>
29
- <transparent_hugepages>
30
- <enabled>true</enabled>
31
- </transparent_hugepages>
32
- </memory_policy>
33
- <scheduling_policy/>
34
- <version major="3" minor="0"/>
35
- <error_handling>
36
- <on_error>migrate_highly_available</on_error>
37
- </error_handling>
38
- </cluster>
39
- </clusters>
@@ -1,17 +0,0 @@
1
- <data_centers>
2
- <data_center href="/api/datacenters/c0645886-4b4b-11e1-a0ae-5254009970cc" id="c0645886-4b4b-11e1-a0ae-5254009970cc">
3
- <name>Datacenter1</name>
4
- <description>The first Data Center</description>
5
- <link href="/api/datacenters/c0645886-4b4b-11e1-a0ae-5254009970cc/storagedomains" rel="storagedomains"/>
6
- <link href="/api/datacenters/c0645886-4b4b-11e1-a0ae-5254009970cc/permissions" rel="permissions"/>
7
- <storage_type>nfs</storage_type>
8
- <storage_format>v1</storage_format>
9
- <version major="3" minor="0"/>
10
- <supported_versions>
11
- <version major="3" minor="0"/>
12
- </supported_versions>
13
- <status>
14
- <state>up</state>
15
- </status>
16
- </data_center>
17
- </data_centers>
@@ -1,58 +0,0 @@
1
- <disks>
2
- <disk href="/api/disks/4d1abf9a-da81-4de2-bf20-f5f060018e05" id="4d1abf9a-da81-4de2-bf20-f5f060018e05">
3
- <actions>
4
- <link href="/api/disks/4d1abf9a-da81-4de2-bf20-f5f060018e05/export" rel="export"/>
5
- <link href="/api/disks/4d1abf9a-da81-4de2-bf20-f5f060018e05/move" rel="move"/>
6
- <link href="/api/disks/4d1abf9a-da81-4de2-bf20-f5f060018e05/copy" rel="copy"/>
7
- </actions>
8
- <name>Disk 2</name>
9
- <link href="/api/disks/4d1abf9a-da81-4de2-bf20-f5f060018e05/permissions" rel="permissions"/>
10
- <link href="/api/disks/4d1abf9a-da81-4de2-bf20-f5f060018e05/statistics" rel="statistics"/>
11
- <alias>Disk 2</alias>
12
- <image_id>d6034a90-39fa-46ee-888f-208a76f3baa4</image_id>
13
- <storage_domains>
14
- <storage_domain id="a23a4329-33b9-4246-a393-4f91071825b6"/>
15
- </storage_domains>
16
- <size>4294967296</size>
17
- <provisioned_size>4294967296</provisioned_size>
18
- <actual_size>1073741824</actual_size>
19
- <status>
20
- <state>ok</state>
21
- </status>
22
- <interface>virtio</interface>
23
- <format>cow</format>
24
- <sparse>true</sparse>
25
- <bootable>false</bootable>
26
- <shareable>false</shareable>
27
- <wipe_after_delete>false</wipe_after_delete>
28
- <propagate_errors>false</propagate_errors>
29
- </disk>
30
- <disk href="/api/disks/cfebdac5-cefb-488a-8b55-f5f273a1e863" id="cfebdac5-cefb-488a-8b55-f5f273a1e863">
31
- <actions>
32
- <link href="/api/disks/cfebdac5-cefb-488a-8b55-f5f273a1e863/export" rel="export"/>
33
- <link href="/api/disks/cfebdac5-cefb-488a-8b55-f5f273a1e863/move" rel="move"/>
34
- <link href="/api/disks/cfebdac5-cefb-488a-8b55-f5f273a1e863/copy" rel="copy"/>
35
- </actions>
36
- <name>Disk 3</name>
37
- <link href="/api/disks/cfebdac5-cefb-488a-8b55-f5f273a1e863/permissions" rel="permissions"/>
38
- <link href="/api/disks/cfebdac5-cefb-488a-8b55-f5f273a1e863/statistics" rel="statistics"/>
39
- <alias>Disk 3</alias>
40
- <image_id>3d7edbe9-54e1-484c-a77c-3d170f1906bb</image_id>
41
- <storage_domains>
42
- <storage_domain id="c8431bb5-f57b-4ce8-8ba0-17c1859bc767"/>
43
- </storage_domains>
44
- <size>21474836480</size>
45
- <provisioned_size>21474836480</provisioned_size>
46
- <actual_size>1073741824</actual_size>
47
- <status>
48
- <state>ok</state>
49
- </status>
50
- <interface>virtio</interface>
51
- <format>cow</format>
52
- <sparse>true</sparse>
53
- <bootable>false</bootable>
54
- <shareable>false</shareable>
55
- <wipe_after_delete>false</wipe_after_delete>
56
- <propagate_errors>false</propagate_errors>
57
- </disk>
58
- </disks>
@@ -1,42 +0,0 @@
1
- <instance_types>
2
- <instance_type href="/api/instancetypes/00000009-0009-0009-0009-0000000002fa" id="00000009-0009-0009-0009-0000000002fa">
3
- <name>Large</name>
4
- <description>Large instance type</description>
5
- <link href="/api/instancetypes/00000009-0009-0009-0009-0000000002fa/nics" rel="nics"/>
6
- <link href="/api/instancetypes/00000009-0009-0009-0009-0000000002fa/watchdogs" rel="watchdogs"/>
7
- <link href="/api/instancetypes/00000009-0009-0009-0009-0000000002fa/graphicsconsoles" rel="graphicsconsoles"/>
8
- <memory>8589934592</memory>
9
- <cpu>
10
- <topology sockets="2" cores="1" threads="1"/>
11
- </cpu>
12
- <os>
13
- <boot dev="hd"/>
14
- </os>
15
- <creation_time>2014-05-05T02:30:00.000+05:30</creation_time>
16
- <high_availability>
17
- <enabled>false</enabled>
18
- <priority>0</priority>
19
- </high_availability>
20
- <display>
21
- <type>spice</type>
22
- <monitors>1</monitors>
23
- <single_qxl_pci>false</single_qxl_pci>
24
- <smartcard_enabled>false</smartcard_enabled>
25
- </display>
26
- <usb>
27
- <enabled>false</enabled>
28
- </usb>
29
- <migration_downtime>-1</migration_downtime>
30
- <migration>
31
- <auto_converge>inherit</auto_converge>
32
- <compressed>inherit</compressed>
33
- </migration>
34
- <io>
35
- <threads>0</threads>
36
- </io>
37
- <memory_policy>
38
- <guaranteed>8589934592</guaranteed>
39
- <ballooning>false</ballooning>
40
- </memory_policy>
41
- </instance_type>
42
- </instance_types>
@@ -1,197 +0,0 @@
1
- <instance_types>
2
- <instance_type href="/api/instancetypes/00000009-0009-0009-0009-0000000002fa" id="00000009-0009-0009-0009-0000000002fa">
3
- <name>Large</name>
4
- <description>Large instance type</description>
5
- <link href="/api/instancetypes/00000009-0009-0009-0009-0000000002fa/nics" rel="nics"/>
6
- <link href="/api/instancetypes/00000009-0009-0009-0009-0000000002fa/watchdogs" rel="watchdogs"/>
7
- <link href="/api/instancetypes/00000009-0009-0009-0009-0000000002fa/graphicsconsoles" rel="graphicsconsoles"/>
8
- <memory>8589934592</memory>
9
- <cpu>
10
- <topology sockets="2" cores="1" threads="1"/>
11
- </cpu>
12
- <os>
13
- <boot dev="hd"/>
14
- </os>
15
- <creation_time>2014-05-05T02:30:00.000+05:30</creation_time>
16
- <high_availability>
17
- <enabled>false</enabled>
18
- <priority>0</priority>
19
- </high_availability>
20
- <display>
21
- <type>spice</type>
22
- <monitors>1</monitors>
23
- <single_qxl_pci>false</single_qxl_pci>
24
- <smartcard_enabled>false</smartcard_enabled>
25
- </display>
26
- <usb>
27
- <enabled>false</enabled>
28
- </usb>
29
- <migration_downtime>-1</migration_downtime>
30
- <migration>
31
- <auto_converge>inherit</auto_converge>
32
- <compressed>inherit</compressed>
33
- </migration>
34
- <io>
35
- <threads>0</threads>
36
- </io>
37
- <memory_policy>
38
- <guaranteed>8589934592</guaranteed>
39
- </memory_policy>
40
- </instance_type>
41
- <instance_type href="/api/instancetypes/00000007-0007-0007-0007-000000000210" id="00000007-0007-0007-0007-000000000210">
42
- <name>Medium</name>
43
- <description>Medium instance type</description>
44
- <link href="/api/instancetypes/00000007-0007-0007-0007-000000000210/nics" rel="nics"/>
45
- <link href="/api/instancetypes/00000007-0007-0007-0007-000000000210/watchdogs" rel="watchdogs"/>
46
- <link href="/api/instancetypes/00000007-0007-0007-0007-000000000210/graphicsconsoles" rel="graphicsconsoles"/>
47
- <memory>4294967296</memory>
48
- <cpu>
49
- <topology sockets="2" cores="1" threads="1"/>
50
- </cpu>
51
- <os>
52
- <boot dev="hd"/>
53
- </os>
54
- <creation_time>2014-05-05T02:30:00.000+05:30</creation_time>
55
- <high_availability>
56
- <enabled>false</enabled>
57
- <priority>0</priority>
58
- </high_availability>
59
- <display>
60
- <type>spice</type>
61
- <monitors>1</monitors>
62
- <single_qxl_pci>false</single_qxl_pci>
63
- <smartcard_enabled>false</smartcard_enabled>
64
- </display>
65
- <usb>
66
- <enabled>false</enabled>
67
- </usb>
68
- <migration_downtime>-1</migration_downtime>
69
- <migration>
70
- <auto_converge>inherit</auto_converge>
71
- <compressed>inherit</compressed>
72
- </migration>
73
- <io>
74
- <threads>0</threads>
75
- </io>
76
- <memory_policy>
77
- <guaranteed>4294967296</guaranteed>
78
- </memory_policy>
79
- </instance_type>
80
- <instance_type href="/api/instancetypes/00000005-0005-0005-0005-000000000190" id="00000005-0005-0005-0005-000000000190">
81
- <name>Small</name>
82
- <description>Small instance type</description>
83
- <link href="/api/instancetypes/00000005-0005-0005-0005-000000000190/nics" rel="nics"/>
84
- <link href="/api/instancetypes/00000005-0005-0005-0005-000000000190/watchdogs" rel="watchdogs"/>
85
- <link href="/api/instancetypes/00000005-0005-0005-0005-000000000190/graphicsconsoles" rel="graphicsconsoles"/>
86
- <memory>2147483648</memory>
87
- <cpu>
88
- <topology sockets="1" cores="1" threads="1"/>
89
- </cpu>
90
- <os>
91
- <boot dev="hd"/>
92
- </os>
93
- <creation_time>2014-05-05T02:30:00.000+05:30</creation_time>
94
- <high_availability>
95
- <enabled>false</enabled>
96
- <priority>0</priority>
97
- </high_availability>
98
- <display>
99
- <type>spice</type>
100
- <monitors>1</monitors>
101
- <single_qxl_pci>false</single_qxl_pci>
102
- <smartcard_enabled>false</smartcard_enabled>
103
- </display>
104
- <usb>
105
- <enabled>false</enabled>
106
- </usb>
107
- <migration_downtime>-1</migration_downtime>
108
- <migration>
109
- <auto_converge>inherit</auto_converge>
110
- <compressed>inherit</compressed>
111
- </migration>
112
- <io>
113
- <threads>0</threads>
114
- </io>
115
- <memory_policy>
116
- <guaranteed>2147483648</guaranteed>
117
- </memory_policy>
118
- </instance_type>
119
- <instance_type href="/api/instancetypes/00000003-0003-0003-0003-0000000000ce" id="00000003-0003-0003-0003-0000000000ce">
120
- <name>Tiny</name>
121
- <description>Tiny instance type</description>
122
- <link href="/api/instancetypes/00000003-0003-0003-0003-0000000000ce/nics" rel="nics"/>
123
- <link href="/api/instancetypes/00000003-0003-0003-0003-0000000000ce/watchdogs" rel="watchdogs"/>
124
- <link href="/api/instancetypes/00000003-0003-0003-0003-0000000000ce/graphicsconsoles" rel="graphicsconsoles"/>
125
- <memory>536870912</memory>
126
- <cpu>
127
- <topology sockets="1" cores="1" threads="1"/>
128
- </cpu>
129
- <os>
130
- <boot dev="hd"/>
131
- </os>
132
- <creation_time>2014-05-05T02:30:00.000+05:30</creation_time>
133
- <high_availability>
134
- <enabled>false</enabled>
135
- <priority>0</priority>
136
- </high_availability>
137
- <display>
138
- <type>spice</type>
139
- <monitors>1</monitors>
140
- <single_qxl_pci>false</single_qxl_pci>
141
- <smartcard_enabled>false</smartcard_enabled>
142
- </display>
143
- <usb>
144
- <enabled>false</enabled>
145
- </usb>
146
- <migration_downtime>-1</migration_downtime>
147
- <migration>
148
- <auto_converge>inherit</auto_converge>
149
- <compressed>inherit</compressed>
150
- </migration>
151
- <io>
152
- <threads>0</threads>
153
- </io>
154
- <memory_policy>
155
- <guaranteed>536870912</guaranteed>
156
- </memory_policy>
157
- </instance_type>
158
- <instance_type href="/api/instancetypes/0000000b-000b-000b-000b-000000000082" id="0000000b-000b-000b-000b-000000000082">
159
- <name>XLarge</name>
160
- <description>Extra Large instance type</description>
161
- <link href="/api/instancetypes/0000000b-000b-000b-000b-000000000082/nics" rel="nics"/>
162
- <link href="/api/instancetypes/0000000b-000b-000b-000b-000000000082/watchdogs" rel="watchdogs"/>
163
- <link href="/api/instancetypes/0000000b-000b-000b-000b-000000000082/graphicsconsoles" rel="graphicsconsoles"/>
164
- <memory>17179869184</memory>
165
- <cpu>
166
- <topology sockets="4" cores="1" threads="1"/>
167
- </cpu>
168
- <os>
169
- <boot dev="hd"/>
170
- </os>
171
- <creation_time>2014-05-05T02:30:00.000+05:30</creation_time>
172
- <high_availability>
173
- <enabled>false</enabled>
174
- <priority>0</priority>
175
- </high_availability>
176
- <display>
177
- <type>spice</type>
178
- <monitors>1</monitors>
179
- <single_qxl_pci>false</single_qxl_pci>
180
- <smartcard_enabled>false</smartcard_enabled>
181
- </display>
182
- <usb>
183
- <enabled>false</enabled>
184
- </usb>
185
- <migration_downtime>-1</migration_downtime>
186
- <migration>
187
- <auto_converge>inherit</auto_converge>
188
- <compressed>inherit</compressed>
189
- </migration>
190
- <io>
191
- <threads>0</threads>
192
- </io>
193
- <memory_policy>
194
- <guaranteed>17179869184</guaranteed>
195
- </memory_policy>
196
- </instance_type>
197
- </instance_types>