oneview-sdk 5.8.0 → 5.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (26) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +12 -0
  3. data/endpoints-support.md +15 -15
  4. data/lib/oneview-sdk/resource/api1000/c7000/connection_template.rb +22 -0
  5. data/lib/oneview-sdk/resource/api1000/c7000/firmware_driver.rb +22 -0
  6. data/lib/oneview-sdk/resource/api1000/synergy/connection_template.rb +22 -0
  7. data/lib/oneview-sdk/resource/api1000/synergy/firmware_driver.rb +22 -0
  8. data/lib/oneview-sdk/resource/api1000/synergy/interconnect.rb +2 -2
  9. data/lib/oneview-sdk/resource/api1000/synergy/sas_logical_interconnect_group.rb +22 -0
  10. data/lib/oneview-sdk/resource/api1200/c7000/connection_template.rb +22 -0
  11. data/lib/oneview-sdk/resource/api1200/c7000/enclosure_group.rb +4 -0
  12. data/lib/oneview-sdk/resource/api1200/c7000/firmware_driver.rb +22 -0
  13. data/lib/oneview-sdk/resource/api1200/synergy/connection_template.rb +22 -0
  14. data/lib/oneview-sdk/resource/api1200/synergy/enclosure_group.rb +4 -0
  15. data/lib/oneview-sdk/resource/api1200/synergy/firmware_driver.rb +22 -0
  16. data/lib/oneview-sdk/resource/api1200/synergy/interconnect.rb +12 -2
  17. data/lib/oneview-sdk/resource/api1200/synergy/logical_enclosure.rb +0 -10
  18. data/lib/oneview-sdk/resource/api1200/synergy/sas_logical_interconnect_group.rb +22 -0
  19. data/lib/oneview-sdk/resource/api800/c7000/connection_template.rb +22 -0
  20. data/lib/oneview-sdk/resource/api800/c7000/firmware_driver.rb +22 -0
  21. data/lib/oneview-sdk/resource/api800/synergy/connection_template.rb +22 -0
  22. data/lib/oneview-sdk/resource/api800/synergy/firmware_driver.rb +22 -0
  23. data/lib/oneview-sdk/resource/api800/synergy/interconnect.rb +2 -2
  24. data/lib/oneview-sdk/resource/api800/synergy/sas_logical_interconnect_group.rb +22 -0
  25. data/lib/oneview-sdk/version.rb +1 -1
  26. metadata +17 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8cec14164c4a4d07bd5a434fc8108da9870aba18f5d9d628ccb6689faaabbfd1
4
- data.tar.gz: bd07d7e854a575fead67449975e3ccdd5c2c459b2df5264d09a85fa596c67447
3
+ metadata.gz: b163aa64be19521d509dc55a17ae64fe24e0ca37438e53e2366ea20bb5997922
4
+ data.tar.gz: 41adfcabd3c1214d78b89788dcf4656d858ca95348a7215b837a319f85ae3d50
5
5
  SHA512:
6
- metadata.gz: 5a72954d447d7c80a760afaf890a6dd4e52bc121cf964910ff0d55a0948baf6373d4a899f862878177cda5e6f19d5006c6c539e810d2e50ee56176017d424dd8
7
- data.tar.gz: 1b0c59478f93061984314eb088e7360897793969b4910c2bb8ce8cdc0c6ce279931d7ff7a7cff4b81731ca52b4851722b3e2b95c64f3f41f487ded5c634fff41
6
+ metadata.gz: 0caba1165ca758794cec53a2849bb1b375b32f4db401f54c5b80824216e4c520c9f856c81df48adab405aff4fb7fb2520a23948ca61091564fc12dad25853734
7
+ data.tar.gz: 5b0a60944440fe756b50101c5187ab27921a6f56110cceacdf831bd63406d55668b3968580d23db8dc5e9b28ea326f4686fd9e98c0ea206505c5841a938a22c4
data/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ ## v5.9.0
2
+ - This release supports OneView Rest API versions 800/1000/1200 minimally where we can use OneView v4.10/v4.20/v5.0 with this SDK. No new fields are added/deleted to support OneView Rest API 800/1000/1200. Complete support will be done in next releases.
3
+ - Bugfix for the update request for enclosure group.
4
+ - Bugfix for the create request for logical enclosure.
5
+
6
+ #### Features Supported
7
+ This release adds support to OneView Rest API version 800/1000/1200 for the hardware variants C7000 and Synergy to the already existing features:
8
+ - Connection Template
9
+ - Firmware Driver
10
+ - Interconnect Link Topology
11
+ - SAS Logical Interconnect Group
12
+
1
13
  ## v5.8.0
