fog 1.41.0 → 1.42.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +20 -0
  3. data/Rakefile +0 -3
  4. data/fog.gemspec +5 -6
  5. data/lib/fog/vcloud_director/requests/compute/post_power_on_vapp.rb +1 -1
  6. data/lib/fog/version.rb +1 -1
  7. data/lib/tasks/changelog_task.rb +2 -1
  8. data/lib/tasks/github_release_task.rb +1 -1
  9. data/tests/helpers/mock_helper.rb +0 -3
  10. metadata +19 -135
  11. data/lib/fog/bin/ovirt.rb +0 -28
  12. data/lib/fog/ovirt/compute.rb +0 -155
  13. data/lib/fog/ovirt/core.rb +0 -16
  14. data/lib/fog/ovirt/models/compute/affinity_group.rb +0 -25
  15. data/lib/fog/ovirt/models/compute/affinity_groups.rb +0 -20
  16. data/lib/fog/ovirt/models/compute/cluster.rb +0 -20
  17. data/lib/fog/ovirt/models/compute/clusters.rb +0 -20
  18. data/lib/fog/ovirt/models/compute/instance_type.rb +0 -39
  19. data/lib/fog/ovirt/models/compute/instance_types.rb +0 -20
  20. data/lib/fog/ovirt/models/compute/interface.rb +0 -19
  21. data/lib/fog/ovirt/models/compute/interfaces.rb +0 -29
  22. data/lib/fog/ovirt/models/compute/quota.rb +0 -16
  23. data/lib/fog/ovirt/models/compute/quotas.rb +0 -20
  24. data/lib/fog/ovirt/models/compute/server.rb +0 -175
  25. data/lib/fog/ovirt/models/compute/servers.rb +0 -27
  26. data/lib/fog/ovirt/models/compute/template.rb +0 -58
  27. data/lib/fog/ovirt/models/compute/templates.rb +0 -20
  28. data/lib/fog/ovirt/models/compute/volume.rb +0 -36
  29. data/lib/fog/ovirt/models/compute/volumes.rb +0 -28
  30. data/lib/fog/ovirt/requests/compute/add_interface.rb +0 -20
  31. data/lib/fog/ovirt/requests/compute/add_to_affinity_group.rb +0 -21
  32. data/lib/fog/ovirt/requests/compute/add_volume.rb +0 -21
  33. data/lib/fog/ovirt/requests/compute/attach_volume.rb +0 -22
  34. data/lib/fog/ovirt/requests/compute/create_affinity_group.rb +0 -18
  35. data/lib/fog/ovirt/requests/compute/create_vm.rb +0 -18
  36. data/lib/fog/ovirt/requests/compute/datacenters.rb +0 -20
  37. data/lib/fog/ovirt/requests/compute/destroy_affinity_group.rb +0 -19
  38. data/lib/fog/ovirt/requests/compute/destroy_interface.rb +0 -22
  39. data/lib/fog/ovirt/requests/compute/destroy_vm.rb +0 -19
  40. data/lib/fog/ovirt/requests/compute/destroy_volume.rb +0 -22
  41. data/lib/fog/ovirt/requests/compute/detach_volume.rb +0 -22
  42. data/lib/fog/ovirt/requests/compute/get_affinity_group.rb +0 -18
  43. data/lib/fog/ovirt/requests/compute/get_api_version.rb +0 -16
  44. data/lib/fog/ovirt/requests/compute/get_cluster.rb +0 -17
  45. data/lib/fog/ovirt/requests/compute/get_instance_type.rb +0 -17
  46. data/lib/fog/ovirt/requests/compute/get_quota.rb +0 -17
  47. data/lib/fog/ovirt/requests/compute/get_template.rb +0 -17
  48. data/lib/fog/ovirt/requests/compute/get_virtual_machine.rb +0 -17
  49. data/lib/fog/ovirt/requests/compute/list_affinity_group_vms.rb +0 -22
  50. data/lib/fog/ovirt/requests/compute/list_affinity_groups.rb +0 -20
  51. data/lib/fog/ovirt/requests/compute/list_clusters.rb +0 -19
  52. data/lib/fog/ovirt/requests/compute/list_instance_types.rb +0 -19
  53. data/lib/fog/ovirt/requests/compute/list_networks.rb +0 -16
  54. data/lib/fog/ovirt/requests/compute/list_quotas.rb +0 -19
  55. data/lib/fog/ovirt/requests/compute/list_template_interfaces.rb +0 -19
  56. data/lib/fog/ovirt/requests/compute/list_template_volumes.rb +0 -19
  57. data/lib/fog/ovirt/requests/compute/list_templates.rb +0 -19
  58. data/lib/fog/ovirt/requests/compute/list_virtual_machines.rb +0 -19
  59. data/lib/fog/ovirt/requests/compute/list_vm_interfaces.rb +0 -19
  60. data/lib/fog/ovirt/requests/compute/list_vm_volumes.rb +0 -19
  61. data/lib/fog/ovirt/requests/compute/list_volumes.rb +0 -19
  62. data/lib/fog/ovirt/requests/compute/mock_files/affinitygroup.xml +0 -8
  63. data/lib/fog/ovirt/requests/compute/mock_files/affinitygroup_vms.xml +0 -9
  64. data/lib/fog/ovirt/requests/compute/mock_files/affinitygroups.xml +0 -17
  65. data/lib/fog/ovirt/requests/compute/mock_files/cluster.xml +0 -20
  66. data/lib/fog/ovirt/requests/compute/mock_files/clusters.xml +0 -39
  67. data/lib/fog/ovirt/requests/compute/mock_files/data_centers.xml +0 -17
  68. data/lib/fog/ovirt/requests/compute/mock_files/disks.xml +0 -58
  69. data/lib/fog/ovirt/requests/compute/mock_files/instance_type.xml +0 -42
  70. data/lib/fog/ovirt/requests/compute/mock_files/instance_types.xml +0 -197
  71. data/lib/fog/ovirt/requests/compute/mock_files/nics.xml +0 -10
  72. data/lib/fog/ovirt/requests/compute/mock_files/quotas.xml +0 -7
  73. data/lib/fog/ovirt/requests/compute/mock_files/storage_domains.xml +0 -36
  74. data/lib/fog/ovirt/requests/compute/mock_files/template.xml +0 -39
  75. data/lib/fog/ovirt/requests/compute/mock_files/templates.xml +0 -110
  76. data/lib/fog/ovirt/requests/compute/mock_files/vm.xml +0 -52
  77. data/lib/fog/ovirt/requests/compute/mock_files/vms.xml +0 -152
  78. data/lib/fog/ovirt/requests/compute/mock_files/volumes.xml +0 -40
  79. data/lib/fog/ovirt/requests/compute/remove_from_affinity_group.rb +0 -21
  80. data/lib/fog/ovirt/requests/compute/storage_domains.rb +0 -20
  81. data/lib/fog/ovirt/requests/compute/update_interface.rb +0 -35
  82. data/lib/fog/ovirt/requests/compute/update_vm.rb +0 -18
  83. data/lib/fog/ovirt/requests/compute/update_volume.rb +0 -39
  84. data/lib/fog/ovirt/requests/compute/vm_action.rb +0 -22
  85. data/lib/fog/ovirt/requests/compute/vm_start_with_cloudinit.rb +0 -19
  86. data/lib/fog/ovirt/requests/compute/vm_ticket.rb +0 -17
  87. data/spec/fog/bin/ovirt_spec.rb +0 -10
  88. data/tests/ovirt/compute_tests.rb +0 -25
  89. data/tests/ovirt/models/compute/cluster_tests.rb +0 -31
  90. data/tests/ovirt/models/compute/clusters_tests.rb +0 -9
  91. data/tests/ovirt/models/compute/interface_tests.rb +0 -27
  92. data/tests/ovirt/models/compute/interfaces_tests.rb +0 -9
  93. data/tests/ovirt/models/compute/server_tests.rb +0 -51
  94. data/tests/ovirt/models/compute/servers_tests.rb +0 -14
  95. data/tests/ovirt/models/compute/template_tests.rb +0 -28
  96. data/tests/ovirt/models/compute/templates_tests.rb +0 -9
  97. data/tests/ovirt/requests/compute/create_vm_tests.rb +0 -26
  98. data/tests/ovirt/requests/compute/destroy_vm_tests.rb +0 -18
  99. data/tests/ovirt/requests/compute/list_datacenters_tests.rb +0 -13
  100. data/tests/ovirt/requests/compute/list_quotas_tests.rb +0 -12
  101. data/tests/ovirt/requests/compute/list_storage_domains_tests.rb +0 -13
  102. data/tests/ovirt/requests/compute/update_vm_tests.rb +0 -18
  103. data/tests/ovirt/requests/compute/update_volume_tests.rb +0 -20
