ibm_power_hmc 0.8.8 → 0.9.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.
- checksums.yaml +4 -4
- data/lib/ibm_power_hmc/parser.rb +22 -4
- data/lib/ibm_power_hmc/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49b7980e12490365221b3fcc8dcb6a867078dc62f44cd1f0646c75d5d1c7c8cc
|
4
|
+
data.tar.gz: a2f7776c0039c188685e84b72c1a5217cda5252cea0d7d4e142ac734ad32305a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3bf7576a9eda74a292c74c088c8ed3e88fdde40d94472980600d561563e5998415da26815bfd4d78bf3faade900b22a5a142c67a42e600e7b9c530d8a67e7f8
|
7
|
+
data.tar.gz: ec3563218f5a20515179073d391a5bb54bc32f361c63eab190193462b3560185354bc2cc9ff73cb78023ece6ca4550d9584abcfabc0a1a2fac2998a63ff8b820
|
data/lib/ibm_power_hmc/parser.rb
CHANGED
@@ -430,6 +430,15 @@ module IbmPowerHmc
|
|
430
430
|
}.freeze
|
431
431
|
end
|
432
432
|
|
433
|
+
# SharedFileSystemFile information
|
434
|
+
class SharedFileSystemFile < VirtualSCSIStorage
|
435
|
+
ATTRS = {
|
436
|
+
:name => "SharedFileSystemFileName",
|
437
|
+
:path => "SharedFileSystemFilePath",
|
438
|
+
:udid => "UniqueDeviceID"
|
439
|
+
}.freeze
|
440
|
+
end
|
441
|
+
|
433
442
|
# Virtual Media Repository information
|
434
443
|
class VirtualMediaRepository < AbstractNonRest
|
435
444
|
ATTRS = {
|
@@ -573,11 +582,12 @@ module IbmPowerHmc
|
|
573
582
|
|
574
583
|
def storage
|
575
584
|
# Possible storage types are:
|
576
|
-
# LogicalUnit, PhysicalVolume, VirtualDisk, VirtualOpticalMedia
|
585
|
+
# LogicalUnit, PhysicalVolume, VirtualDisk, VirtualOpticalMedia,
|
586
|
+
# SharedFileSystemFile
|
577
587
|
elem = xml.elements["Storage/*[1]"]
|
578
588
|
begin
|
579
589
|
Module.const_get("IbmPowerHmc::#{elem.name}").new(elem) unless elem.nil?
|
580
|
-
rescue
|
590
|
+
rescue NameError
|
581
591
|
nil
|
582
592
|
end
|
583
593
|
end
|
@@ -585,9 +595,14 @@ module IbmPowerHmc
|
|
585
595
|
def device
|
586
596
|
# Possible backing device types are:
|
587
597
|
# LogicalVolumeVirtualTargetDevice, PhysicalVolumeVirtualTargetDevice,
|
588
|
-
# SharedStoragePoolLogicalUnitVirtualTargetDevice, VirtualOpticalTargetDevice
|
598
|
+
# SharedStoragePoolLogicalUnitVirtualTargetDevice, VirtualOpticalTargetDevice,
|
599
|
+
# SharedFileSystemFileVirtualTargetDevice
|
589
600
|
elem = xml.elements["TargetDevice/*[1]"]
|
590
|
-
|
601
|
+
begin
|
602
|
+
Module.const_get("IbmPowerHmc::#{elem.name}").new(elem) unless elem.nil?
|
603
|
+
rescue NameError
|
604
|
+
nil
|
605
|
+
end
|
591
606
|
end
|
592
607
|
end
|
593
608
|
|
@@ -653,6 +668,9 @@ module IbmPowerHmc
|
|
653
668
|
end
|
654
669
|
end
|
655
670
|
|
671
|
+
# SharedFileSystemFile backing device information
|
672
|
+
class SharedFileSystemFileVirtualTargetDevice < VirtualTargetDevice; end
|
673
|
+
|
656
674
|
# VFC mapping information
|
657
675
|
class VirtualFibreChannelMapping < AbstractNonRest
|
658
676
|
def lpar_uuid
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ibm_power_hmc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- IBM Power
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-04-
|
11
|
+
date: 2022-04-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|