2
14
 
3
15
  #### Notes
data/endpoints-support.md CHANGED
@@ -31,10 +31,10 @@ OneviewSDK::Datacenter.find_by(@client, width: 11000).map(&:remove)
31
31
  |<sub>/rest/alerts/{id}</sub> |DELETE | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
32
32
  |<sub>/rest/alerts/AlertChangeLog/{id}</sub> |DELETE | :white_check_mark: | :white_check_mark: |:white_check_mark: | :white_check_mark: |
33
33
  | **Connection Templates** |
34
- |<sub>/rest/connection-templates</sub> |GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
35
- |<sub>/rest/connection-templates/defaultConnectionTemplate</sub> |GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
36
- |<sub>/rest/connection-templates/{id}</sub> |GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
37
- |<sub>/rest/connection-templates/{id}</sub> |PUT | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
34
+ |<sub>/rest/connection-templates</sub> |GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
35
+ |<sub>/rest/connection-templates/defaultConnectionTemplate</sub> |GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
36
+ |<sub>/rest/connection-templates/{id}</sub> |GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
37
+ |<sub>/rest/connection-templates/{id}</sub> |PUT | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
38
38
  | **Datacenters** |
39
39
  |<sub>/rest/datacenters</sub> | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: |
40
40
  |<sub>/rest/datacenters</sub> | POST | :white_check_mark: | :white_check_mark: | :white_check_mark: |
@@ -109,10 +109,10 @@ OneviewSDK::Datacenter.find_by(@client, width: 11000).map(&:remove)
109
109
  | **Firmware Bundles** |
110
110
  |<sub>/rest/firmware-bundles</sub> | POST | :white_check_mark: | :white_check_mark: | :white_check_mark: |
111
111
  | **Firmware Drivers** |
112
- |<sub>/rest/firmware-drivers</sub> | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: |
113
- |<sub>/rest/firmware-drivers</sub> | POST | :white_check_mark: | :white_check_mark: | :white_check_mark: |
114
- |<sub>/rest/firmware-drivers/{id}</sub> | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: |
115
- |<sub>/rest/firmware-drivers/{id}</sub> | DELETE | :white_check_mark: | :white_check_mark: | :white_check_mark: |
112
+ |<sub>/rest/firmware-drivers</sub> | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
113
+ |<sub>/rest/firmware-drivers</sub> | POST | :white_check_mark: | :white_check_mark: | :white_check_mark: | :heavy_multiplication_x: | :heavy_multiplication_x: | :heavy_multiplication_x: | :heavy_multiplication_x: | :heavy_multiplication_x: |
114
+ |<sub>/rest/firmware-drivers/{id}</sub> | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
115
+ |<sub>/rest/firmware-drivers/{id}</sub> | DELETE | :white_check_mark: | :white_check_mark: | :white_check_mark: | :heavy_multiplication_x: | :heavy_multiplication_x: | :heavy_multiplication_x: | :heavy_multiplication_x: |
116
116
  | **Hypervisor Managers** |
117
117
  |<sub>/rest/hypervisor-managers</sub> | GET | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :white_check_mark: |
118
118
  |<sub>/rest/hypervisor-managers</sub> | POST | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :white_check_mark: |
@@ -136,8 +136,8 @@ OneviewSDK::Datacenter.find_by(@client, width: 11000).map(&:remove)
136
136
  |<sub>/rest/id-pools/{poolType}/validate</sub> | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: |
137
137
  |<sub>/rest/id-pools/{poolType}/validate</sub> | PUT | :white_check_mark: | :white_check_mark: | :white_check_mark: |
138
138
  | **Interconnect Link Topologies** |
139
- |<sub>/rest/interconnect-link-topologies</sub> | GET | :heavy_minus_sign: | :white_check_mark: | :white_check_mark: |
140
- |<sub>/rest/interconnect-link-topologies/{id}</sub> | GET | :heavy_minus_sign: | :white_check_mark: | :white_check_mark: |
139
+ |<sub>/rest/interconnect-link-topologies</sub> | GET | :heavy_minus_sign: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
140
+ |<sub>/rest/interconnect-link-topologies/{id}</sub> | GET | :heavy_minus_sign: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
141
141
  | **Interconnect Types** |
142
142
  |<sub>/rest/interconnect-types</sub> | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |:white_check_mark: |
