ibm_power_hmc 0.22.0 → 0.23.1
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/CHANGELOG.md +5 -0
- data/lib/ibm_power_hmc/schema/uom.rb +25 -18
- 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: 664a0abb7f7694b46dfc2b6df5bd77d4302dc95388a31b39700cee8c2f8aa577
|
4
|
+
data.tar.gz: aa33a336fb9acb8f5b638d3e0d141a39700b6557c055aa21e03d3caa74a4e06f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fccd5b4c9a95d02e36e06fe171f9f6f62aef3632f4698c0954bb05d31ce0d7c8e815cd5d280d9f397da2d7962223dd46e7b1813a64afd71f3c5685ef00f6fea0
|
7
|
+
data.tar.gz: '011009cf620e6d618c936f69e4593a7369e3c7cb11e70c20778c7422806386995b62f20cf4d5141c07b6ec725df7aacc599f2bd52b508e7b41281d5830d91c70'
|
data/CHANGELOG.md
CHANGED
@@ -1,8 +1,13 @@
|
|
1
|
+
## v0.23.0
|
2
|
+
* Enhance schema definition for physical fibre channel adapters
|
3
|
+
## v0.22.0
|
4
|
+
* Add schema definitions related to shared memory
|
1
5
|
## v0.21.0
|
2
6
|
* Add methods to create/delete LPAR client network adapters
|
3
7
|
* Add methods and schema definitions for volume groups
|
4
8
|
* Add label and page83 schema definitions for PVs
|
5
9
|
* Add schema definitions for capabilities of lpars and vioses
|
10
|
+
* Improve schema definitions for dedicated CPUs
|
6
11
|
## v0.20.0
|
7
12
|
* Add permissive option (`ignoreError=true`) for cluster APIs
|
8
13
|
* Fix `modify_object` method when URI has a query part
|
@@ -120,9 +120,33 @@ module IbmPowerHmc
|
|
120
120
|
end
|
121
121
|
|
122
122
|
class HostChannelAdapter < IOAdapter; end
|
123
|
-
class PhysicalFibreChannelAdapter < IOAdapter; end
|
124
123
|
class SRIOVAdapter < IOAdapter; end
|
125
124
|
|
125
|
+
# FC adapter information
|
126
|
+
class PhysicalFibreChannelAdapter < IOAdapter
|
127
|
+
def ports
|
128
|
+
collection_of("PhysicalFibreChannelPorts", "PhysicalFibreChannelPort")
|
129
|
+
end
|
130
|
+
end
|
131
|
+
|
132
|
+
# FC port information
|
133
|
+
class PhysicalFibreChannelPort < AbstractNonRest
|
134
|
+
ATTRS = {
|
135
|
+
:location => "LocationCode",
|
136
|
+
:name => "PortName",
|
137
|
+
:udid => "UniqueDeviceID",
|
138
|
+
:wwpn => "WWPN",
|
139
|
+
:wwnn => "WWNN",
|
140
|
+
:avail_ports => "AvailablePorts",
|
141
|
+
:total_ports => "TotalPorts",
|
142
|
+
:label => "Label"
|
143
|
+
}.freeze
|
144
|
+
|
145
|
+
def pvs
|
146
|
+
collection_of("PhysicalVolumes", "PhysicalVolume")
|
147
|
+
end
|
148
|
+
end
|
149
|
+
|
126
150
|
# Common class for LPAR and VIOS
|
127
151
|
class BasePartition < AbstractRest
|
128
152
|
ATTRS = {
|
@@ -753,23 +777,6 @@ module IbmPowerHmc
|
|
753
777
|
end
|
754
778
|
end
|
755
779
|
|
756
|
-
# FC port information
|
757
|
-
class PhysicalFibreChannelPort < AbstractNonRest
|
758
|
-
ATTRS = {
|
759
|
-
:location => "LocationCode",
|
760
|
-
:name => "PortName",
|
761
|
-
:udid => "UniqueDeviceID",
|
762
|
-
:wwpn => "WWPN",
|
763
|
-
:wwnn => "WWNN",
|
764
|
-
:avail_ports => "AvailablePorts",
|
765
|
-
:total_ports => "TotalPorts"
|
766
|
-
}.freeze
|
767
|
-
|
768
|
-
def pvs
|
769
|
-
collection_of("PhysicalVolumes", "PhysicalVolume")
|
770
|
-
end
|
771
|
-
end
|
772
|
-
|
773
780
|
# Cluster information
|
774
781
|
class Cluster < AbstractRest
|
775
782
|
ATTRS = {
|
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.23.1
|
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-11-
|
11
|
+
date: 2022-11-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|