ibm_power_hmc 0.8.8 → 0.9.0

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
2
  SHA256:
3
- metadata.gz: 3ac3d35b91cddabaaf7767cbdbbb91a975c68ecb2ff857db6c888af131f9d281
4
- data.tar.gz: cfd224e53a20e2dd76672daa631f008fff3019ad363ecf270fe1c8b802bd6145
3
+ metadata.gz: 49b7980e12490365221b3fcc8dcb6a867078dc62f44cd1f0646c75d5d1c7c8cc
4
+ data.tar.gz: a2f7776c0039c188685e84b72c1a5217cda5252cea0d7d4e142ac734ad32305a
5
5
  SHA512:
6
- metadata.gz: b48e94a5e7208e40de8e488a6456e89c2e63151976cafa36b2e74d25b0f6d51bd40afcf0356c68079e9478db940ceb84b2350f3ee13399aad83e467dcd8c0e03
7
- data.tar.gz: 53a6000d74d4dfef6dfe3d29aa949a7185108f281214d94020ac514d2843161469cf5f14024c2f2662be2b814e30ff33ab240a808052a7fae842181e8cfc059f
6
+ metadata.gz: f3bf7576a9eda74a292c74c088c8ed3e88fdde40d94472980600d561563e5998415da26815bfd4d78bf3faade900b22a5a142c67a42e600e7b9c530d8a67e7f8
7
+ data.tar.gz: ec3563218f5a20515179073d391a5bb54bc32f361c63eab190193462b3560185354bc2cc9ff73cb78023ece6ca4550d9584abcfabc0a1a2fac2998a63ff8b820
@@ -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
- Module.const_get("IbmPowerHmc::#{elem.name}").new(elem) unless elem.nil?
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module IbmPowerHmc
4
- VERSION = "0.8.8"
4
+ VERSION = "0.9.0"
5
5
  end
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.8.8
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-07 00:00:00.000000000 Z
11
+ date: 2022-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client