143
143
  |<sub>/rest/interconnect-types/{id}</sub> | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |:white_check_mark: |
@@ -293,11 +293,11 @@ OneviewSDK::Datacenter.find_by(@client, width: 11000).map(&:remove)
293
293
  |<sub>/rest/sas-interconnects/{id}</sub> | PATCH | :heavy_minus_sign: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
294
294
  |<sub>/rest/sas-interconnects/{id}/refreshState</sub> | PUT | :heavy_minus_sign: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
295
295
  | **SAS Logical Interconnect Groups** |
296
- |<sub>/rest/sas-logical-interconnect-groups</sub> | POST | :heavy_minus_sign: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
297
- |<sub>/rest/sas-logical-interconnect-groups</sub> | GET | :heavy_minus_sign: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
298
- |<sub>/rest/sas-logical-interconnect-groups/{id}</sub> | GET | :heavy_minus_sign: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
299
- |<sub>/rest/sas-logical-interconnect-groups/{id}</sub> | PUT | :heavy_minus_sign: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
300
- |<sub>/rest/sas-logical-interconnect-groups/{id}</sub> | DELETE | :heavy_minus_sign: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
296
+ |<sub>/rest/sas-logical-interconnect-groups</sub> | POST | :heavy_minus_sign: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
297
+ |<sub>/rest/sas-logical-interconnect-groups</sub> | GET | :heavy_minus_sign: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
298
+ |<sub>/rest/sas-logical-interconnect-groups/{id}</sub> | GET | :heavy_minus_sign: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
299
+ |<sub>/rest/sas-logical-interconnect-groups/{id}</sub> | PUT | :heavy_minus_sign: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
300
+ |<sub>/rest/sas-logical-interconnect-groups/{id}</sub> | DELETE | :heavy_minus_sign: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
301
301
  | **SAS Logical Interconnects** |
302
302
  |<sub>/rest/sas-logical-interconnects</sub> | GET | :heavy_minus_sign: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
303
303
  |<sub>/rest/sas-logical-interconnects/{id}</sub> | GET | :heavy_minus_sign: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
@@ -0,0 +1,22 @@
1
+ # (c) Copyright 2017 Hewlett Packard Enterprise Development LP
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+ #
7
+ # Unless required by applicable law or agreed to in writing, software distributed
8
+ # under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
9
+ # CONDITIONS OF ANY KIND, either express or implied. See the License for the specific
10
+ # language governing permissions and limitations under the License.
11
+
12
+ require_relative '../../api800/c7000/connection_template'
13
+
14
+ module OneviewSDK
15
+ module API1000
16
+ module C7000
17
+ # Connection template resource implementation for API1000 C7000
18
+ class ConnectionTemplate < OneviewSDK::API800::C7000::ConnectionTemplate
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,22 @@
1
+ # (C) Copyright 2020 Hewlett Packard Enterprise Development LP
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # You may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+ #
7
+ # Unless required by applicable law or agreed to in writing, software distributed
8
+ # under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
9
+ # CONDITIONS OF ANY KIND, either express or implied. See the License for the specific
10
+ # language governing permissions and limitations under the License.
11
+
12
+ require_relative '../../api800/c7000/firmware_driver'
13
+
14
+ module OneviewSDK
15
+ module API1000
16
+ module C7000
17
+ # FirmwareDriver resource implementation for API1000 C7000
18
+ class FirmwareDriver < OneviewSDK::API800::C7000::FirmwareDriver
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,22 @@
1
+ # (c) Copyright 2017 Hewlett Packard Enterprise Development LP
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+ #
7
+ # Unless required by applicable law or agreed to in writing, software distributed
8
+ # under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
9
+ # CONDITIONS OF ANY KIND, either express or implied. See the License for the specific
10
+ # language governing permissions and limitations under the License.
11
+
12
+ require_relative '../../api800/synergy/connection_template'
13
+
14
+ module OneviewSDK
15
+ module API1000
16
+ module Synergy
17
+ # Connection template resource implementation for API1000 Synergy
18
+ class ConnectionTemplate < OneviewSDK::API800::Synergy::ConnectionTemplate
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,22 @@
1
+ # (C) Copyright 2020 Hewlett Packard Enterprise Development LP
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # You may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+ #
7
+ # Unless required by applicable law or agreed to in writing, software distributed
8
+ # under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
9
+ # CONDITIONS OF ANY KIND, either express or implied. See the License for the specific
10
+ # language governing permissions and limitations under the License.
11
+
12
+ require_relative '../../api800/synergy/firmware_driver'
13
+
14
+ module OneviewSDK
15
+ module API1000
16
+ module Synergy
17
+ # FirmwareDriver resource implementation for API1000 Synergy
18
+ class FirmwareDriver < OneviewSDK::API800::Synergy::FirmwareDriver
19
+ end
20
+ end
21
+ end
22
+ end
@@ -9,13 +9,13 @@
9
9
  # CONDITIONS OF ANY KIND, either express or implied. See the License for the specific
