fog 1.27.0 → 1.28.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +71 -0
- data/Rakefile +2 -2
- data/bin/fog +2 -2
- data/fog.gemspec +4 -3
- data/lib/fog/bin/clodo.rb +1 -1
- data/lib/fog/bin/openstack.rb +5 -0
- data/lib/fog/digitalocean/examples/getting_started.md +46 -4
- data/lib/fog/digitalocean/models/compute/server.rb +1 -3
- data/lib/fog/digitalocean/models/compute/servers.rb +30 -0
- data/lib/fog/fogdocker/compute.rb +3 -2
- data/lib/fog/fogdocker/requests/compute/container_action.rb +1 -1
- data/lib/fog/fogdocker/requests/compute/container_all.rb +1 -1
- data/lib/fog/fogdocker/requests/compute/container_commit.rb +1 -1
- data/lib/fog/fogdocker/requests/compute/container_create.rb +1 -1
- data/lib/fog/fogdocker/requests/compute/container_delete.rb +1 -1
- data/lib/fog/fogdocker/requests/compute/container_get.rb +1 -1
- data/lib/fog/fogdocker/requests/compute/image_all.rb +1 -1
- data/lib/fog/fogdocker/requests/compute/image_create.rb +1 -1
- data/lib/fog/fogdocker/requests/compute/image_delete.rb +1 -1
- data/lib/fog/fogdocker/requests/compute/image_get.rb +1 -1
- data/lib/fog/fogdocker/requests/compute/image_search.rb +1 -1
- data/lib/fog/google/compute.rb +2 -1
- data/lib/fog/google/core.rb +42 -12
- data/lib/fog/google/dns.rb +2 -1
- data/lib/fog/google/monitoring.rb +1 -1
- data/lib/fog/google/sql.rb +1 -1
- data/lib/fog/hp/requests/storage/get_object.rb +5 -3
- data/lib/fog/joyent/compute.rb +2 -0
- data/lib/fog/openstack.rb +1 -0
- data/lib/fog/openstack/baremetal.rb +370 -0
- data/lib/fog/openstack/core.rb +1 -0
- data/lib/fog/openstack/docs/orchestration.md +318 -0
- data/lib/fog/openstack/docs/storage.md +1 -7
- data/lib/fog/openstack/models/baremetal/chassis.rb +60 -0
- data/lib/fog/openstack/models/baremetal/chassis_collection.rb +38 -0
- data/lib/fog/openstack/models/baremetal/driver.rb +30 -0
- data/lib/fog/openstack/models/baremetal/drivers.rb +21 -0
- data/lib/fog/openstack/models/baremetal/node.rb +85 -0
- data/lib/fog/openstack/models/baremetal/nodes.rb +38 -0
- data/lib/fog/openstack/models/baremetal/port.rb +61 -0
- data/lib/fog/openstack/models/baremetal/ports.rb +38 -0
- data/lib/fog/openstack/models/orchestration/event.rb +20 -0
- data/lib/fog/openstack/models/orchestration/events.rb +28 -0
- data/lib/fog/openstack/models/orchestration/resource.rb +32 -0
- data/lib/fog/openstack/models/orchestration/resource_schemas.rb +17 -0
- data/lib/fog/openstack/models/orchestration/resources.rb +35 -0
- data/lib/fog/openstack/models/orchestration/stack.rb +91 -24
- data/lib/fog/openstack/models/orchestration/stacks.rb +38 -4
- data/lib/fog/openstack/models/orchestration/template.rb +15 -0
- data/lib/fog/openstack/models/orchestration/templates.rb +44 -0
- data/lib/fog/openstack/orchestration.rb +48 -2
- data/lib/fog/openstack/requests/baremetal/create_chassis.rb +44 -0
- data/lib/fog/openstack/requests/baremetal/create_node.rb +54 -0
- data/lib/fog/openstack/requests/baremetal/create_port.rb +46 -0
- data/lib/fog/openstack/requests/baremetal/delete_chassis.rb +25 -0
- data/lib/fog/openstack/requests/baremetal/delete_node.rb +25 -0
- data/lib/fog/openstack/requests/baremetal/delete_port.rb +25 -0
- data/lib/fog/openstack/requests/baremetal/get_chassis.rb +24 -0
- data/lib/fog/openstack/requests/baremetal/get_driver.rb +24 -0
- data/lib/fog/openstack/requests/baremetal/get_driver_properties.rb +40 -0
- data/lib/fog/openstack/requests/baremetal/get_node.rb +24 -0
- data/lib/fog/openstack/requests/baremetal/get_port.rb +24 -0
- data/lib/fog/openstack/requests/baremetal/list_chassis.rb +48 -0
- data/lib/fog/openstack/requests/baremetal/list_chassis_detailed.rb +31 -0
- data/lib/fog/openstack/requests/baremetal/list_drivers.rb +24 -0
- data/lib/fog/openstack/requests/baremetal/list_nodes.rb +40 -0
- data/lib/fog/openstack/requests/baremetal/list_nodes_detailed.rb +31 -0
- data/lib/fog/openstack/requests/baremetal/list_ports.rb +48 -0
- data/lib/fog/openstack/requests/baremetal/list_ports_detailed.rb +31 -0
- data/lib/fog/openstack/requests/baremetal/patch_chassis.rb +42 -0
- data/lib/fog/openstack/requests/baremetal/patch_node.rb +41 -0
- data/lib/fog/openstack/requests/baremetal/patch_port.rb +41 -0
- data/lib/fog/openstack/requests/compute/create_server.rb +1 -0
- data/lib/fog/openstack/requests/orchestration/abandon_stack.rb +15 -0
- data/lib/fog/openstack/requests/orchestration/build_info.rb +15 -0
- data/lib/fog/openstack/requests/orchestration/create_stack.rb +31 -12
- data/lib/fog/openstack/requests/orchestration/delete_stack.rb +28 -5
- data/lib/fog/openstack/requests/orchestration/get_stack_template.rb +20 -0
- data/lib/fog/openstack/requests/orchestration/list_resource_events.rb +23 -0
- data/lib/fog/openstack/requests/orchestration/list_resource_types.rb +26 -0
- data/lib/fog/openstack/requests/orchestration/list_resources.rb +23 -0
- data/lib/fog/openstack/requests/orchestration/list_stack_data.rb +27 -0
- data/lib/fog/openstack/requests/orchestration/list_stack_events.rb +23 -0
- data/lib/fog/openstack/requests/orchestration/preview_stack.rb +16 -0
- data/lib/fog/openstack/requests/orchestration/show_event_details.rb +26 -0
- data/lib/fog/openstack/requests/orchestration/show_resource_data.rb +26 -0
- data/lib/fog/openstack/requests/orchestration/show_resource_metadata.rb +26 -0
- data/lib/fog/openstack/requests/orchestration/show_resource_schema.rb +15 -0
- data/lib/fog/openstack/requests/orchestration/show_resource_template.rb +20 -0
- data/lib/fog/openstack/requests/orchestration/show_stack_details.rb +26 -0
- data/lib/fog/openstack/requests/orchestration/update_stack.rb +34 -7
- data/lib/fog/openstack/requests/orchestration/validate_template.rb +16 -0
- data/lib/fog/openstack/volume.rb +0 -1
- data/lib/fog/ovirt/compute.rb +6 -0
- data/lib/fog/ovirt/models/compute/server.rb +10 -0
- data/lib/fog/ovirt/models/compute/template.rb +1 -0
- data/lib/fog/ovirt/models/compute/volumes.rb +1 -2
- data/lib/fog/ovirt/requests/compute/attach_volume.rb +22 -0
- data/lib/fog/ovirt/requests/compute/detach_volume.rb +22 -0
- data/lib/fog/ovirt/requests/compute/list_volumes.rb +19 -0
- data/lib/fog/ovirt/requests/compute/mock_files/disks.xml +58 -0
- data/lib/fog/vcloud_director/models/compute/task.rb +2 -2
- data/lib/fog/version.rb +1 -1
- data/lib/fog/vsphere/compute.rb +3 -0
- data/lib/fog/vsphere/requests/compute/cloudinit_to_customspec.rb +20 -11
- data/lib/fog/vsphere/requests/compute/get_compute_resource.rb +41 -0
- data/lib/fog/vsphere/requests/compute/get_network.rb +35 -6
- data/lib/fog/vsphere/requests/compute/get_resource_pool.rb +1 -1
- data/lib/fog/vsphere/requests/compute/get_virtual_machine.rb +19 -13
- data/lib/fog/vsphere/requests/compute/list_compute_resources.rb +92 -0
- data/lib/fog/vsphere/requests/compute/list_virtual_machines.rb +16 -11
- data/lib/fog/vsphere/requests/compute/vm_clone.rb +6 -5
- data/lib/fog/xenserver/requests/compute/create_sr.rb +3 -4
- data/lib/tasks/changelog_task.rb +1 -0
- data/tests/helper.rb +3 -3
- data/tests/helpers/mock_helper.rb +0 -4
- data/tests/openstack/requests/baremetal/chassis_tests.rb +48 -0
- data/tests/openstack/requests/baremetal/driver_tests.rb +40 -0
- data/tests/openstack/requests/baremetal/node_tests.rb +65 -0
- data/tests/openstack/requests/baremetal/port_tests.rb +56 -0
- data/tests/openstack/requests/compute/server_tests.rb +2 -0
- data/tests/openstack/requests/orchestration/stack_tests.rb +2 -2
- data/tests/vsphere/requests/compute/get_network_tests.rb +48 -0
- metadata +88 -23
- data/lib/fog/aws.rb +0 -23
- data/lib/fog/bin/riakcs.rb +0 -25
- data/lib/fog/openstack/requests/orchestration/list_stacks.rb +0 -47
- data/lib/fog/riakcs.rb +0 -2
- data/lib/fog/riakcs/core.rb +0 -121
- data/lib/fog/riakcs/provisioning.rb +0 -98
- data/lib/fog/riakcs/requests/provisioning/create_user.rb +0 -77
- data/lib/fog/riakcs/requests/provisioning/disable_user.rb +0 -23
- data/lib/fog/riakcs/requests/provisioning/enable_user.rb +0 -23
- data/lib/fog/riakcs/requests/provisioning/get_user.rb +0 -41
- data/lib/fog/riakcs/requests/provisioning/list_users.rb +0 -43
- data/lib/fog/riakcs/requests/provisioning/regrant_secret.rb +0 -23
- data/lib/fog/riakcs/requests/provisioning/update_user.rb +0 -23
- data/lib/fog/riakcs/requests/usage/get_usage.rb +0 -68
- data/lib/fog/riakcs/usage.rb +0 -62
- data/tests/riakcs/requests/provisioning/provisioning_tests.rb +0 -174
- data/tests/riakcs/requests/usage/usage_tests.rb +0 -29
@@ -7,6 +7,7 @@ module Fog
|
|
7
7
|
default_options = {
|
8
8
|
'force' => false,
|
9
9
|
'linked_clone' => false,
|
10
|
+
'nic_type' => 'VirtualE1000',
|
10
11
|
}
|
11
12
|
options = default_options.merge(options)
|
12
13
|
# Backwards compat for "path" option
|
@@ -82,8 +83,8 @@ module Fog
|
|
82
83
|
|
83
84
|
# Options['dest_folder']<~String>
|
84
85
|
# Grab the destination folder object if it exists else use cloned mach
|
85
|
-
|
86
|
-
dest_folder
|
86
|
+
dest_folder_path = options.fetch('dest_folder','/') # default to root path ({dc_name}/vm/)
|
87
|
+
dest_folder = get_raw_vmfolder(dest_folder_path, options['datacenter'])
|
87
88
|
|
88
89
|
# Options['resource_pool']<~Array>
|
89
90
|
# Now find _a_ resource pool to use for the clone if one is not specified
|
@@ -124,11 +125,11 @@ module Fog
|
|
124
125
|
:allowGuestControl => true,
|
125
126
|
:connected => true,
|
126
127
|
:startConnected => true)
|
127
|
-
device = RbVmomi::VIM
|
128
|
+
device = RbVmomi::VIM.public_send "#{options['nic_type']}",
|
128
129
|
:backing => nic_backing_info,
|
129
130
|
:deviceInfo => RbVmomi::VIM::Description(:label => "Network adapter 1", :summary => options['network_label']),
|
130
131
|
:key => options['network_adapter_device_key'],
|
131
|
-
:connectable => connectable
|
132
|
+
:connectable => connectable
|
132
133
|
device_spec = RbVmomi::VIM::VirtualDeviceConfigSpec(
|
133
134
|
:operation => config_spec_operation,
|
134
135
|
:device => device)
|
@@ -265,7 +266,7 @@ module Fog
|
|
265
266
|
# Return hash
|
266
267
|
{
|
267
268
|
'vm_ref' => new_vm ? new_vm._ref : nil,
|
268
|
-
'new_vm' => new_vm ?
|
269
|
+
'new_vm' => new_vm ? convert_vm_mob_ref_to_attr_hash(new_vm) : nil,
|
269
270
|
'task_ref' => task._ref
|
270
271
|
}
|
271
272
|
end
|
@@ -37,11 +37,11 @@ module Fog
|
|
37
37
|
config = host_ref
|
38
38
|
extra_params = name_label
|
39
39
|
|
40
|
-
|
40
|
+
[:physical_size, :name, :description, :type, :content_type, :shared, :sm_config].each do |attribute|
|
41
41
|
raise "Missing Argument in first param: #{attribute}" if config[attribute].nil?
|
42
42
|
end
|
43
43
|
|
44
|
-
|
44
|
+
[:host_ref, :device_config].each do |attribute|
|
45
45
|
raise "Missing Argument in second param: #{attribute}" if extra_params[attribute].nil?
|
46
46
|
end
|
47
47
|
|
@@ -51,8 +51,7 @@ module Fog
|
|
51
51
|
config[:shared], config[:sm_config])
|
52
52
|
else
|
53
53
|
Fog::Logger.deprecation(
|
54
|
-
'This api is deprecated. The expected params are two hashes of attributes.'
|
55
|
-
'To create a server from a template, use #clone_server instead.'
|
54
|
+
'This api is deprecated. The expected params are two hashes of attributes.'
|
56
55
|
)
|
57
56
|
|
58
57
|
@connection.request(
|
data/lib/tasks/changelog_task.rb
CHANGED
data/tests/helper.rb
CHANGED
@@ -36,13 +36,13 @@ available_providers = Fog.available_providers.map {|provider| provider.downcase}
|
|
36
36
|
unavailable_providers = all_providers - available_providers
|
37
37
|
|
38
38
|
if !ENV['PROVIDER'].nil? && unavailable_providers.include?(ENV['PROVIDER'])
|
39
|
-
Formatador.display_line("[red]Requested provider #{ENV['PROVIDER']} is not available.[/]" +
|
39
|
+
Fog::Formatador.display_line("[red]Requested provider #{ENV['PROVIDER']} is not available.[/]" +
|
40
40
|
"[red]Check if .fog file has correct configuration (see '#{Fog.credentials_path}')[/]")
|
41
41
|
exit(0)
|
42
42
|
end
|
43
43
|
|
44
44
|
for provider in unavailable_providers
|
45
|
-
Formatador.display_line("[yellow]Skipping tests for [bold]#{provider}[/] [yellow]due to lacking credentials (add some to '#{Fog.credentials_path}' to run them)[/]")
|
45
|
+
Fog::Formatador.display_line("[yellow]Skipping tests for [bold]#{provider}[/] [yellow]due to lacking credentials (add some to '#{Fog.credentials_path}' to run them)[/]")
|
46
46
|
Thread.current[:tags] << ('-' << provider)
|
47
47
|
end
|
48
48
|
|
@@ -50,6 +50,6 @@ end
|
|
50
50
|
begin
|
51
51
|
require('libvirt')
|
52
52
|
rescue LoadError
|
53
|
-
Formatador.display_line("[yellow]Skipping tests for [bold]libvirt[/] [yellow]due to missing `ruby-libvirt` gem.[/]")
|
53
|
+
Fog::Formatador.display_line("[yellow]Skipping tests for [bold]libvirt[/] [yellow]due to missing `ruby-libvirt` gem.[/]")
|
54
54
|
Thread.current[:tags] << '-libvirt'
|
55
55
|
end
|
@@ -76,12 +76,8 @@ if Fog.mock?
|
|
76
76
|
:rackspace_api_key => 'rackspace_api_key',
|
77
77
|
:rackspace_region => 'dfw',
|
78
78
|
:rackspace_username => 'rackspace_username',
|
79
|
-
:riakcs_access_key_id => 'riakcs_access_key_id',
|
80
|
-
:riakcs_secret_access_key => 'riakcs_secret_access_key',
|
81
79
|
:sakuracloud_api_token => 'sakuracloud_api_token',
|
82
80
|
:sakuracloud_api_token_secret => 'sakuracloud_api_token_secret',
|
83
|
-
:storm_on_demand_username => 'storm_on_demand_username',
|
84
|
-
:storm_on_demand_password => 'storm_on_demand_password',
|
85
81
|
:vcloud_host => 'vcloud_host',
|
86
82
|
:vcloud_password => 'vcloud_password',
|
87
83
|
:vcloud_username => 'vcloud_username',
|
@@ -0,0 +1,48 @@
|
|
1
|
+
Shindo.tests('Fog::Baremetal[:openstack] | Baremetal chassis requests', ['openstack']) do
|
2
|
+
openstack = Fog::Identity[:openstack]
|
3
|
+
|
4
|
+
@chassis_format = {
|
5
|
+
'description' => String,
|
6
|
+
'uuid' => String,
|
7
|
+
'links' => Array
|
8
|
+
}
|
9
|
+
|
10
|
+
@detailed_chassis_format = {
|
11
|
+
'description' => String,
|
12
|
+
'uuid' => String,
|
13
|
+
'created_at' => String,
|
14
|
+
'updated_at' => Fog::Nullable::String,
|
15
|
+
'extra' => Hash,
|
16
|
+
'nodes' => Array,
|
17
|
+
'links' => Array
|
18
|
+
}
|
19
|
+
|
20
|
+
tests('success') do
|
21
|
+
tests('#list_chassis').data_matches_schema({'chassis' => [@chassis_format]}) do
|
22
|
+
Fog::Baremetal[:openstack].list_chassis.body
|
23
|
+
end
|
24
|
+
|
25
|
+
tests('#list_chassis_detailed').data_matches_schema({'chassis' => [@detailed_chassis_format]}) do
|
26
|
+
Fog::Baremetal[:openstack].list_chassis_detailed.body
|
27
|
+
end
|
28
|
+
|
29
|
+
tests('#create_chassis').data_matches_schema(@detailed_chassis_format) do
|
30
|
+
chassis_attributes = {:description => 'description'}
|
31
|
+
@instance = Fog::Baremetal[:openstack].create_chassis(chassis_attributes).body
|
32
|
+
end
|
33
|
+
|
34
|
+
tests('#get_chassis').data_matches_schema(@detailed_chassis_format) do
|
35
|
+
Fog::Baremetal[:openstack].get_chassis(@instance['uuid']).body
|
36
|
+
end
|
37
|
+
|
38
|
+
tests('#patch_chassis').data_matches_schema(@detailed_chassis_format) do
|
39
|
+
Fog::Baremetal[:openstack].patch_chassis(
|
40
|
+
@instance['uuid'],
|
41
|
+
[{'op' => 'replace', 'path' => '/description', 'value' => 'new description'}]).body
|
42
|
+
end
|
43
|
+
|
44
|
+
tests('#delete_chassis').succeeds do
|
45
|
+
Fog::Baremetal[:openstack].delete_chassis(@instance['uuid'])
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
Shindo.tests('Fog::Baremetal[:openstack] | Baremetal driver requests', ['openstack']) do
|
2
|
+
openstack = Fog::Identity[:openstack]
|
3
|
+
|
4
|
+
@driver_format = {
|
5
|
+
'hosts' => Array,
|
6
|
+
'name' => String
|
7
|
+
}
|
8
|
+
|
9
|
+
@driver_properties_format = {
|
10
|
+
"pxe_deploy_ramdisk" => String,
|
11
|
+
"ipmi_transit_address" => String,
|
12
|
+
"ipmi_terminal_port" => String,
|
13
|
+
"ipmi_target_channel" => String,
|
14
|
+
"ipmi_transit_channel" => String,
|
15
|
+
"ipmi_local_address" => String,
|
16
|
+
"ipmi_username" => String,
|
17
|
+
"ipmi_address" => String,
|
18
|
+
"ipmi_target_address" => String,
|
19
|
+
"ipmi_password" => String,
|
20
|
+
"pxe_deploy_kernel" => String,
|
21
|
+
"ipmi_priv_level" => String,
|
22
|
+
"ipmi_bridging" => String
|
23
|
+
}
|
24
|
+
|
25
|
+
tests('success') do
|
26
|
+
tests('#list_drivers').data_matches_schema({'drivers' => [@driver_format]}) do
|
27
|
+
instances = Fog::Baremetal[:openstack].list_drivers.body
|
28
|
+
@instance = instances['drivers'].last
|
29
|
+
instances
|
30
|
+
end
|
31
|
+
|
32
|
+
tests('#get_driver').data_matches_schema(@driver_format) do
|
33
|
+
Fog::Baremetal[:openstack].get_driver(@instance['name']).body
|
34
|
+
end
|
35
|
+
|
36
|
+
tests('#get_driver_properties').data_matches_schema(@driver_properties_format) do
|
37
|
+
Fog::Baremetal[:openstack].get_driver_properties(@instance['name']).body
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,65 @@
|
|
1
|
+
Shindo.tests('Fog::Baremetal[:openstack] | Baremetal node requests', ['openstack']) do
|
2
|
+
openstack = Fog::Identity[:openstack]
|
3
|
+
|
4
|
+
@node_format = {
|
5
|
+
'instance_uuid' => Fog::Nullable::String,
|
6
|
+
'maintenance' => Fog::Boolean,
|
7
|
+
'power_state' => Fog::Nullable::String,
|
8
|
+
'provision_state' => Fog::Nullable::String,
|
9
|
+
'uuid' => String,
|
10
|
+
'links' => Array
|
11
|
+
}
|
12
|
+
|
13
|
+
@detailed_node_format = {
|
14
|
+
'instance_uuid' => Fog::Nullable::String,
|
15
|
+
'maintenance' => Fog::Boolean,
|
16
|
+
'power_state' => Fog::Nullable::String,
|
17
|
+
'provision_state' => Fog::Nullable::String,
|
18
|
+
'uuid' => String,
|
19
|
+
'created_at' => String,
|
20
|
+
'updated_at' => Fog::Nullable::String,
|
21
|
+
'chassis_uuid' => Fog::Nullable::String,
|
22
|
+
'console_enabled' => Fog::Boolean,
|
23
|
+
'driver' => String,
|
24
|
+
'driver_info' => Hash,
|
25
|
+
'extra' => Hash,
|
26
|
+
'instance_info' => Hash,
|
27
|
+
'last_error' => Fog::Nullable::String,
|
28
|
+
'maintenance_reason' => Fog::Nullable::String,
|
29
|
+
'properties' => Hash,
|
30
|
+
'provision_updated_at' => Fog::Nullable::String,
|
31
|
+
'reservation' => Fog::Nullable::String,
|
32
|
+
'target_power_state' => Fog::Nullable::String,
|
33
|
+
'target_provision_state' => Fog::Nullable::String,
|
34
|
+
'links' => Array
|
35
|
+
}
|
36
|
+
|
37
|
+
tests('success') do
|
38
|
+
tests('#list_nodes').data_matches_schema({'nodes' => [@node_format]}) do
|
39
|
+
Fog::Baremetal[:openstack].list_nodes.body
|
40
|
+
end
|
41
|
+
|
42
|
+
tests('#list_nodes_detailed').data_matches_schema({'nodes' => [@detailed_node_format]}) do
|
43
|
+
Fog::Baremetal[:openstack].list_nodes_detailed.body
|
44
|
+
end
|
45
|
+
|
46
|
+
tests('#create_node').data_matches_schema(@detailed_node_format) do
|
47
|
+
node_attributes = {:driver => 'pxe_ipmitool'}
|
48
|
+
@instance = Fog::Baremetal[:openstack].create_node(node_attributes).body
|
49
|
+
end
|
50
|
+
|
51
|
+
tests('#get_node').data_matches_schema(@detailed_node_format) do
|
52
|
+
Fog::Baremetal[:openstack].get_node(@instance['uuid']).body
|
53
|
+
end
|
54
|
+
|
55
|
+
tests('#patch_node').data_matches_schema(@detailed_node_format) do
|
56
|
+
Fog::Baremetal[:openstack].patch_node(
|
57
|
+
@instance['uuid'],
|
58
|
+
[{'op' => 'replace', 'path' => '/driver', 'value' => 'pxe_ssh'}]).body
|
59
|
+
end
|
60
|
+
|
61
|
+
tests('#delete_node').succeeds do
|
62
|
+
Fog::Baremetal[:openstack].delete_node(@instance['uuid'])
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
@@ -0,0 +1,56 @@
|
|
1
|
+
Shindo.tests('Fog::Baremetal[:openstack] | Baremetal port requests', ['openstack']) do
|
2
|
+
openstack = Fog::Identity[:openstack]
|
3
|
+
|
4
|
+
@port_format = {
|
5
|
+
'address' => String,
|
6
|
+
'uuid' => String
|
7
|
+
}
|
8
|
+
|
9
|
+
# {"node_uuid"=>"ebf4e459-ddd6-4ce9-bef5-5181987cb62c", "uuid"=>"82a26de6-6af5-4cd3-a076-a5af1a75d457", "links"=>[{"href"=>"http://192.0.2.1:6385/v1/ports/82a26de6-6af5-4cd3-a076-a5af1a75d457", "rel"=>"self"}, {"href"=>"http://192.0.2.1:6385/ports/82a26de6-6af5-4cd3-a076-a5af1a75d457", "rel"=>"bookmark"}], "extra"=>{}, "created_at"=>"2015-01-15T09:22:23.673409+00:00", "updated_at"=>nil, "address"=>"00:c2:08:85:de:ca"} does not match {"address"=>String, "uuid"=>String, "created_at"=>String, "updated_at"=>String, "extra"=>Hash, "node_uuid"=>String}
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
@detailed_port_format = {
|
14
|
+
'address' => String,
|
15
|
+
'uuid' => String,
|
16
|
+
'created_at' => String,
|
17
|
+
'updated_at' => Fog::Nullable::String,
|
18
|
+
'extra' => Hash,
|
19
|
+
'node_uuid' => String,
|
20
|
+
'links' => Array
|
21
|
+
}
|
22
|
+
|
23
|
+
tests('success') do
|
24
|
+
tests('#list_ports').data_matches_schema({'ports' => [@port_format]}) do
|
25
|
+
Fog::Baremetal[:openstack].list_ports.body
|
26
|
+
end
|
27
|
+
|
28
|
+
tests('#list_ports_detailed').data_matches_schema({'ports' => [@detailed_port_format]}) do
|
29
|
+
Fog::Baremetal[:openstack].list_ports_detailed.body
|
30
|
+
end
|
31
|
+
|
32
|
+
tests('#create_port').data_matches_schema(@detailed_port_format) do
|
33
|
+
node_attributes = {:driver => 'pxe_ipmitool'}
|
34
|
+
@instance = Fog::Baremetal[:openstack].create_node(node_attributes).body
|
35
|
+
|
36
|
+
port_attributes = {:address => '00:c2:08:85:de:ca',
|
37
|
+
:node_uuid => @instance['uuid']}
|
38
|
+
@port = Fog::Baremetal[:openstack].create_port(port_attributes).body
|
39
|
+
end
|
40
|
+
|
41
|
+
tests('#get_port').data_matches_schema(@detailed_port_format) do
|
42
|
+
Fog::Baremetal[:openstack].get_port(@port['uuid']).body
|
43
|
+
end
|
44
|
+
|
45
|
+
tests('#patch_port').data_matches_schema(@detailed_port_format) do
|
46
|
+
Fog::Baremetal[:openstack].patch_port(
|
47
|
+
@port['uuid'],
|
48
|
+
[{'op' => 'add', 'path' => '/extra/name', 'value' => 'eth1'}]).body
|
49
|
+
end
|
50
|
+
|
51
|
+
tests('#delete_port').succeeds do
|
52
|
+
Fog::Baremetal[:openstack].delete_port(@port['uuid'])
|
53
|
+
Fog::Baremetal[:openstack].delete_node(@instance['uuid'])
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
@@ -84,6 +84,7 @@ Shindo.tests('Fog::Compute[:openstack] | server requests', ['openstack']) do
|
|
84
84
|
:source_type => "volume",
|
85
85
|
:destination_type => "volume",
|
86
86
|
:delete_on_termination => true,
|
87
|
+
:volume_size => 20
|
87
88
|
}, {
|
88
89
|
:boot_index => 1,
|
89
90
|
:uuid => @volume2_id,
|
@@ -91,6 +92,7 @@ Shindo.tests('Fog::Compute[:openstack] | server requests', ['openstack']) do
|
|
91
92
|
:source_type => "volume",
|
92
93
|
:destination_type => "volume",
|
93
94
|
:delete_on_termination => true,
|
95
|
+
:volume_size => 10
|
94
96
|
}]
|
95
97
|
data = compute.create_server("test", nil, @flavor_id, "block_device_mapping_v2" => volume_data).body['server']
|
96
98
|
@server_id = data['id']
|
@@ -20,8 +20,8 @@ Shindo.tests('Fog::Orchestration[:openstack] | stack requests', ['openstack']) d
|
|
20
20
|
Fog::Orchestration[:openstack].create_stack("teststack").body
|
21
21
|
end
|
22
22
|
|
23
|
-
tests('#
|
24
|
-
Fog::Orchestration[:openstack].
|
23
|
+
tests('#list_stack_data').formats({'stacks' => [@stack_format]}) do
|
24
|
+
Fog::Orchestration[:openstack].list_stack_data.body
|
25
25
|
end
|
26
26
|
|
27
27
|
tests('#update_stack("teststack")').formats({}) do
|
@@ -0,0 +1,48 @@
|
|
1
|
+
Shindo.tests('Fog::Compute[:vsphere] | get_network request', ['vsphere']) do
|
2
|
+
|
3
|
+
compute = Fog::Compute[:vsphere]
|
4
|
+
|
5
|
+
|
6
|
+
class DistributedVirtualPortgroup
|
7
|
+
attr_accessor :name, :dvs_name
|
8
|
+
|
9
|
+
def initialize attrs
|
10
|
+
@name = attrs.fetch(:name)
|
11
|
+
@dvs_name = attrs.fetch(:dvs_name)
|
12
|
+
end
|
13
|
+
|
14
|
+
def config
|
15
|
+
OpenStruct.new( :distributedVirtualSwitch => OpenStruct.new(:name => dvs_name))
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
fake_networks = [OpenStruct.new(:name => 'non-dvs'),
|
20
|
+
DistributedVirtualPortgroup.new( :name => 'web1', :dvs_name => 'dvs5'),
|
21
|
+
DistributedVirtualPortgroup.new( :name => 'web1', :dvs_name => 'dvs11'),
|
22
|
+
DistributedVirtualPortgroup.new( :name => 'other', :dvs_name => 'other'),
|
23
|
+
]
|
24
|
+
|
25
|
+
|
26
|
+
tests('#choose_finder should') do
|
27
|
+
test('choose the network based on network name and dvs name'){
|
28
|
+
finder = compute.send(:choose_finder, 'web1', 'dvs11')
|
29
|
+
found_network = fake_networks.find{ |n| finder.call(n) }
|
30
|
+
found_network.name == 'web1' && found_network.dvs_name == 'dvs11'
|
31
|
+
}
|
32
|
+
test('choose the network based on network name and any dvs'){
|
33
|
+
finder = compute.send(:choose_finder, 'web1', :dvs)
|
34
|
+
found_network = fake_networks.find{ |n| finder.call(n) }
|
35
|
+
found_network.name == 'web1' && found_network.dvs_name == 'dvs5'
|
36
|
+
}
|
37
|
+
test('choose the network based on network name only'){
|
38
|
+
finder = compute.send(:choose_finder, 'other', nil)
|
39
|
+
found_network = fake_networks.find{ |n| finder.call(n) }
|
40
|
+
found_network.name == 'other' && found_network.dvs_name == 'other'
|
41
|
+
}
|
42
|
+
test('choose the network based on network name only for non-dvs'){
|
43
|
+
finder = compute.send(:choose_finder, 'non-dvs', nil)
|
44
|
+
found_network = fake_networks.find{ |n| finder.call(n) }
|
45
|
+
found_network.name == 'non-dvs' && found_network.class.name.to_s == 'OpenStruct'
|
46
|
+
}
|
47
|
+
end
|
48
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.28.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- geemus (Wesley Beary)
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-02-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fog-core
|
@@ -274,6 +274,20 @@ dependencies:
|
|
274
274
|
- - ">="
|
275
275
|
- !ruby/object:Gem::Version
|
276
276
|
version: '0'
|
277
|
+
- !ruby/object:Gem::Dependency
|
278
|
+
name: fog-riakcs
|
279
|
+
requirement: !ruby/object:Gem::Requirement
|
280
|
+
requirements:
|
281
|
+
- - ">="
|
282
|
+
- !ruby/object:Gem::Version
|
283
|
+
version: '0'
|
284
|
+
type: :runtime
|
285
|
+
prerelease: false
|
286
|
+
version_requirements: !ruby/object:Gem::Requirement
|
287
|
+
requirements:
|
288
|
+
- - ">="
|
289
|
+
- !ruby/object:Gem::Version
|
290
|
+
version: '0'
|
277
291
|
- !ruby/object:Gem::Dependency
|
278
292
|
name: minitest
|
279
293
|
requirement: !ruby/object:Gem::Requirement
|
@@ -350,14 +364,14 @@ dependencies:
|
|
350
364
|
requirements:
|
351
365
|
- - '='
|
352
366
|
- !ruby/object:Gem::Version
|
353
|
-
version: 0.0.
|
367
|
+
version: 0.0.32
|
354
368
|
type: :development
|
355
369
|
prerelease: false
|
356
370
|
version_requirements: !ruby/object:Gem::Requirement
|
357
371
|
requirements:
|
358
372
|
- - '='
|
359
373
|
- !ruby/object:Gem::Version
|
360
|
-
version: 0.0.
|
374
|
+
version: 0.0.32
|
361
375
|
- !ruby/object:Gem::Dependency
|
362
376
|
name: shindo
|
363
377
|
requirement: !ruby/object:Gem::Requirement
|
@@ -498,7 +512,6 @@ files:
|
|
498
512
|
- gemfiles/Gemfile-edge
|
499
513
|
- gemfiles/Gemfile-ruby-1.8.7
|
500
514
|
- lib/fog.rb
|
501
|
-
- lib/fog/aws.rb
|
502
515
|
- lib/fog/aws/service_mapper.rb
|
503
516
|
- lib/fog/bare_metal_cloud.rb
|
504
517
|
- lib/fog/bare_metal_cloud/compute.rb
|
@@ -544,7 +557,6 @@ files:
|
|
544
557
|
- lib/fog/bin/ovirt.rb
|
545
558
|
- lib/fog/bin/rackspace.rb
|
546
559
|
- lib/fog/bin/rage4.rb
|
547
|
-
- lib/fog/bin/riakcs.rb
|
548
560
|
- lib/fog/bin/softlayer.rb
|
549
561
|
- lib/fog/bin/vcloud.rb
|
550
562
|
- lib/fog/bin/vcloud_director.rb
|
@@ -2411,10 +2423,12 @@ files:
|
|
2411
2423
|
- lib/fog/opennebula/requests/compute/vm_stop.rb
|
2412
2424
|
- lib/fog/openstack.rb
|
2413
2425
|
- lib/fog/openstack/CHANGELOG.md
|
2426
|
+
- lib/fog/openstack/baremetal.rb
|
2414
2427
|
- lib/fog/openstack/compute.rb
|
2415
2428
|
- lib/fog/openstack/core.rb
|
2416
2429
|
- lib/fog/openstack/docs/compute.md
|
2417
2430
|
- lib/fog/openstack/docs/getting_started.md
|
2431
|
+
- lib/fog/openstack/docs/orchestration.md
|
2418
2432
|
- lib/fog/openstack/docs/storage.md
|
2419
2433
|
- lib/fog/openstack/examples/compute/basics.rb
|
2420
2434
|
- lib/fog/openstack/examples/compute/block_device_mapping_v2.rb
|
@@ -2425,6 +2439,14 @@ files:
|
|
2425
2439
|
- lib/fog/openstack/identity.rb
|
2426
2440
|
- lib/fog/openstack/image.rb
|
2427
2441
|
- lib/fog/openstack/metering.rb
|
2442
|
+
- lib/fog/openstack/models/baremetal/chassis.rb
|
2443
|
+
- lib/fog/openstack/models/baremetal/chassis_collection.rb
|
2444
|
+
- lib/fog/openstack/models/baremetal/driver.rb
|
2445
|
+
- lib/fog/openstack/models/baremetal/drivers.rb
|
2446
|
+
- lib/fog/openstack/models/baremetal/node.rb
|
2447
|
+
- lib/fog/openstack/models/baremetal/nodes.rb
|
2448
|
+
- lib/fog/openstack/models/baremetal/port.rb
|
2449
|
+
- lib/fog/openstack/models/baremetal/ports.rb
|
2428
2450
|
- lib/fog/openstack/models/compute/address.rb
|
2429
2451
|
- lib/fog/openstack/models/compute/addresses.rb
|
2430
2452
|
- lib/fog/openstack/models/compute/flavor.rb
|
@@ -2488,8 +2510,15 @@ files:
|
|
2488
2510
|
- lib/fog/openstack/models/network/security_groups.rb
|
2489
2511
|
- lib/fog/openstack/models/network/subnet.rb
|
2490
2512
|
- lib/fog/openstack/models/network/subnets.rb
|
2513
|
+
- lib/fog/openstack/models/orchestration/event.rb
|
2514
|
+
- lib/fog/openstack/models/orchestration/events.rb
|
2515
|
+
- lib/fog/openstack/models/orchestration/resource.rb
|
2516
|
+
- lib/fog/openstack/models/orchestration/resource_schemas.rb
|
2517
|
+
- lib/fog/openstack/models/orchestration/resources.rb
|
2491
2518
|
- lib/fog/openstack/models/orchestration/stack.rb
|
2492
2519
|
- lib/fog/openstack/models/orchestration/stacks.rb
|
2520
|
+
- lib/fog/openstack/models/orchestration/template.rb
|
2521
|
+
- lib/fog/openstack/models/orchestration/templates.rb
|
2493
2522
|
- lib/fog/openstack/models/storage/directories.rb
|
2494
2523
|
- lib/fog/openstack/models/storage/directory.rb
|
2495
2524
|
- lib/fog/openstack/models/storage/file.rb
|
@@ -2500,6 +2529,27 @@ files:
|
|
2500
2529
|
- lib/fog/openstack/models/volume/volumes.rb
|
2501
2530
|
- lib/fog/openstack/network.rb
|
2502
2531
|
- lib/fog/openstack/orchestration.rb
|
2532
|
+
- lib/fog/openstack/requests/baremetal/create_chassis.rb
|
2533
|
+
- lib/fog/openstack/requests/baremetal/create_node.rb
|
2534
|
+
- lib/fog/openstack/requests/baremetal/create_port.rb
|
2535
|
+
- lib/fog/openstack/requests/baremetal/delete_chassis.rb
|
2536
|
+
- lib/fog/openstack/requests/baremetal/delete_node.rb
|
2537
|
+
- lib/fog/openstack/requests/baremetal/delete_port.rb
|
2538
|
+
- lib/fog/openstack/requests/baremetal/get_chassis.rb
|
2539
|
+
- lib/fog/openstack/requests/baremetal/get_driver.rb
|
2540
|
+
- lib/fog/openstack/requests/baremetal/get_driver_properties.rb
|
2541
|
+
- lib/fog/openstack/requests/baremetal/get_node.rb
|
2542
|
+
- lib/fog/openstack/requests/baremetal/get_port.rb
|
2543
|
+
- lib/fog/openstack/requests/baremetal/list_chassis.rb
|
2544
|
+
- lib/fog/openstack/requests/baremetal/list_chassis_detailed.rb
|
2545
|
+
- lib/fog/openstack/requests/baremetal/list_drivers.rb
|
2546
|
+
- lib/fog/openstack/requests/baremetal/list_nodes.rb
|
2547
|
+
- lib/fog/openstack/requests/baremetal/list_nodes_detailed.rb
|
2548
|
+
- lib/fog/openstack/requests/baremetal/list_ports.rb
|
2549
|
+
- lib/fog/openstack/requests/baremetal/list_ports_detailed.rb
|
2550
|
+
- lib/fog/openstack/requests/baremetal/patch_chassis.rb
|
2551
|
+
- lib/fog/openstack/requests/baremetal/patch_node.rb
|
2552
|
+
- lib/fog/openstack/requests/baremetal/patch_port.rb
|
2503
2553
|
- lib/fog/openstack/requests/compute/add_fixed_ip.rb
|
2504
2554
|
- lib/fog/openstack/requests/compute/add_flavor_access.rb
|
2505
2555
|
- lib/fog/openstack/requests/compute/add_security_group.rb
|
@@ -2706,10 +2756,25 @@ files:
|
|
2706
2756
|
- lib/fog/openstack/requests/network/update_quota.rb
|
2707
2757
|
- lib/fog/openstack/requests/network/update_router.rb
|
2708
2758
|
- lib/fog/openstack/requests/network/update_subnet.rb
|
2759
|
+
- lib/fog/openstack/requests/orchestration/abandon_stack.rb
|
2760
|
+
- lib/fog/openstack/requests/orchestration/build_info.rb
|
2709
2761
|
- lib/fog/openstack/requests/orchestration/create_stack.rb
|
2710
2762
|
- lib/fog/openstack/requests/orchestration/delete_stack.rb
|
2711
|
-
- lib/fog/openstack/requests/orchestration/
|
2763
|
+
- lib/fog/openstack/requests/orchestration/get_stack_template.rb
|
2764
|
+
- lib/fog/openstack/requests/orchestration/list_resource_events.rb
|
2765
|
+
- lib/fog/openstack/requests/orchestration/list_resource_types.rb
|
2766
|
+
- lib/fog/openstack/requests/orchestration/list_resources.rb
|
2767
|
+
- lib/fog/openstack/requests/orchestration/list_stack_data.rb
|
2768
|
+
- lib/fog/openstack/requests/orchestration/list_stack_events.rb
|
2769
|
+
- lib/fog/openstack/requests/orchestration/preview_stack.rb
|
2770
|
+
- lib/fog/openstack/requests/orchestration/show_event_details.rb
|
2771
|
+
- lib/fog/openstack/requests/orchestration/show_resource_data.rb
|
2772
|
+
- lib/fog/openstack/requests/orchestration/show_resource_metadata.rb
|
2773
|
+
- lib/fog/openstack/requests/orchestration/show_resource_schema.rb
|
2774
|
+
- lib/fog/openstack/requests/orchestration/show_resource_template.rb
|
2775
|
+
- lib/fog/openstack/requests/orchestration/show_stack_details.rb
|
2712
2776
|
- lib/fog/openstack/requests/orchestration/update_stack.rb
|
2777
|
+
- lib/fog/openstack/requests/orchestration/validate_template.rb
|
2713
2778
|
- lib/fog/openstack/requests/storage/copy_object.rb
|
2714
2779
|
- lib/fog/openstack/requests/storage/delete_container.rb
|
2715
2780
|
- lib/fog/openstack/requests/storage/delete_multiple_objects.rb
|
@@ -2796,11 +2861,13 @@ files:
|
|
2796
2861
|
- lib/fog/ovirt/models/compute/volumes.rb
|
2797
2862
|
- lib/fog/ovirt/requests/compute/add_interface.rb
|
2798
2863
|
- lib/fog/ovirt/requests/compute/add_volume.rb
|
2864
|
+
- lib/fog/ovirt/requests/compute/attach_volume.rb
|
2799
2865
|
- lib/fog/ovirt/requests/compute/create_vm.rb
|
2800
2866
|
- lib/fog/ovirt/requests/compute/datacenters.rb
|
2801
2867
|
- lib/fog/ovirt/requests/compute/destroy_interface.rb
|
2802
2868
|
- lib/fog/ovirt/requests/compute/destroy_vm.rb
|
2803
2869
|
- lib/fog/ovirt/requests/compute/destroy_volume.rb
|
2870
|
+
- lib/fog/ovirt/requests/compute/detach_volume.rb
|
2804
2871
|
- lib/fog/ovirt/requests/compute/get_api_version.rb
|
2805
2872
|
- lib/fog/ovirt/requests/compute/get_cluster.rb
|
2806
2873
|
- lib/fog/ovirt/requests/compute/get_quota.rb
|
@@ -2815,9 +2882,11 @@ files:
|
|
2815
2882
|
- lib/fog/ovirt/requests/compute/list_virtual_machines.rb
|
2816
2883
|
- lib/fog/ovirt/requests/compute/list_vm_interfaces.rb
|
2817
2884
|
- lib/fog/ovirt/requests/compute/list_vm_volumes.rb
|
2885
|
+
- lib/fog/ovirt/requests/compute/list_volumes.rb
|
2818
2886
|
- lib/fog/ovirt/requests/compute/mock_files/cluster.xml
|
2819
2887
|
- lib/fog/ovirt/requests/compute/mock_files/clusters.xml
|
2820
2888
|
- lib/fog/ovirt/requests/compute/mock_files/data_centers.xml
|
2889
|
+
- lib/fog/ovirt/requests/compute/mock_files/disks.xml
|
2821
2890
|
- lib/fog/ovirt/requests/compute/mock_files/nics.xml
|
2822
2891
|
- lib/fog/ovirt/requests/compute/mock_files/quotas.xml
|
2823
2892
|
- lib/fog/ovirt/requests/compute/mock_files/storage_domains.xml
|
@@ -3362,18 +3431,6 @@ files:
|
|
3362
3431
|
- lib/fog/rage4/requests/dns/show_global_usage.rb
|
3363
3432
|
- lib/fog/rage4/requests/dns/update_domain.rb
|
3364
3433
|
- lib/fog/rage4/requests/dns/update_record.rb
|
3365
|
-
- lib/fog/riakcs.rb
|
3366
|
-
- lib/fog/riakcs/core.rb
|
3367
|
-
- lib/fog/riakcs/provisioning.rb
|
3368
|
-
- lib/fog/riakcs/requests/provisioning/create_user.rb
|
3369
|
-
- lib/fog/riakcs/requests/provisioning/disable_user.rb
|
3370
|
-
- lib/fog/riakcs/requests/provisioning/enable_user.rb
|
3371
|
-
- lib/fog/riakcs/requests/provisioning/get_user.rb
|
3372
|
-
- lib/fog/riakcs/requests/provisioning/list_users.rb
|
3373
|
-
- lib/fog/riakcs/requests/provisioning/regrant_secret.rb
|
3374
|
-
- lib/fog/riakcs/requests/provisioning/update_user.rb
|
3375
|
-
- lib/fog/riakcs/requests/usage/get_usage.rb
|
3376
|
-
- lib/fog/riakcs/usage.rb
|
3377
3434
|
- lib/fog/vcloud.rb
|
3378
3435
|
- lib/fog/vcloud/compute.rb
|
3379
3436
|
- lib/fog/vcloud/core.rb
|
@@ -3710,6 +3767,7 @@ files:
|
|
3710
3767
|
- lib/fog/vsphere/requests/compute/create_vm.rb
|
3711
3768
|
- lib/fog/vsphere/requests/compute/current_time.rb
|
3712
3769
|
- lib/fog/vsphere/requests/compute/get_cluster.rb
|
3770
|
+
- lib/fog/vsphere/requests/compute/get_compute_resource.rb
|
3713
3771
|
- lib/fog/vsphere/requests/compute/get_datacenter.rb
|
3714
3772
|
- lib/fog/vsphere/requests/compute/get_datastore.rb
|
3715
3773
|
- lib/fog/vsphere/requests/compute/get_folder.rb
|
@@ -3721,6 +3779,7 @@ files:
|
|
3721
3779
|
- lib/fog/vsphere/requests/compute/get_virtual_machine.rb
|
3722
3780
|
- lib/fog/vsphere/requests/compute/get_vm_first_scsi_controller.rb
|
3723
3781
|
- lib/fog/vsphere/requests/compute/list_clusters.rb
|
3782
|
+
- lib/fog/vsphere/requests/compute/list_compute_resources.rb
|
3724
3783
|
- lib/fog/vsphere/requests/compute/list_customfields.rb
|
3725
3784
|
- lib/fog/vsphere/requests/compute/list_datacenters.rb
|
3726
3785
|
- lib/fog/vsphere/requests/compute/list_datastores.rb
|
@@ -4429,6 +4488,10 @@ files:
|
|
4429
4488
|
- tests/openstack/models/network/subnet_tests.rb
|
4430
4489
|
- tests/openstack/models/network/subnets_tests.rb
|
4431
4490
|
- tests/openstack/models/storage/file_tests.rb
|
4491
|
+
- tests/openstack/requests/baremetal/chassis_tests.rb
|
4492
|
+
- tests/openstack/requests/baremetal/driver_tests.rb
|
4493
|
+
- tests/openstack/requests/baremetal/node_tests.rb
|
4494
|
+
- tests/openstack/requests/baremetal/port_tests.rb
|
4432
4495
|
- tests/openstack/requests/compute/address_tests.rb
|
4433
4496
|
- tests/openstack/requests/compute/flavor_tests.rb
|
4434
4497
|
- tests/openstack/requests/compute/helper.rb
|
@@ -4652,8 +4715,6 @@ files:
|
|
4652
4715
|
- tests/rackspace/storage_tests.rb
|
4653
4716
|
- tests/rackspace/url_encoding_tests.rb
|
4654
4717
|
- tests/rage4/requests/dns/dns_tests.rb
|
4655
|
-
- tests/riakcs/requests/provisioning/provisioning_tests.rb
|
4656
|
-
- tests/riakcs/requests/usage/usage_tests.rb
|
4657
4718
|
- tests/storage/helper.rb
|
4658
4719
|
- tests/storage/models/directories_tests.rb
|
4659
4720
|
- tests/storage/models/directory_test.rb
|
@@ -4726,6 +4787,7 @@ files:
|
|
4726
4787
|
- tests/vsphere/models/compute/server_tests.rb
|
4727
4788
|
- tests/vsphere/models/compute/servers_tests.rb
|
4728
4789
|
- tests/vsphere/requests/compute/current_time_tests.rb
|
4790
|
+
- tests/vsphere/requests/compute/get_network_tests.rb
|
4729
4791
|
- tests/vsphere/requests/compute/list_clusters_tests.rb
|
4730
4792
|
- tests/vsphere/requests/compute/list_virtual_machines_tests.rb
|
4731
4793
|
- tests/vsphere/requests/compute/set_vm_customvalue_tests.rb
|
@@ -5343,6 +5405,10 @@ test_files:
|
|
5343
5405
|
- tests/openstack/models/network/subnet_tests.rb
|
5344
5406
|
- tests/openstack/models/network/subnets_tests.rb
|
5345
5407
|
- tests/openstack/models/storage/file_tests.rb
|
5408
|
+
- tests/openstack/requests/baremetal/chassis_tests.rb
|
5409
|
+
- tests/openstack/requests/baremetal/driver_tests.rb
|
5410
|
+
- tests/openstack/requests/baremetal/node_tests.rb
|
5411
|
+
- tests/openstack/requests/baremetal/port_tests.rb
|
5346
5412
|
- tests/openstack/requests/compute/address_tests.rb
|
5347
5413
|
- tests/openstack/requests/compute/flavor_tests.rb
|
5348
5414
|
- tests/openstack/requests/compute/helper.rb
|
@@ -5566,8 +5632,6 @@ test_files:
|
|
5566
5632
|
- tests/rackspace/storage_tests.rb
|
5567
5633
|
- tests/rackspace/url_encoding_tests.rb
|
5568
5634
|
- tests/rage4/requests/dns/dns_tests.rb
|
5569
|
-
- tests/riakcs/requests/provisioning/provisioning_tests.rb
|
5570
|
-
- tests/riakcs/requests/usage/usage_tests.rb
|
5571
5635
|
- tests/storage/helper.rb
|
5572
5636
|
- tests/storage/models/directories_tests.rb
|
5573
5637
|
- tests/storage/models/directory_test.rb
|
@@ -5640,6 +5704,7 @@ test_files:
|
|
5640
5704
|
- tests/vsphere/models/compute/server_tests.rb
|
5641
5705
|
- tests/vsphere/models/compute/servers_tests.rb
|
5642
5706
|
- tests/vsphere/requests/compute/current_time_tests.rb
|
5707
|
+
- tests/vsphere/requests/compute/get_network_tests.rb
|
5643
5708
|
- tests/vsphere/requests/compute/list_clusters_tests.rb
|
5644
5709
|
- tests/vsphere/requests/compute/list_virtual_machines_tests.rb
|
5645
5710
|
- tests/vsphere/requests/compute/set_vm_customvalue_tests.rb
|