@@ -1,17 +0,0 @@
1
- module Fog
2
- module Compute
3
- class Ovirt
4
- class Real
5
- def get_cluster(id)
6
- ovirt_attrs client.cluster(id)
7
- end
8
- end
9
- class Mock
10
- def get_cluster(id)
11
- xml = read_xml('cluster.xml')
12
- ovirt_attrs OVIRT::Cluster::new(self, Nokogiri::XML(xml).root)
13
- end
14
- end
15
- end
16
- end
17
- end
@@ -1,17 +0,0 @@
1
- module Fog
2
- module Compute
3
- class Ovirt
4
- class Real
5
- def get_instance_type(id)
6
- ovirt_attrs client.instance_type(id)
7
- end
8
- end
9
- class Mock
10
- def get_instance_type(id)
11
- xml = read_xml 'instance_type.xml'
12
- ovirt_attrs OVIRT::InstanceType::new(self, Nokogiri::XML(xml).root)
13
- end
14
- end
15
- end
16
- end
17
- end
@@ -1,17 +0,0 @@
1
- module Fog
2
- module Compute
3
- class Ovirt
4
- class Real
5
- def get_quota(id)
6
- ovirt_attrs client.quota(id)
7
- end
8
- end
9
- class Mock
10
- def get_quota(id)
11
- xml = read_xml('quota.xml')
12
- ovirt_attrs OVIRT::Quota::new(self, Nokogiri::XML(xml).root)
13
- end
14
- end
15
- end
16
- end
17
- end
@@ -1,17 +0,0 @@
1
- module Fog
2
- module Compute
3
- class Ovirt
4
- class Real
5
- def get_template(id)
6
- ovirt_attrs client.template(id)
7
- end
8
- end
9
- class Mock
10
- def get_template(id)
11
- xml = read_xml 'template.xml'
12
- ovirt_attrs OVIRT::Template::new(self, Nokogiri::XML(xml).root)
13
- end
14
- end
15
- end
16
- end
17
- end
@@ -1,17 +0,0 @@
1
- module Fog
2
- module Compute
3
- class Ovirt
4
- class Real
5
- def get_virtual_machine(id)
6
- ovirt_attrs client.vm(id)
7
- end
8
- end
9
- class Mock
10
- def get_virtual_machine(id)
11
- xml = read_xml 'vm.xml'
12
- ovirt_attrs OVIRT::VM::new(self, Nokogiri::XML(xml).root)
13
- end
14
- end
15
- end
16
- end
17
- end
@@ -1,22 +0,0 @@
1
- module Fog
2
- module Compute
3
- class Ovirt
4
- class Real
5
- def list_affinity_group_vms(id)
6
- client.affinity_group_vms(id).map {|vm| servers.get(vm.id)}
7
- end
8
- end
9
-
10
- class Mock
11
- def list_affinity_group_vms(id)
12
- vms = []
13
- Nokogiri::XML(read_xml('affinitygroup_vms.xml')).xpath('/vms/vm/@id').each do |id|
14
- xml = Nokogiri::XML(read_xml('vms.xml')).xpath("/vms/vm[@id='%s']" % id.value).first
15
- vms << ovirt_attrs(OVIRT::VM::new(self, xml))
16
- end
17
- vms
18
- end
19
- end
20
- end
21
- end
22
- end
@@ -1,20 +0,0 @@
1
- module Fog
2
- module Compute
3
- class Ovirt
4
- class Real
5
- def list_affinity_groups(filters = {})
6
- client.affinity_groups(filters).map {|ovirt_obj| ovirt_attrs ovirt_obj}
7
- end
8
- end
9
-
10
- class Mock
11
- def list_affinity_groups(filters = {})
12
- xml = read_xml('affinitygroups.xml')
13
- Nokogiri::XML(xml).xpath('/affinity_groups/affinity_group').map do |ag|
14
- ovirt_attrs OVIRT::AffinityGroup::new(self, ag)
15
- end
16
- end
17
- end
18
- end
19
- end
20
- end
@@ -1,19 +0,0 @@
1
- module Fog
2
- module Compute
3
- class Ovirt
4
- class Real
5
- def list_clusters(filters = {})
6
- client.clusters(filters).map {|ovirt_obj| ovirt_attrs ovirt_obj}
7
- end
8
- end
9
- class Mock
10
- def list_clusters(filters = {})
11
- xml = read_xml 'clusters.xml'
12
- Nokogiri::XML(xml).xpath('/clusters/cluster').map do |cl|
13
- ovirt_attrs OVIRT::Cluster::new(self, cl)
14
- end
15
- end
16
- end
17
- end
18
- end
19
- end
@@ -1,19 +0,0 @@
1
- module Fog
2
- module Compute
3
- class Ovirt
4
- class Real
5
- def list_instance_types(filters = {})
6
- client.instance_types(filters).map {|ovirt_obj| ovirt_attrs ovirt_obj}
7
- end
8
- end
9
- class Mock
10
- def list_instance_types(filters = {})
11
- xml = read_xml 'instance_types.xml'
12
- Nokogiri::XML(xml).xpath('/instance_types/instance_type').map do |t|
13
- ovirt_attrs OVIRT::InstanceType::new(self, t)
14
- end
15
- end
16
- end
17
- end
18
- end
19
- end
@@ -1,16 +0,0 @@
1
- module Fog
2
- module Compute
3
- class Ovirt
4
- class Real
5
- def list_networks(cluster_id)
6
- client.networks(:cluster_id => cluster_id)
7
- end
8
- end
9
- class Mock
10
- def list_networks(cluster_id)
11
- []
12
- end
13
- end
14
- end
15
- end
16
- end
@@ -1,19 +0,0 @@
1
- module Fog
2
- module Compute
3
- class Ovirt
4
- class Real
5
- def list_quotas(filters = {})
6
- client.quotas(filters).map {|ovirt_obj| ovirt_attrs ovirt_obj}
7
- end
8
- end
9
- class Mock
10
- def list_quotas(filters = {})
11
- xml = read_xml 'quotas.xml'
12
- Nokogiri::XML(xml).xpath('/quotas/quota').map do |q|
13
- ovirt_attrs OVIRT::Quotas::new(self, q)
14
- end
15
- end
16
- end
17
- end
18
- end
19
- end
@@ -1,19 +0,0 @@
1
- module Fog
2
- module Compute
3
- class Ovirt
4
- class Real
5
- def list_template_interfaces(vm_id)
6
- client.template_interfaces(vm_id).map {|ovirt_obj| ovirt_attrs ovirt_obj}
7
- end
8
- end
9
- class Mock
10
- def list_template_interfaces(vm_id)
11
- xml = read_xml 'nics.xml'
12
- Nokogiri::XML(xml).xpath('/nics/nic').map do |nic|
13
- ovirt_attrs OVIRT::Interface::new(self, nic)
14
- end
15
- end
16
- end
17
- end
18
- end
19
- end
@@ -1,19 +0,0 @@
1
- module Fog
2
- module Compute
3
- class Ovirt
4
- class Real
5
- def list_template_volumes(template_id)
6
- client.template_volumes(template_id).map {|ovirt_obj| ovirt_attrs ovirt_obj}
7
- end
8
- end
9
- class Mock
10
- def list_template_volumes(template_id)
11
- xml = read_xml 'volumes.xml'
12
- Nokogiri::XML(xml).xpath('/disks/disk').map do |vol|
13
- ovirt_attrs OVIRT::Volume::new(self, vol)
14
- end
15
- end
16
- end
17
- end
18
- end
19
- end
@@ -1,19 +0,0 @@
1
- module Fog
2
- module Compute
3
- class Ovirt
4
- class Real
5
- def list_templates(filters = {})
6
- client.templates(filters).map {|ovirt_obj| ovirt_attrs ovirt_obj}
7
- end
8
- end
9
- class Mock
10
- def list_templates(filters = {})
11
- xml = read_xml 'templates.xml'
12
- Nokogiri::XML(xml).xpath('/templates/template').map do |t|
13
- ovirt_attrs OVIRT::Template::new(self, t)
14
- end
15
- end
16
- end
17
- end
18
- end
19
- end
@@ -1,19 +0,0 @@
1
- module Fog
2
- module Compute
3
- class Ovirt
4
- class Real
5
- def list_virtual_machines(filters = {})
6
- client.vms(filters).map {|ovirt_obj| ovirt_attrs ovirt_obj}
7
- end
8
- end
9
- class Mock
10
- def list_virtual_machines(filters = {})
11
- xml = read_xml 'vms.xml'
12
- Nokogiri::XML(xml).xpath('/vms/vm').map do |vm|
13
- ovirt_attrs OVIRT::VM::new(self, vm)
14
- end
15
- end
16
- end
17
- end
18
- end
19
- end
@@ -1,19 +0,0 @@
1
- module Fog
2
- module Compute
3
- class Ovirt
4
- class Real
5
- def list_vm_interfaces(vm_id)
6
- client.vm_interfaces(vm_id).map {|ovirt_obj| ovirt_attrs ovirt_obj}
7
- end
8
- end
9
- class Mock
10
- def list_vm_interfaces(vm_id)
11
- xml = read_xml 'nics.xml'
12
- Nokogiri::XML(xml).xpath('/nics/nic').map do |nic|
13
- ovirt_attrs OVIRT::Interface::new(self, nic)
14
- end
15
- end
16
- end
17
- end
18
- end
19
- end
@@ -1,19 +0,0 @@
1
- module Fog
2
- module Compute
3
- class Ovirt
4
- class Real
5
- def list_vm_volumes(vm_id)
6
- client.vm_volumes(vm_id).map {|ovirt_obj| ovirt_attrs ovirt_obj}
7
- end
8
- end
9
- class Mock
10
- def list_vm_volumes(vm_id)
11
- xml = read_xml 'volumes.xml'
12
- Nokogiri::XML(xml).xpath('/disks/disk').map do |vol|
13
- ovirt_attrs OVIRT::Volume::new(self, vol)
14
- end
15
- end
16
- end
17
- end
18
- end
19
- end
@@ -1,19 +0,0 @@
1
- module Fog
2
- module Compute
3
- class Ovirt
4
- class Real
5
- def list_volumes
6
- client.disks.map {|ovirt_obj| ovirt_attrs ovirt_obj}
7
- end
8
- end
9
- class Mock
10
- def list_volumes
11
- xml = read_xml 'disks.xml'
12
- Nokogiri::XML(xml).xpath('/disks/disk').map do |vol|
13
- ovirt_attrs OVIRT::Volume::new(self, vol)
14
- end
15
- end
16
- end
17
- end
18
- end
19
- 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>