10
10
  # language governing permissions and limitations under the License.
11
11
 
12
- require_relative '../c7000/interconnect'
12
+ require_relative '../../api800/synergy/interconnect'
13
13
 
14
14
  module OneviewSDK
15
15
  module API1000
16
16
  module Synergy
17
17
  # Interconnect resource implementation on API1000 Synergy
18
- class Interconnect < OneviewSDK::API1000::C7000::Interconnect
18
+ class Interconnect < OneviewSDK::API800::Synergy::Interconnect
19
19
  end
20
20
  end
21
21
  end
@@ -0,0 +1,22 @@
1
+ # (C) Copyright 2020 Hewlett Packard Enterprise Development LP
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # You may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+ #
7
+ # Unless required by applicable law or agreed to in writing, software distributed
8
+ # under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
9
+ # CONDITIONS OF ANY KIND, either express or implied. See the License for the specific
10
+ # language governing permissions and limitations under the License.
11
+
12
+ require_relative '../../api800/synergy/sas_logical_interconnect_group'
13
+
14
+ module OneviewSDK
15
+ module API1000
16
+ module Synergy
17
+ # SAS Logical interconnect group resource implementation for API1000 Synergy
18
+ class SASLogicalInterconnectGroup < OneviewSDK::API800::Synergy::SASLogicalInterconnectGroup
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,22 @@
1
+ # (c) Copyright 2017 Hewlett Packard Enterprise Development LP
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+ #
7
+ # Unless required by applicable law or agreed to in writing, software distributed
8
+ # under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
9
+ # CONDITIONS OF ANY KIND, either express or implied. See the License for the specific
10
+ # language governing permissions and limitations under the License.
11
+
12
+ require_relative '../../api1000/c7000/connection_template'
13
+
14
+ module OneviewSDK
15
+ module API1200
16
+ module C7000
17
+ # Connection template resource implementation for API1200 C7000
18
+ class ConnectionTemplate < OneviewSDK::API1000::C7000::ConnectionTemplate
19
+ end
20
+ end
21
+ end
22
+ end
@@ -23,6 +23,10 @@ module OneviewSDK
23
23
  def initialize(client, params = {}, api_ver = nil)
24
24
  @data ||= {}
25
25
  # Default values:
26
+ super
27
+ end
28
+
29
+ def update(attributes = {})
26
30
  @data['type'] ||= 'EnclosureGroupV8'
27
31
  super
28
32
  end
@@ -0,0 +1,22 @@
1
+ # (C) Copyright 2020 Hewlett Packard Enterprise Development LP
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # You may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+ #
7
+ # Unless required by applicable law or agreed to in writing, software distributed
8
+ # under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
9
+ # CONDITIONS OF ANY KIND, either express or implied. See the License for the specific
10
+ # language governing permissions and limitations under the License.
11
+
12
+ require_relative '../../api1000/c7000/firmware_driver'
13
+
14
+ module OneviewSDK
15
+ module API1200
16
+ module C7000
17
+ # FirmwareDriver resource implementation for API1200 C7000
18
+ class FirmwareDriver < OneviewSDK::API1000::C7000::FirmwareDriver
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,22 @@
1
+ # (c) Copyright 2017 Hewlett Packard Enterprise Development LP
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+ #
7
+ # Unless required by applicable law or agreed to in writing, software distributed
8
+ # under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
9
+ # CONDITIONS OF ANY KIND, either express or implied. See the License for the specific
10
+ # language governing permissions and limitations under the License.
11
+
12
+ require_relative '../../api1000/synergy/connection_template'
13
+
14
+ module OneviewSDK
15
+ module API1200
16
+ module Synergy
17
+ # Connection template resource implementation for API1200 Synergy
18
+ class ConnectionTemplate < OneviewSDK::API1000::Synergy::ConnectionTemplate
19
+ end
20
+ end
21
+ end
22
+ end
@@ -23,6 +23,10 @@ module OneviewSDK
23
23
  def initialize(client, params = {}, api_ver = nil)
