oneview-sdk 5.12.0 → 5.13.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/CHANGELOG.md +13 -0
- data/endpoints-support.md +8 -8
- data/lib/oneview-sdk/resource/api1600/c7000/connection_template.rb +22 -0
- data/lib/oneview-sdk/resource/api1600/c7000/firmware_driver.rb +22 -0
- data/lib/oneview-sdk/resource/api1600/c7000/lig_uplink_set.rb +21 -0
- data/lib/oneview-sdk/resource/api1600/synergy/connection_template.rb +22 -0
- data/lib/oneview-sdk/resource/api1600/synergy/firmware_driver.rb +22 -0
- data/lib/oneview-sdk/resource/api1600/synergy/lig_uplink_set.rb +21 -0
- data/lib/oneview-sdk/resource/api200/volume.rb +2 -2
- data/lib/oneview-sdk/version.rb +1 -1
- metadata +8 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cc2ed5274c8f0fc1675338ede76ae1e6acfd6831ea50fdda2dab0017656ffdfd
|
|
4
|
+
data.tar.gz: acbfabceb1efc7412247c533ca995ab227053bf8ec598687e06bf369202affcc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0aa351049c69a6976f95bdad0bec1a4cd0979b393eb6109d0aa66005945c9794d4e4d46941cf068dada4b209348308201823fd08217511fb330db195d6a8e6e2
|
|
7
|
+
data.tar.gz: c54da76a2451fdf987837c0b16d67aa35694fac31173cd15065da2b7d6d709a14d2a30ab30b976a61d1746c465eec98ef9885480491cccd7d7b6928cbe0b8f5d
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
## v5.13.0
|
|
2
|
+
|
|
3
|
+
#### Notes
|
|
4
|
+
This release extends support to OneView Rest API version 1600 (OneView v5.20) for the hardware variants C7000 and Synergy to the following features:
|
|
5
|
+
|
|
6
|
+
#### Features supported
|
|
7
|
+
- Connection Template
|
|
8
|
+
- Firmware Driver
|
|
9
|
+
- LIG UplinkSet
|
|
10
|
+
|
|
11
|
+
#### Bug fixes & Enhancements
|
|
12
|
+
- [#432](https://github.com/HewlettPackard/oneview-sdk-ruby/issues/432)Snapshot deletion will fail with mis match etags error
|
|
13
|
+
|
|
1
14
|
## v5.12.0
|
|
2
15
|
|
|
3
16
|
#### 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: |
|
|
32
32
|
|<sub>/rest/alerts/AlertChangeLog/{id}</sub> |DELETE | :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: | :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: |
|
|
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: |
|
|
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: |
|
|
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: |
|
|
40
40
|
|<sub>/rest/datacenters</sub> | POST | :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: |
|
|
111
111
|
| **Firmware Drivers** |
|
|
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: |
|
|
113
|
-
|<sub>/rest/firmware-drivers</sub> | POST | :white_check_mark: | :white_check_mark: | :
|
|
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: |
|
|
115
|
-
|<sub>/rest/firmware-drivers/{id}</sub> | DELETE | :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: | :white_check_mark: | :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: | :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: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|
|
116
116
|
| **Hypervisor Managers** |
|
|
117
117
|
|<sub>/rest/hypervisor-managers</sub> | GET | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|
|
118
118
|
|<sub>/rest/hypervisor-managers</sub> | POST | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|
|
@@ -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 '../../api1200/c7000/connection_template'
|
|
13
|
+
|
|
14
|
+
module OneviewSDK
|
|
15
|
+
module API1600
|
|
16
|
+
module C7000
|
|
17
|
+
# Connection template resource implementation for API1600 C7000
|
|
18
|
+
class ConnectionTemplate < OneviewSDK::API1200::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 '../../api1200/c7000/firmware_driver'
|
|
13
|
+
|
|
14
|
+
module OneviewSDK
|
|
15
|
+
module API1600
|
|
16
|
+
module C7000
|
|
17
|
+
# FirmwareDriver resource implementation for API1600 C7000
|
|
18
|
+
class FirmwareDriver < OneviewSDK::API1200::C7000::FirmwareDriver
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
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 '../../api1200/c7000/lig_uplink_set'
|
|
13
|
+
|
|
14
|
+
module OneviewSDK
|
|
15
|
+
module API1600
|
|
16
|
+
module C7000
|
|
17
|
+
class LIGUplinkSet < OneviewSDK::API1200::C7000::LIGUplinkSet
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
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 '../../api1200/synergy/connection_template'
|
|
13
|
+
|
|
14
|
+
module OneviewSDK
|
|
15
|
+
module API1600
|
|
16
|
+
module Synergy
|
|
17
|
+
# Connection template resource implementation for API1600 Synergy
|
|
18
|
+
class ConnectionTemplate < OneviewSDK::API1200::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 '../../api1200/synergy/firmware_driver'
|
|
13
|
+
|
|
14
|
+
module OneviewSDK
|
|
15
|
+
module API1600
|
|
16
|
+
module Synergy
|
|
17
|
+
# FirmwareDriver resource implementation for API1600 Synergy
|
|
18
|
+
class FirmwareDriver < OneviewSDK::API1200::Synergy::FirmwareDriver
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
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 '../../api1200/synergy/lig_uplink_set'
|
|
13
|
+
|
|
14
|
+
module OneviewSDK
|
|
15
|
+
module API1600
|
|
16
|
+
module Synergy
|
|
17
|
+
class LIGUplinkSet < OneviewSDK::API1200::Synergy::LIGUplinkSet
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# (C) Copyright
|
|
1
|
+
# (C) Copyright 2020 Hewlett Packard Enterprise Development LP
|
|
2
2
|
#
|
|
3
3
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
# You may not use this file except in compliance with the License.
|
|
@@ -123,7 +123,7 @@ module OneviewSDK
|
|
|
123
123
|
# @return [true] if snapshot was created successfully
|
|
124
124
|
def delete_snapshot(name)
|
|
125
125
|
result = get_snapshot(name)
|
|
126
|
-
response = @client.rest_delete(result['uri'], { 'If-Match' =>
|
|
126
|
+
response = @client.rest_delete(result['uri'], { 'If-Match' => result['eTag'] }, @api_version)
|
|
127
127
|
@client.response_handler(response)
|
|
128
128
|
true
|
|
129
129
|
end
|
data/lib/oneview-sdk/version.rb
CHANGED
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.
|
|
4
|
+
version: 5.13.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: 2020-05
|
|
14
|
+
date: 2020-06-05 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: thor
|
|
@@ -401,14 +401,17 @@ files:
|
|
|
401
401
|
- lib/oneview-sdk/resource/api1200/synergy/volume_template.rb
|
|
402
402
|
- lib/oneview-sdk/resource/api1600.rb
|
|
403
403
|
- lib/oneview-sdk/resource/api1600/c7000.rb
|
|
404
|
+
- lib/oneview-sdk/resource/api1600/c7000/connection_template.rb
|
|
404
405
|
- lib/oneview-sdk/resource/api1600/c7000/enclosure.rb
|
|
405
406
|
- lib/oneview-sdk/resource/api1600/c7000/enclosure_group.rb
|
|
406
407
|
- lib/oneview-sdk/resource/api1600/c7000/ethernet_network.rb
|
|
407
408
|
- lib/oneview-sdk/resource/api1600/c7000/fc_network.rb
|
|
408
409
|
- lib/oneview-sdk/resource/api1600/c7000/fcoe_network.rb
|
|
410
|
+
- lib/oneview-sdk/resource/api1600/c7000/firmware_driver.rb
|
|
409
411
|
- lib/oneview-sdk/resource/api1600/c7000/hypervisor_cluster_profile.rb
|
|
410
412
|
- lib/oneview-sdk/resource/api1600/c7000/hypervisor_manager.rb
|
|
411
413
|
- lib/oneview-sdk/resource/api1600/c7000/interconnect.rb
|
|
414
|
+
- lib/oneview-sdk/resource/api1600/c7000/lig_uplink_set.rb
|
|
412
415
|
- lib/oneview-sdk/resource/api1600/c7000/logical_enclosure.rb
|
|
413
416
|
- lib/oneview-sdk/resource/api1600/c7000/logical_interconnect.rb
|
|
414
417
|
- lib/oneview-sdk/resource/api1600/c7000/logical_interconnect_group.rb
|
|
@@ -426,14 +429,17 @@ files:
|
|
|
426
429
|
- lib/oneview-sdk/resource/api1600/c7000/volume_attachment.rb
|
|
427
430
|
- lib/oneview-sdk/resource/api1600/c7000/volume_template.rb
|
|
428
431
|
- lib/oneview-sdk/resource/api1600/synergy.rb
|
|
432
|
+
- lib/oneview-sdk/resource/api1600/synergy/connection_template.rb
|
|
429
433
|
- lib/oneview-sdk/resource/api1600/synergy/enclosure.rb
|
|
430
434
|
- lib/oneview-sdk/resource/api1600/synergy/enclosure_group.rb
|
|
431
435
|
- lib/oneview-sdk/resource/api1600/synergy/ethernet_network.rb
|
|
432
436
|
- lib/oneview-sdk/resource/api1600/synergy/fc_network.rb
|
|
433
437
|
- lib/oneview-sdk/resource/api1600/synergy/fcoe_network.rb
|
|
438
|
+
- lib/oneview-sdk/resource/api1600/synergy/firmware_driver.rb
|
|
434
439
|
- lib/oneview-sdk/resource/api1600/synergy/hypervisor_cluster_profile.rb
|
|
435
440
|
- lib/oneview-sdk/resource/api1600/synergy/hypervisor_manager.rb
|
|
436
441
|
- lib/oneview-sdk/resource/api1600/synergy/interconnect.rb
|
|
442
|
+
- lib/oneview-sdk/resource/api1600/synergy/lig_uplink_set.rb
|
|
437
443
|
- lib/oneview-sdk/resource/api1600/synergy/logical_enclosure.rb
|
|
438
444
|
- lib/oneview-sdk/resource/api1600/synergy/logical_interconnect.rb
|
|
439
445
|
- lib/oneview-sdk/resource/api1600/synergy/logical_interconnect_group.rb
|