fog-ovirt 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fog/ovirt/compute/v4.rb +1 -1
- data/lib/fog/ovirt/requests/compute/v4/create_vm.rb +5 -0
- data/lib/fog/ovirt/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 231279bba2577e46d1eaebb4707b5fbeda1237de
|
4
|
+
data.tar.gz: 1d2a2562c87a264601c73f99b86d592770e3bfca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1adc82676c9e21ca1d7a545613357b4ab51eae18aa40dfa57c6f31637344f6f845c44d78fb917ceb340f8805474bf3c6567b9f94101012e02791c8678b93c37b
|
7
|
+
data.tar.gz: 6dc5a477f43f45ba167ddafe3787b4806a5d77ea31a74367810daebfbc8c0244127f47831f6d6e935807321228a757673cb2f9aaf7bd2b4d05308b90e2088259
|
data/lib/fog/ovirt/compute/v4.rb
CHANGED
@@ -41,6 +41,11 @@ module Fog
|
|
41
41
|
attrs[:comment] ||= ""
|
42
42
|
attrs[:quota] = attrs[:quota].present? ? client.system_service.data_centers_service.data_center_service(datacenter).quotas_service.quota_service(attrs[:quota]).get : nil
|
43
43
|
|
44
|
+
if attrs[:cores].present?
|
45
|
+
cpu_topology = OvirtSDK4::CpuTopology.new(:cores => attrs[:cores], :sockets => "1")
|
46
|
+
attrs[:cpu] = OvirtSDK4::Cpu.new(:topology => cpu_topology)
|
47
|
+
end
|
48
|
+
|
44
49
|
# TODO: handle cloning from template
|
45
50
|
process_vm_opts(attrs)
|
46
51
|
|
data/lib/fog/ovirt/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fog-ovirt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ori Rabin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-04-
|
11
|
+
date: 2018-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fog-core
|
@@ -353,7 +353,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
353
353
|
version: '0'
|
354
354
|
requirements: []
|
355
355
|
rubyforge_project:
|
356
|
-
rubygems_version: 2.6.
|
356
|
+
rubygems_version: 2.6.14
|
357
357
|
signing_key:
|
358
358
|
specification_version: 4
|
359
359
|
summary: Module for the 'fog' gem to support Ovirt.
|