24
24
  @data ||= {}
25
25
  # Default values:
26
+ super
27
+ end
28
+
29
+ def update(attributes = {})
26
30
  @data['type'] ||= 'EnclosureGroupV8'
27
31
  super
28
32
  end
@@ -0,0 +1,22 @@
1
+ # (C) Copyright 2020 Hewlett Packard Enterprise Development LP
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # You may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+ #
7
+ # Unless required by applicable law or agreed to in writing, software distributed
8
+ # under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
9
+ # CONDITIONS OF ANY KIND, either express or implied. See the License for the specific
10
+ # language governing permissions and limitations under the License.
11
+
12
+ require_relative '../../api1000/synergy/firmware_driver'
13
+
14
+ module OneviewSDK
15
+ module API1200
16
+ module Synergy
17
+ # FirmwareDriver resource implementation for API1200 Synergy
18
+ class FirmwareDriver < OneviewSDK::API1000::Synergy::FirmwareDriver
19
+ end
20
+ end
21
+ end
22
+ end
@@ -9,13 +9,23 @@
9
9
  # CONDITIONS OF ANY KIND, either express or implied. See the License for the specific
10
10
  # language governing permissions and limitations under the License.
11
11
 
12
- require_relative '../c7000/interconnect'
12
+ require_relative '../../api1000/synergy/interconnect'
13
13
 
14
14
  module OneviewSDK
15
15
  module API1200
16
16
  module Synergy
17
17
  # Interconnect resource implementation on API1200 Synergy
18
- class Interconnect < OneviewSDK::API1200::C7000::Interconnect
18
+ class Interconnect < OneviewSDK::API1000::Synergy::Interconnect
19
+ # Create a resource object, associate it with a client, and set its properties.
20
+ # @param [OneviewSDK::Client] client The client object for the OneView appliance
21
+ # @param [Hash] params The options for this resource (key-value pairs)
22
+ # @param [Integer] api_ver The api version to use when interracting with this resource.
23
+ def initialize(client, params = {}, api_ver = nil)
24
+ @data ||= {}
25
+ # Default values
26
+ @data['type'] ||= 'InterconnectV6'
27
+ super
28
+ end
19
29
  end
20
30
  end
21
31
  end
@@ -16,16 +16,6 @@ module OneviewSDK
16
16
  module Synergy
17
17
  # Logical Enclosure resource implementation on API1200 Synergy
18
18
  class LogicalEnclosure < OneviewSDK::API1000::Synergy::LogicalEnclosure
19
- # Create a resource object, associate it with a client, and set its properties.
20
- # @param [OneviewSDK::Client] client The client object for the OneView appliance
21
- # @param [Hash] params The options for this resource (key-value pairs)
22
- # @param [Integer] api_ver The api version to use when interracting with this resource.
23
- def initialize(client, params = {}, api_ver = nil)
24
- @data ||= {}
25
- # Default values:
26
- @data['type'] ||= 'LogicalEnclosureV5'
27
- super
28
- end
29
19
  end
30
20
  end
31
21
  end
