manageiq-smartstate 0.2.23 → 0.2.24
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/manageiq/smartstate/version.rb +1 -1
- data/lib/metadata/VmConfig/VmConfig.rb +6 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 88652f88b8c5d6a77b1954fadbe76dc2d489d79d
|
4
|
+
data.tar.gz: 8077e08ee5d0e4ef22347586ce6556c76e7f46f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9275dbe27efff2e306632e60d025c1f7c520c0652480b7c110d30402993ae41b751ebc1cd2a5ec80f0cdbbcf57d5668b284572aab3e5f7f53aa48668ec1dc4eb
|
7
|
+
data.tar.gz: 16788607a86a04fe9c05d103ce49c7da0184de1ce951d076c486724b9b801d5c893028f67793161ff6b4291adb43fb6655da983844c456d7bd777669574066c7
|
@@ -515,7 +515,12 @@ class VmConfig
|
|
515
515
|
next if d['capacityInKB'].nil?
|
516
516
|
next if (filename = d.fetch_path('backing', 'fileName')).nil?
|
517
517
|
disk = vim_disks[filename.to_s] = {}
|
518
|
-
|
518
|
+
|
519
|
+
# check if it's raw disk type, using same logic as in vmware refresher_parser.
|
520
|
+
mode = d.fetch_path('backing', 'compatibilityMode')
|
521
|
+
disk_type = "rdm-#{mode[0...-4]}" if mode
|
522
|
+
|
523
|
+
disk[:disk_type] = mode ? disk_type : ((d.fetch_path('backing', 'thinProvisioned') == 'true') ? 'thin' : 'thick')
|
519
524
|
disk[:provision_size] = d['capacityInKB'].to_i * 1024
|
520
525
|
disk[:display_name] = d.fetch_path('deviceInfo', 'label').to_s
|
521
526
|
disk[:vim_index] = d['key'].to_i
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: manageiq-smartstate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.24
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ManageIQ Developers
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-06-
|
11
|
+
date: 2019-06-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: azure-armrest
|