fog-ovirt 1.1.5 → 1.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 60c557f87df7eed11973b2d486df972d4eb6d5e9
4
- data.tar.gz: 012c8b79e06089c60b939780a883c8cfadaddf5a
2
+ SHA256:
3
+ metadata.gz: fa72e4caa6803849c4f51de7bef235366d9e22007ff13dfbdb4f72920c122d0a
4
+ data.tar.gz: 467de9cd7c7d14b8295d1e5eeda5e1c69d6e9274b250a81862801a5369e820f2
5
5
  SHA512:
6
- metadata.gz: a9a46e1b06e95bb0256d8b4eb4fdc22e1e5b6431f8e2bb321f73b6a51136ff80215683aec5c7fb5b391705b47d6a16235d2e21a67f0cfbd1523daec712f89057
7
- data.tar.gz: c33adf408dd6f3d9cc8fe2fa80a2ef9ac0039b1146b52e88fac340170968c036fc834698f1c1c30ea467a2b1343e75fb87e319bad26d83cbbced077539f66238
6
+ metadata.gz: a217cb09e27d68d211bb8dee856e9967c8f500b6e5a8a74d470272cda0199d80f5a536adb0d8c81ad6831312676aa2b901d0662ddf05b41db07bd45908fc33e5
7
+ data.tar.gz: 928a4234822357789ab89d685dc5d4addc0dbdfcc096292868d3a1c51a5b43f85762091e9bd13e29cd7782f6756061b0ba8758058370f79f772fd507a5264383
@@ -51,7 +51,7 @@ module Fog
51
51
  value = obj.instance_variable_get(v)
52
52
 
53
53
  if key == :network
54
- opts[key] = client.follow_link(obj.vnic_profile).network.id
54
+ opts[key] = obj.vnic_profile.present? ? client.follow_link(obj.vnic_profile).network.id : value
55
55
  next
56
56
  end
57
57
 
@@ -98,6 +98,8 @@ module Fog
98
98
  :subject => subject,
99
99
  :monitors => value.monitors
100
100
  }
101
+ when OvirtSDK4::Console
102
+ { :enabled => value.enabled }
101
103
  else
102
104
  if value.class.respond_to?(:parent) && value.class.parent == OvirtSDK4
103
105
  value.id if value.respond_to?(:id)
@@ -4,7 +4,7 @@ module Fog
4
4
  class V4
5
5
  class Real
6
6
  def get_virtual_machine(id)
7
- ovirt_attrs client.system_service.vms_service.vm_service(id).get
7
+ ovirt_attrs client.system_service.vms_service.vm_service(id).get(:all_content => true)
8
8
  end
9
9
  end
10
10
  class Mock
@@ -1,5 +1,5 @@
1
1
  module Fog
2
2
  module Ovirt
3
- VERSION = "1.1.5".freeze
3
+ VERSION = "1.1.6".freeze
4
4
  end
5
5
  end
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.1.5
4
+ version: 1.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ori Rabin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-15 00:00:00.000000000 Z
11
+ date: 2019-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fog-core
@@ -353,8 +353,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
353
353
  - !ruby/object:Gem::Version
354
354
  version: '0'
355
355
  requirements: []
356
- rubyforge_project:
357
- rubygems_version: 2.6.14
356
+ rubygems_version: 3.0.2
358
357
  signing_key:
359
358
  specification_version: 4
360
359
  summary: Module for the 'fog' gem to support Ovirt.