@@ -0,0 +1,22 @@
1
+ # (C) Copyright 2020 Hewlett Packard Enterprise Development LP
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # You may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+ #
7
+ # Unless required by applicable law or agreed to in writing, software distributed
8
+ # under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
9
+ # CONDITIONS OF ANY KIND, either express or implied. See the License for the specific
10
+ # language governing permissions and limitations under the License.
11
+
12
+ require_relative '../../api1000/synergy/sas_logical_interconnect_group'
13
+
14
+ module OneviewSDK
15
+ module API1200
16
+ module Synergy
17
+ # SAS Logical interconnect group resource implementation for API1200 Synergy
18
+ class SASLogicalInterconnectGroup < OneviewSDK::API1000::Synergy::SASLogicalInterconnectGroup
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,22 @@
1
+ # (c) Copyright 2017 Hewlett Packard Enterprise Development LP
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+ #
7
+ # Unless required by applicable law or agreed to in writing, software distributed
8
+ # under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
9
+ # CONDITIONS OF ANY KIND, either express or implied. See the License for the specific
10
+ # language governing permissions and limitations under the License.
11
+
12
+ require_relative '../../api600/c7000/connection_template'
13
+
14
+ module OneviewSDK
15
+ module API800
16
+ module C7000
17
+ # Connection template resource implementation for API800 C7000
18
+ class ConnectionTemplate < OneviewSDK::API600::C7000::ConnectionTemplate
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,22 @@
1
+ # (C) Copyright 2020 Hewlett Packard Enterprise Development LP
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # You may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+ #
7
+ # Unless required by applicable law or agreed to in writing, software distributed
8
+ # under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
9
+ # CONDITIONS OF ANY KIND, either express or implied. See the License for the specific
10
+ # language governing permissions and limitations under the License.
11
+
12
+ require_relative '../../api600/c7000/firmware_driver'
13
+
14
+ module OneviewSDK
15
+ module API800
16
+ module C7000
17
+ # FirmwareDriver resource implementation for API800 C7000
18
+ class FirmwareDriver < OneviewSDK::API600::C7000::FirmwareDriver
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,22 @@
1
+ # (c) Copyright 2017 Hewlett Packard Enterprise Development LP
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+ #
7
+ # Unless required by applicable law or agreed to in writing, software distributed
8
+ # under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
9
+ # CONDITIONS OF ANY KIND, either express or implied. See the License for the specific
10
+ # language governing permissions and limitations under the License.
11
+
12
+ require_relative '../../api600/synergy/connection_template'
13
+
14
+ module OneviewSDK
15
+ module API800
16
+ module Synergy
17
+ # Connection template resource implementation for API800 Synergy
18
+ class ConnectionTemplate < OneviewSDK::API600::Synergy::ConnectionTemplate
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,22 @@
1
+ # (C) Copyright 2020 Hewlett Packard Enterprise Development LP
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # You may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+ #
7
+ # Unless required by applicable law or agreed to in writing, software distributed
8
+ # under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
9
+ # CONDITIONS OF ANY KIND, either express or implied. See the License for the specific
10
+ # language governing permissions and limitations under the License.
11
+
12
+ require_relative '../../api600/synergy/firmware_driver'
13
+
14
+ module OneviewSDK
15
+ module API800
16
+ module Synergy
17
+ # FirmwareDriver resource implementation for API800 Synergy
18
+ class FirmwareDriver < OneviewSDK::API600::Synergy::FirmwareDriver
19
+ end
20
+ end
21
+ end
22
+ end
@@ -9,13 +9,13 @@
9
9
  # CONDITIONS OF ANY KIND, either express or implied. See the License for the specific
10
10
  # language governing permissions and limitations under the License.
11
11
 
12
- require_relative '../c7000/interconnect'
12
+ require_relative '../../api600/synergy/interconnect'
13
13
 
14
14
  module OneviewSDK
15
15
  module API800
16
16
  module Synergy
17
17
  # Interconnect resource implementation on API800 Synergy
18
- class Interconnect < OneviewSDK::API800::C7000::Interconnect
18
+ class Interconnect < OneviewSDK::API600::Synergy::Interconnect
19
19
  end
20
20
  end
21
21
  end
@@ -0,0 +1,22 @@
1
+ # (C) Copyright 2020 Hewlett Packard Enterprise Development LP
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # You may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+ #
7
+ # Unless required by applicable law or agreed to in writing, software distributed
8
+ # under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
9
+ # CONDITIONS OF ANY KIND, either express or implied. See the License for the specific
10
+ # language governing permissions and limitations under the License.
11
+
12
+ require_relative '../../api600/synergy/sas_logical_interconnect_group'
13
+
14
+ module OneviewSDK
15
+ module API800
16
+ module Synergy
17
+ # SAS Logical interconnect group resource implementation for API800 Synergy
18
+ class SASLogicalInterconnectGroup < OneviewSDK::API600::Synergy::SASLogicalInterconnectGroup
19
+ end
20
+ end
21
+ end
22
+ end
@@ -11,5 +11,5 @@
11
11
 
12
12
  # Gem version defined here
13
13
  module OneviewSDK
14
- VERSION = '5.8.0'.freeze
14
+ VERSION = '5.9.0'.freeze
15
15
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oneview-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.8.0
4
+ version: 5.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henrique Diomede
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2019-12-20 00:00:00.000000000 Z
14
+ date: 2020-02-26 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: thor
@@ -246,11 +246,13 @@ files:
246
246
  - lib/oneview-sdk/resource.rb
247
247
  - lib/oneview-sdk/resource/api1000.rb
248
248
  - lib/oneview-sdk/resource/api1000/c7000.rb
249
+ - lib/oneview-sdk/resource/api1000/c7000/connection_template.rb
249
250
  - lib/oneview-sdk/resource/api1000/c7000/enclosure.rb
250
251
  - lib/oneview-sdk/resource/api1000/c7000/enclosure_group.rb
251
252
  - lib/oneview-sdk/resource/api1000/c7000/ethernet_network.rb
252
253
  - lib/oneview-sdk/resource/api1000/c7000/fc_network.rb
253
254
  - lib/oneview-sdk/resource/api1000/c7000/fcoe_network.rb
255
+ - lib/oneview-sdk/resource/api1000/c7000/firmware_driver.rb
254
256
  - lib/oneview-sdk/resource/api1000/c7000/interconnect.rb
255
257
  - lib/oneview-sdk/resource/api1000/c7000/lig_uplink_set.rb
256
258
  - lib/oneview-sdk/resource/api1000/c7000/logical_enclosure.rb
@@ -269,11 +271,13 @@ files:
269
271
  - lib/oneview-sdk/resource/api1000/c7000/volume_attachment.rb
270
272
  - lib/oneview-sdk/resource/api1000/c7000/volume_template.rb
271
273
  - lib/oneview-sdk/resource/api1000/synergy.rb
274
+ - lib/oneview-sdk/resource/api1000/synergy/connection_template.rb
272
275
  - lib/oneview-sdk/resource/api1000/synergy/enclosure.rb
273
276
  - lib/oneview-sdk/resource/api1000/synergy/enclosure_group.rb
274
277
  - lib/oneview-sdk/resource/api1000/synergy/ethernet_network.rb
275
278
  - lib/oneview-sdk/resource/api1000/synergy/fc_network.rb
276
279
  - lib/oneview-sdk/resource/api1000/synergy/fcoe_network.rb
280
+ - lib/oneview-sdk/resource/api1000/synergy/firmware_driver.rb
277
281
  - lib/oneview-sdk/resource/api1000/synergy/interconnect.rb
278
282
  - lib/oneview-sdk/resource/api1000/synergy/lig_uplink_set.rb
279
283
  - lib/oneview-sdk/resource/api1000/synergy/logical_enclosure.rb
@@ -281,6 +285,7 @@ files:
281
285
  - lib/oneview-sdk/resource/api1000/synergy/logical_interconnect_group.rb
282
286
  - lib/oneview-sdk/resource/api1000/synergy/network_set.rb
283
287
  - lib/oneview-sdk/resource/api1000/synergy/os_deployment_plan.rb
288
+ - lib/oneview-sdk/resource/api1000/synergy/sas_logical_interconnect_group.rb
284
289
  - lib/oneview-sdk/resource/api1000/synergy/scope.rb
285
290
  - lib/oneview-sdk/resource/api1000/synergy/server_hardware.rb
286
291
  - lib/oneview-sdk/resource/api1000/synergy/server_hardware_type.rb
@@ -294,11 +299,13 @@ files:
294
299
  - lib/oneview-sdk/resource/api1000/synergy/volume_template.rb
295
300
  - lib/oneview-sdk/resource/api1200.rb
296
301
  - lib/oneview-sdk/resource/api1200/c7000.rb
302
+ - lib/oneview-sdk/resource/api1200/c7000/connection_template.rb
297
303
  - lib/oneview-sdk/resource/api1200/c7000/enclosure.rb
298
304
  - lib/oneview-sdk/resource/api1200/c7000/enclosure_group.rb
299
305
  - lib/oneview-sdk/resource/api1200/c7000/ethernet_network.rb
300
306
  - lib/oneview-sdk/resource/api1200/c7000/fc_network.rb
301
307
  - lib/oneview-sdk/resource/api1200/c7000/fcoe_network.rb
308
+ - lib/oneview-sdk/resource/api1200/c7000/firmware_driver.rb
302
309
  - lib/oneview-sdk/resource/api1200/c7000/interconnect.rb
303
310
  - lib/oneview-sdk/resource/api1200/c7000/lig_uplink_set.rb
304
311
  - lib/oneview-sdk/resource/api1200/c7000/logical_enclosure.rb
@@ -317,11 +324,13 @@ files:
317
324
  - lib/oneview-sdk/resource/api1200/c7000/volume_attachment.rb
318
325
  - lib/oneview-sdk/resource/api1200/c7000/volume_template.rb
319
326
  - lib/oneview-sdk/resource/api1200/synergy.rb
327
+ - lib/oneview-sdk/resource/api1200/synergy/connection_template.rb
320
328
  - lib/oneview-sdk/resource/api1200/synergy/enclosure.rb
321
329
  - lib/oneview-sdk/resource/api1200/synergy/enclosure_group.rb
322
330
  - lib/oneview-sdk/resource/api1200/synergy/ethernet_network.rb
323
331
  - lib/oneview-sdk/resource/api1200/synergy/fc_network.rb
324
332
  - lib/oneview-sdk/resource/api1200/synergy/fcoe_network.rb
333
+ - lib/oneview-sdk/resource/api1200/synergy/firmware_driver.rb
325
334
  - lib/oneview-sdk/resource/api1200/synergy/interconnect.rb
326
335
  - lib/oneview-sdk/resource/api1200/synergy/lig_uplink_set.rb
327
336
  - lib/oneview-sdk/resource/api1200/synergy/logical_enclosure.rb
@@ -329,6 +338,7 @@ files:
329
338
  - lib/oneview-sdk/resource/api1200/synergy/logical_interconnect_group.rb
330
339
  - lib/oneview-sdk/resource/api1200/synergy/network_set.rb
331
340
  - lib/oneview-sdk/resource/api1200/synergy/os_deployment_plan.rb
341
+ - lib/oneview-sdk/resource/api1200/synergy/sas_logical_interconnect_group.rb
332
342
  - lib/oneview-sdk/resource/api1200/synergy/scope.rb
333
343
  - lib/oneview-sdk/resource/api1200/synergy/server_hardware.rb
334
344
  - lib/oneview-sdk/resource/api1200/synergy/server_hardware_type.rb
@@ -688,11 +698,13 @@ files:
688
698
  - lib/oneview-sdk/resource/api600/synergy/web_server_certificate.rb
689
699
  - lib/oneview-sdk/resource/api800.rb
690
700
  - lib/oneview-sdk/resource/api800/c7000.rb
701
+ - lib/oneview-sdk/resource/api800/c7000/connection_template.rb
691
702
  - lib/oneview-sdk/resource/api800/c7000/enclosure.rb
692
703
  - lib/oneview-sdk/resource/api800/c7000/enclosure_group.rb
693
704
  - lib/oneview-sdk/resource/api800/c7000/ethernet_network.rb
694
705
  - lib/oneview-sdk/resource/api800/c7000/fc_network.rb
695
706
  - lib/oneview-sdk/resource/api800/c7000/fcoe_network.rb
707
+ - lib/oneview-sdk/resource/api800/c7000/firmware_driver.rb
696
708
  - lib/oneview-sdk/resource/api800/c7000/hypervisor_cluster_profile.rb
697
709
  - lib/oneview-sdk/resource/api800/c7000/hypervisor_manager.rb
698
710
  - lib/oneview-sdk/resource/api800/c7000/interconnect.rb
@@ -713,11 +725,13 @@ files:
713
725
  - lib/oneview-sdk/resource/api800/c7000/volume_attachment.rb
714
726
  - lib/oneview-sdk/resource/api800/c7000/volume_template.rb
715
727
  - lib/oneview-sdk/resource/api800/synergy.rb
728
+ - lib/oneview-sdk/resource/api800/synergy/connection_template.rb
716
729
  - lib/oneview-sdk/resource/api800/synergy/enclosure.rb
717
730
  - lib/oneview-sdk/resource/api800/synergy/enclosure_group.rb
718
731
  - lib/oneview-sdk/resource/api800/synergy/ethernet_network.rb
719
732
  - lib/oneview-sdk/resource/api800/synergy/fc_network.rb
720
733
  - lib/oneview-sdk/resource/api800/synergy/fcoe_network.rb
734
+ - lib/oneview-sdk/resource/api800/synergy/firmware_driver.rb
721
735
  - lib/oneview-sdk/resource/api800/synergy/hypervisor_cluster_profile.rb
722
736
  - lib/oneview-sdk/resource/api800/synergy/hypervisor_manager.rb
723
737
  - lib/oneview-sdk/resource/api800/synergy/interconnect.rb
@@ -727,6 +741,7 @@ files:
727
741
  - lib/oneview-sdk/resource/api800/synergy/logical_interconnect_group.rb
728
742
  - lib/oneview-sdk/resource/api800/synergy/network_set.rb
729
743
  - lib/oneview-sdk/resource/api800/synergy/os_deployment_plan.rb
744
+ - lib/oneview-sdk/resource/api800/synergy/sas_logical_interconnect_group.rb
730
745
  - lib/oneview-sdk/resource/api800/synergy/scope.rb
731
746
  - lib/oneview-sdk/resource/api800/synergy/server_hardware.rb
732
747
  - lib/oneview-sdk/resource/api800/synergy/server_hardware_type.rb