oneview-sdk 5.13.0 → 5.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +167 -0
- data/README.md +140 -100
- data/endpoints-support.md +304 -296
- data/lib/oneview-sdk.rb +1 -1
- data/lib/oneview-sdk/client.rb +2 -2
- data/lib/oneview-sdk/image-streamer/resource/api2000.rb +39 -0
- data/lib/oneview-sdk/image-streamer/resource/api2000/artifact_bundle.rb +22 -0
- data/lib/oneview-sdk/image-streamer/resource/api2000/build_plan.rb +22 -0
- data/lib/oneview-sdk/image-streamer/resource/api2000/deployment_group.rb +22 -0
- data/lib/oneview-sdk/image-streamer/resource/api2000/deployment_plan.rb +22 -0
- data/lib/oneview-sdk/image-streamer/resource/api2000/golden_image.rb +22 -0
- data/lib/oneview-sdk/image-streamer/resource/api2000/os_volume.rb +22 -0
- data/lib/oneview-sdk/image-streamer/resource/api2000/plan_script.rb +22 -0
- data/lib/oneview-sdk/image_streamer.rb +1 -1
- data/lib/oneview-sdk/resource.rb +1 -1
- data/lib/oneview-sdk/resource/api1600/synergy/scope.rb +2 -2
- data/lib/oneview-sdk/resource/api1800.rb +66 -0
- data/lib/oneview-sdk/resource/api1800/c7000.rb +27 -0
- data/lib/oneview-sdk/resource/api1800/c7000/connection_template.rb +22 -0
- data/lib/oneview-sdk/resource/api1800/c7000/enclosure.rb +22 -0
- data/lib/oneview-sdk/resource/api1800/c7000/enclosure_group.rb +22 -0
- data/lib/oneview-sdk/resource/api1800/c7000/ethernet_network.rb +28 -0
- data/lib/oneview-sdk/resource/api1800/c7000/fc_network.rb +28 -0
- data/lib/oneview-sdk/resource/api1800/c7000/fcoe_network.rb +28 -0
- data/lib/oneview-sdk/resource/api1800/c7000/firmware_driver.rb +22 -0
- data/lib/oneview-sdk/resource/api1800/c7000/hypervisor_cluster_profile.rb +22 -0
- data/lib/oneview-sdk/resource/api1800/c7000/hypervisor_manager.rb +22 -0
- data/lib/oneview-sdk/resource/api1800/c7000/interconnect.rb +26 -0
- data/lib/oneview-sdk/resource/api1800/c7000/lig_uplink_set.rb +21 -0
- data/lib/oneview-sdk/resource/api1800/c7000/logical_enclosure.rb +22 -0
- data/lib/oneview-sdk/resource/api1800/c7000/logical_interconnect.rb +42 -0
- data/lib/oneview-sdk/resource/api1800/c7000/logical_interconnect_group.rb +25 -0
- data/lib/oneview-sdk/resource/api1800/c7000/network_set.rb +22 -0
- data/lib/oneview-sdk/resource/api1800/c7000/scope.rb +22 -0
- data/lib/oneview-sdk/resource/api1800/c7000/server_certificate.rb +22 -0
- data/lib/oneview-sdk/resource/api1800/c7000/server_hardware.rb +51 -0
- data/lib/oneview-sdk/resource/api1800/c7000/server_hardware_type.rb +25 -0
- data/lib/oneview-sdk/resource/api1800/c7000/server_profile.rb +22 -0
- data/lib/oneview-sdk/resource/api1800/c7000/server_profile_template.rb +22 -0
- data/lib/oneview-sdk/resource/api1800/c7000/storage_pool.rb +22 -0
- data/lib/oneview-sdk/resource/api1800/c7000/storage_system.rb +22 -0
- data/lib/oneview-sdk/resource/api1800/c7000/uplink_set.rb +22 -0
- data/lib/oneview-sdk/resource/api1800/c7000/volume.rb +22 -0
- data/lib/oneview-sdk/resource/api1800/c7000/volume_attachment.rb +22 -0
- data/lib/oneview-sdk/resource/api1800/c7000/volume_template.rb +22 -0
- data/lib/oneview-sdk/resource/api1800/synergy.rb +27 -0
- data/lib/oneview-sdk/resource/api1800/synergy/connection_template.rb +22 -0
- data/lib/oneview-sdk/resource/api1800/synergy/enclosure.rb +22 -0
- data/lib/oneview-sdk/resource/api1800/synergy/enclosure_group.rb +22 -0
- data/lib/oneview-sdk/resource/api1800/synergy/ethernet_network.rb +22 -0
- data/lib/oneview-sdk/resource/api1800/synergy/fc_network.rb +22 -0
- data/lib/oneview-sdk/resource/api1800/synergy/fcoe_network.rb +22 -0
- data/lib/oneview-sdk/resource/api1800/synergy/firmware_driver.rb +22 -0
- data/lib/oneview-sdk/resource/api1800/synergy/hypervisor_cluster_profile.rb +22 -0
- data/lib/oneview-sdk/resource/api1800/synergy/hypervisor_manager.rb +22 -0
- data/lib/oneview-sdk/resource/api1800/synergy/interconnect.rb +25 -0
- data/lib/oneview-sdk/resource/api1800/synergy/lig_uplink_set.rb +21 -0
- data/lib/oneview-sdk/resource/api1800/synergy/logical_enclosure.rb +22 -0
- data/lib/oneview-sdk/resource/api1800/synergy/logical_interconnect.rb +22 -0
- data/lib/oneview-sdk/resource/api1800/synergy/logical_interconnect_group.rb +25 -0
- data/lib/oneview-sdk/resource/api1800/synergy/network_set.rb +22 -0
- data/lib/oneview-sdk/resource/api1800/synergy/os_deployment_plan.rb +22 -0
- data/lib/oneview-sdk/resource/api1800/synergy/scope.rb +22 -0
- data/lib/oneview-sdk/resource/api1800/synergy/server_certificate.rb +22 -0
- data/lib/oneview-sdk/resource/api1800/synergy/server_hardware.rb +22 -0
- data/lib/oneview-sdk/resource/api1800/synergy/server_hardware_type.rb +22 -0
- data/lib/oneview-sdk/resource/api1800/synergy/server_profile.rb +25 -0
- data/lib/oneview-sdk/resource/api1800/synergy/server_profile_template.rb +22 -0
- data/lib/oneview-sdk/resource/api1800/synergy/storage_pool.rb +22 -0
- data/lib/oneview-sdk/resource/api1800/synergy/storage_system.rb +22 -0
- data/lib/oneview-sdk/resource/api1800/synergy/uplink_set.rb +22 -0
- data/lib/oneview-sdk/resource/api1800/synergy/volume.rb +22 -0
- data/lib/oneview-sdk/resource/api1800/synergy/volume_attachment.rb +22 -0
- data/lib/oneview-sdk/resource/api1800/synergy/volume_template.rb +22 -0
- data/lib/oneview-sdk/resource/api2000.rb +66 -0
- data/lib/oneview-sdk/resource/api2000/c7000.rb +27 -0
- data/lib/oneview-sdk/resource/api2000/c7000/connection_template.rb +22 -0
- data/lib/oneview-sdk/resource/api2000/c7000/enclosure.rb +22 -0
- data/lib/oneview-sdk/resource/api2000/c7000/enclosure_group.rb +22 -0
- data/lib/oneview-sdk/resource/api2000/c7000/ethernet_network.rb +22 -0
- data/lib/oneview-sdk/resource/api2000/c7000/fc_network.rb +22 -0
- data/lib/oneview-sdk/resource/api2000/c7000/fcoe_network.rb +22 -0
- data/lib/oneview-sdk/resource/api2000/c7000/firmware_driver.rb +22 -0
- data/lib/oneview-sdk/resource/api2000/c7000/hypervisor_cluster_profile.rb +22 -0
- data/lib/oneview-sdk/resource/api2000/c7000/hypervisor_manager.rb +22 -0
- data/lib/oneview-sdk/resource/api2000/c7000/interconnect.rb +26 -0
- data/lib/oneview-sdk/resource/api2000/c7000/lig_uplink_set.rb +21 -0
- data/lib/oneview-sdk/resource/api2000/c7000/logical_enclosure.rb +22 -0
- data/lib/oneview-sdk/resource/api2000/c7000/logical_interconnect.rb +33 -0
- data/lib/oneview-sdk/resource/api2000/c7000/logical_interconnect_group.rb +25 -0
- data/lib/oneview-sdk/resource/api2000/c7000/network_set.rb +22 -0
- data/lib/oneview-sdk/resource/api2000/c7000/scope.rb +22 -0
- data/lib/oneview-sdk/resource/api2000/c7000/server_certificate.rb +22 -0
- data/lib/oneview-sdk/resource/api2000/c7000/server_hardware.rb +22 -0
- data/lib/oneview-sdk/resource/api2000/c7000/server_hardware_type.rb +25 -0
- data/lib/oneview-sdk/resource/api2000/c7000/server_profile.rb +22 -0
- data/lib/oneview-sdk/resource/api2000/c7000/server_profile_template.rb +22 -0
- data/lib/oneview-sdk/resource/api2000/c7000/storage_pool.rb +22 -0
- data/lib/oneview-sdk/resource/api2000/c7000/storage_system.rb +22 -0
- data/lib/oneview-sdk/resource/api2000/c7000/uplink_set.rb +22 -0
- data/lib/oneview-sdk/resource/api2000/c7000/volume.rb +22 -0
- data/lib/oneview-sdk/resource/api2000/c7000/volume_attachment.rb +22 -0
- data/lib/oneview-sdk/resource/api2000/c7000/volume_template.rb +22 -0
- data/lib/oneview-sdk/resource/api2000/synergy.rb +27 -0
- data/lib/oneview-sdk/resource/api2000/synergy/connection_template.rb +22 -0
- data/lib/oneview-sdk/resource/api2000/synergy/enclosure.rb +22 -0
- data/lib/oneview-sdk/resource/api2000/synergy/enclosure_group.rb +22 -0
- data/lib/oneview-sdk/resource/api2000/synergy/ethernet_network.rb +22 -0
- data/lib/oneview-sdk/resource/api2000/synergy/fc_network.rb +22 -0
- data/lib/oneview-sdk/resource/api2000/synergy/fcoe_network.rb +22 -0
- data/lib/oneview-sdk/resource/api2000/synergy/firmware_driver.rb +22 -0
- data/lib/oneview-sdk/resource/api2000/synergy/hypervisor_cluster_profile.rb +22 -0
- data/lib/oneview-sdk/resource/api2000/synergy/hypervisor_manager.rb +22 -0
- data/lib/oneview-sdk/resource/api2000/synergy/interconnect.rb +25 -0
- data/lib/oneview-sdk/resource/api2000/synergy/lig_uplink_set.rb +21 -0
- data/lib/oneview-sdk/resource/api2000/synergy/logical_enclosure.rb +22 -0
- data/lib/oneview-sdk/resource/api2000/synergy/logical_interconnect.rb +22 -0
- data/lib/oneview-sdk/resource/api2000/synergy/logical_interconnect_group.rb +25 -0
- data/lib/oneview-sdk/resource/api2000/synergy/network_set.rb +22 -0
- data/lib/oneview-sdk/resource/api2000/synergy/os_deployment_plan.rb +22 -0
- data/lib/oneview-sdk/resource/api2000/synergy/scope.rb +22 -0
- data/lib/oneview-sdk/resource/api2000/synergy/server_certificate.rb +22 -0
- data/lib/oneview-sdk/resource/api2000/synergy/server_hardware.rb +22 -0
- data/lib/oneview-sdk/resource/api2000/synergy/server_hardware_type.rb +22 -0
- data/lib/oneview-sdk/resource/api2000/synergy/server_profile.rb +25 -0
- data/lib/oneview-sdk/resource/api2000/synergy/server_profile_template.rb +22 -0
- data/lib/oneview-sdk/resource/api2000/synergy/storage_pool.rb +22 -0
- data/lib/oneview-sdk/resource/api2000/synergy/storage_system.rb +22 -0
- data/lib/oneview-sdk/resource/api2000/synergy/uplink_set.rb +22 -0
- data/lib/oneview-sdk/resource/api2000/synergy/volume.rb +22 -0
- data/lib/oneview-sdk/resource/api2000/synergy/volume_attachment.rb +22 -0
- data/lib/oneview-sdk/resource/api2000/synergy/volume_template.rb +22 -0
- data/lib/oneview-sdk/resource/api2200.rb +66 -0
- data/lib/oneview-sdk/resource/api2200/c7000.rb +27 -0
- data/lib/oneview-sdk/resource/api2200/c7000/connection_template.rb +22 -0
- data/lib/oneview-sdk/resource/api2200/c7000/enclosure.rb +22 -0
- data/lib/oneview-sdk/resource/api2200/c7000/enclosure_group.rb +22 -0
- data/lib/oneview-sdk/resource/api2200/c7000/ethernet_network.rb +22 -0
- data/lib/oneview-sdk/resource/api2200/c7000/fc_network.rb +22 -0
- data/lib/oneview-sdk/resource/api2200/c7000/fcoe_network.rb +22 -0
- data/lib/oneview-sdk/resource/api2200/c7000/firmware_driver.rb +22 -0
- data/lib/oneview-sdk/resource/api2200/c7000/hypervisor_cluster_profile.rb +27 -0
- data/lib/oneview-sdk/resource/api2200/c7000/hypervisor_manager.rb +22 -0
- data/lib/oneview-sdk/resource/api2200/c7000/interconnect.rb +23 -0
- data/lib/oneview-sdk/resource/api2200/c7000/lig_uplink_set.rb +21 -0
- data/lib/oneview-sdk/resource/api2200/c7000/logical_enclosure.rb +22 -0
- data/lib/oneview-sdk/resource/api2200/c7000/logical_interconnect.rb +22 -0
- data/lib/oneview-sdk/resource/api2200/c7000/logical_interconnect_group.rb +22 -0
- data/lib/oneview-sdk/resource/api2200/c7000/network_set.rb +22 -0
- data/lib/oneview-sdk/resource/api2200/c7000/scope.rb +22 -0
- data/lib/oneview-sdk/resource/api2200/c7000/server_certificate.rb +22 -0
- data/lib/oneview-sdk/resource/api2200/c7000/server_hardware.rb +22 -0
- data/lib/oneview-sdk/resource/api2200/c7000/server_hardware_type.rb +22 -0
- data/lib/oneview-sdk/resource/api2200/c7000/server_profile.rb +22 -0
- data/lib/oneview-sdk/resource/api2200/c7000/server_profile_template.rb +22 -0
- data/lib/oneview-sdk/resource/api2200/c7000/storage_pool.rb +22 -0
- data/lib/oneview-sdk/resource/api2200/c7000/storage_system.rb +22 -0
- data/lib/oneview-sdk/resource/api2200/c7000/uplink_set.rb +22 -0
- data/lib/oneview-sdk/resource/api2200/c7000/volume.rb +22 -0
- data/lib/oneview-sdk/resource/api2200/c7000/volume_attachment.rb +22 -0
- data/lib/oneview-sdk/resource/api2200/c7000/volume_template.rb +22 -0
- data/lib/oneview-sdk/resource/api2200/synergy.rb +27 -0
- data/lib/oneview-sdk/resource/api2200/synergy/connection_template.rb +22 -0
- data/lib/oneview-sdk/resource/api2200/synergy/enclosure.rb +22 -0
- data/lib/oneview-sdk/resource/api2200/synergy/enclosure_group.rb +22 -0
- data/lib/oneview-sdk/resource/api2200/synergy/ethernet_network.rb +22 -0
- data/lib/oneview-sdk/resource/api2200/synergy/fc_network.rb +22 -0
- data/lib/oneview-sdk/resource/api2200/synergy/fcoe_network.rb +22 -0
- data/lib/oneview-sdk/resource/api2200/synergy/firmware_driver.rb +22 -0
- data/lib/oneview-sdk/resource/api2200/synergy/hypervisor_cluster_profile.rb +22 -0
- data/lib/oneview-sdk/resource/api2200/synergy/hypervisor_manager.rb +22 -0
- data/lib/oneview-sdk/resource/api2200/synergy/interconnect.rb +22 -0
- data/lib/oneview-sdk/resource/api2200/synergy/lig_uplink_set.rb +21 -0
- data/lib/oneview-sdk/resource/api2200/synergy/logical_enclosure.rb +22 -0
- data/lib/oneview-sdk/resource/api2200/synergy/logical_interconnect.rb +22 -0
- data/lib/oneview-sdk/resource/api2200/synergy/logical_interconnect_group.rb +22 -0
- data/lib/oneview-sdk/resource/api2200/synergy/network_set.rb +22 -0
- data/lib/oneview-sdk/resource/api2200/synergy/os_deployment_plan.rb +22 -0
- data/lib/oneview-sdk/resource/api2200/synergy/scope.rb +22 -0
- data/lib/oneview-sdk/resource/api2200/synergy/server_certificate.rb +22 -0
- data/lib/oneview-sdk/resource/api2200/synergy/server_hardware.rb +22 -0
- data/lib/oneview-sdk/resource/api2200/synergy/server_hardware_type.rb +22 -0
- data/lib/oneview-sdk/resource/api2200/synergy/server_profile.rb +25 -0
- data/lib/oneview-sdk/resource/api2200/synergy/server_profile_template.rb +22 -0
- data/lib/oneview-sdk/resource/api2200/synergy/storage_pool.rb +22 -0
- data/lib/oneview-sdk/resource/api2200/synergy/storage_system.rb +22 -0
- data/lib/oneview-sdk/resource/api2200/synergy/uplink_set.rb +22 -0
- data/lib/oneview-sdk/resource/api2200/synergy/volume.rb +22 -0
- data/lib/oneview-sdk/resource/api2200/synergy/volume_attachment.rb +22 -0
- data/lib/oneview-sdk/resource/api2200/synergy/volume_template.rb +22 -0
- data/lib/oneview-sdk/resource/api2400.rb +66 -0
- data/lib/oneview-sdk/resource/api2400/c7000.rb +27 -0
- data/lib/oneview-sdk/resource/api2400/c7000/connection_template.rb +22 -0
- data/lib/oneview-sdk/resource/api2400/c7000/enclosure.rb +22 -0
- data/lib/oneview-sdk/resource/api2400/c7000/enclosure_group.rb +22 -0
- data/lib/oneview-sdk/resource/api2400/c7000/ethernet_network.rb +22 -0
- data/lib/oneview-sdk/resource/api2400/c7000/fc_network.rb +22 -0
- data/lib/oneview-sdk/resource/api2400/c7000/fcoe_network.rb +22 -0
- data/lib/oneview-sdk/resource/api2400/c7000/firmware_driver.rb +22 -0
- data/lib/oneview-sdk/resource/api2400/c7000/hypervisor_cluster_profile.rb +22 -0
- data/lib/oneview-sdk/resource/api2400/c7000/hypervisor_manager.rb +22 -0
- data/lib/oneview-sdk/resource/api2400/c7000/interconnect.rb +22 -0
- data/lib/oneview-sdk/resource/api2400/c7000/lig_uplink_set.rb +21 -0
- data/lib/oneview-sdk/resource/api2400/c7000/logical_enclosure.rb +22 -0
- data/lib/oneview-sdk/resource/api2400/c7000/logical_interconnect.rb +33 -0
- data/lib/oneview-sdk/resource/api2400/c7000/logical_interconnect_group.rb +22 -0
- data/lib/oneview-sdk/resource/api2400/c7000/network_set.rb +22 -0
- data/lib/oneview-sdk/resource/api2400/c7000/scope.rb +22 -0
- data/lib/oneview-sdk/resource/api2400/c7000/server_certificate.rb +22 -0
- data/lib/oneview-sdk/resource/api2400/c7000/server_hardware.rb +22 -0
- data/lib/oneview-sdk/resource/api2400/c7000/server_hardware_type.rb +22 -0
- data/lib/oneview-sdk/resource/api2400/c7000/server_profile.rb +22 -0
- data/lib/oneview-sdk/resource/api2400/c7000/server_profile_template.rb +22 -0
- data/lib/oneview-sdk/resource/api2400/c7000/storage_pool.rb +22 -0
- data/lib/oneview-sdk/resource/api2400/c7000/storage_system.rb +22 -0
- data/lib/oneview-sdk/resource/api2400/c7000/uplink_set.rb +22 -0
- data/lib/oneview-sdk/resource/api2400/c7000/volume.rb +22 -0
- data/lib/oneview-sdk/resource/api2400/c7000/volume_attachment.rb +22 -0
- data/lib/oneview-sdk/resource/api2400/c7000/volume_template.rb +22 -0
- data/lib/oneview-sdk/resource/api2400/synergy.rb +27 -0
- data/lib/oneview-sdk/resource/api2400/synergy/connection_template.rb +22 -0
- data/lib/oneview-sdk/resource/api2400/synergy/enclosure.rb +22 -0
- data/lib/oneview-sdk/resource/api2400/synergy/enclosure_group.rb +22 -0
- data/lib/oneview-sdk/resource/api2400/synergy/ethernet_network.rb +22 -0
- data/lib/oneview-sdk/resource/api2400/synergy/fc_network.rb +22 -0
- data/lib/oneview-sdk/resource/api2400/synergy/fcoe_network.rb +22 -0
- data/lib/oneview-sdk/resource/api2400/synergy/firmware_driver.rb +22 -0
- data/lib/oneview-sdk/resource/api2400/synergy/hypervisor_cluster_profile.rb +22 -0
- data/lib/oneview-sdk/resource/api2400/synergy/hypervisor_manager.rb +22 -0
- data/lib/oneview-sdk/resource/api2400/synergy/interconnect.rb +22 -0
- data/lib/oneview-sdk/resource/api2400/synergy/lig_uplink_set.rb +21 -0
- data/lib/oneview-sdk/resource/api2400/synergy/logical_enclosure.rb +22 -0
- data/lib/oneview-sdk/resource/api2400/synergy/logical_interconnect.rb +22 -0
- data/lib/oneview-sdk/resource/api2400/synergy/logical_interconnect_group.rb +22 -0
- data/lib/oneview-sdk/resource/api2400/synergy/network_set.rb +22 -0
- data/lib/oneview-sdk/resource/api2400/synergy/os_deployment_plan.rb +22 -0
- data/lib/oneview-sdk/resource/api2400/synergy/scope.rb +22 -0
- data/lib/oneview-sdk/resource/api2400/synergy/server_certificate.rb +22 -0
- data/lib/oneview-sdk/resource/api2400/synergy/server_hardware.rb +22 -0
- data/lib/oneview-sdk/resource/api2400/synergy/server_hardware_type.rb +22 -0
- data/lib/oneview-sdk/resource/api2400/synergy/server_profile.rb +23 -0
- data/lib/oneview-sdk/resource/api2400/synergy/server_profile_template.rb +22 -0
- data/lib/oneview-sdk/resource/api2400/synergy/storage_pool.rb +22 -0
- data/lib/oneview-sdk/resource/api2400/synergy/storage_system.rb +22 -0
- data/lib/oneview-sdk/resource/api2400/synergy/uplink_set.rb +22 -0
- data/lib/oneview-sdk/resource/api2400/synergy/volume.rb +22 -0
- data/lib/oneview-sdk/resource/api2400/synergy/volume_attachment.rb +22 -0
- data/lib/oneview-sdk/resource/api2400/synergy/volume_template.rb +22 -0
- data/lib/oneview-sdk/version.rb +2 -2
- data/oneview-sdk.gemspec +1 -1
- metadata +244 -5
@@ -0,0 +1,27 @@
|
|
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
|
+
module OneviewSDK
|
13
|
+
module API2000
|
14
|
+
# Module for API2000 C7000
|
15
|
+
module C7000
|
16
|
+
# Get resource class that matches the type given
|
17
|
+
# @param [String] type Name of the desired class type
|
18
|
+
# @return [Class] Resource class or nil if not found
|
19
|
+
def self.resource_named(type)
|
20
|
+
OneviewSDK::API2000.resource_named(type, 'C7000')
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
# Load all API-specific resources:
|
27
|
+
Dir[File.dirname(__FILE__) + '/c7000/*.rb'].each { |file| require file }
|
@@ -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 '../../api1800/c7000/connection_template'
|
13
|
+
|
14
|
+
module OneviewSDK
|
15
|
+
module API2000
|
16
|
+
module C7000
|
17
|
+
# Connection template resource implementation for API2000 C7000
|
18
|
+
class ConnectionTemplate < OneviewSDK::API1800::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 '../../api1800/c7000/enclosure'
|
13
|
+
|
14
|
+
module OneviewSDK
|
15
|
+
module API2000
|
16
|
+
module C7000
|
17
|
+
# Enclosure resource implementation for API2000 C7000
|
18
|
+
class Enclosure < OneviewSDK::API1800::C7000::Enclosure
|
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 '../../api1800/c7000/enclosure_group'
|
13
|
+
|
14
|
+
module OneviewSDK
|
15
|
+
module API2000
|
16
|
+
module C7000
|
17
|
+
# Enclosure group resource implementation on API2000 C7000
|
18
|
+
class EnclosureGroup < OneviewSDK::API1800::C7000::EnclosureGroup
|
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 '../../api1800/c7000/ethernet_network'
|
13
|
+
|
14
|
+
module OneviewSDK
|
15
|
+
module API2000
|
16
|
+
module C7000
|
17
|
+
# Ethernet network resource implementation for API2000 C7000
|
18
|
+
class EthernetNetwork < OneviewSDK::API1800::C7000::EthernetNetwork
|
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 '../../api1800/c7000/fc_network'
|
13
|
+
|
14
|
+
module OneviewSDK
|
15
|
+
module API2000
|
16
|
+
module C7000
|
17
|
+
# FC network resource implementation for API2000 C7000
|
18
|
+
class FCNetwork < OneviewSDK::API1800::C7000::FCNetwork
|
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 '../../api1800/c7000/fcoe_network'
|
13
|
+
|
14
|
+
module OneviewSDK
|
15
|
+
module API2000
|
16
|
+
module C7000
|
17
|
+
# FCoE network resource implementation for API2000 C7000
|
18
|
+
class FCoENetwork < OneviewSDK::API1800::C7000::FCoENetwork
|
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 '../../api1800/c7000/firmware_driver'
|
13
|
+
|
14
|
+
module OneviewSDK
|
15
|
+
module API2000
|
16
|
+
module C7000
|
17
|
+
# FirmwareDriver resource implementation for API2000 C7000
|
18
|
+
class FirmwareDriver < OneviewSDK::API1800::C7000::FirmwareDriver
|
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 '../../api1800/c7000/hypervisor_cluster_profile'
|
13
|
+
|
14
|
+
module OneviewSDK
|
15
|
+
module API2000
|
16
|
+
module C7000
|
17
|
+
# Hypervisor cluster profile resource implementation for API2000 C7000
|
18
|
+
class HypervisorClusterProfile < OneviewSDK::API1800::C7000::HypervisorClusterProfile
|
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 '../../api1800/c7000/hypervisor_manager'
|
13
|
+
|
14
|
+
module OneviewSDK
|
15
|
+
module API2000
|
16
|
+
module C7000
|
17
|
+
# Hypervisor Manager resource implementation for API2000 C7000
|
18
|
+
class HypervisorManager < OneviewSDK::API1800::C7000::HypervisorManager
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,26 @@
|
|
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 '../../api1800/c7000/interconnect'
|
13
|
+
|
14
|
+
module OneviewSDK
|
15
|
+
module API2000
|
16
|
+
module C7000
|
17
|
+
# Interconnect resource implementation on API2000 C7000
|
18
|
+
class Interconnect < OneviewSDK::API1800::C7000::Interconnect
|
19
|
+
include OneviewSDK::ResourceHelper::ConfigurationOperation
|
20
|
+
def self.api_version
|
21
|
+
2000
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
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 '../../api1800/c7000/lig_uplink_set'
|
13
|
+
|
14
|
+
module OneviewSDK
|
15
|
+
module API2000
|
16
|
+
module C7000
|
17
|
+
class LIGUplinkSet < OneviewSDK::API1800::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 '../../api1800/c7000/logical_enclosure'
|
13
|
+
|
14
|
+
module OneviewSDK
|
15
|
+
module API2000
|
16
|
+
module C7000
|
17
|
+
# Logical Enclosure resource implementation on API2000 C7000
|
18
|
+
class LogicalEnclosure < OneviewSDK::API1800::C7000::LogicalEnclosure
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,33 @@
|
|
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 '../../api1800/c7000/logical_interconnect'
|
13
|
+
|
14
|
+
module OneviewSDK
|
15
|
+
module API2000
|
16
|
+
module C7000
|
17
|
+
# Logical interconnect resource implementation for API2000 C7000
|
18
|
+
class LogicalInterconnect < OneviewSDK::API1800::C7000::LogicalInterconnect
|
19
|
+
# Validates the bulk update from group operation and gets the consolidated inconsistency report
|
20
|
+
def bulk_inconsistency_validate
|
21
|
+
raise IncompleteResource, 'Please retrieve the Logical Interconnect before trying to validate' unless @data['uri']
|
22
|
+
options = {
|
23
|
+
'logicalInterconnectUris' => @data['logicalInterconnectUris']
|
24
|
+
}
|
25
|
+
response = @client.rest_post("#{BASE_URI}/bulk-inconsistency-validation", { 'body' => options }, @api_version)
|
26
|
+
body = @client.response_handler(response)
|
27
|
+
set_all(body)
|
28
|
+
end
|
29
|
+
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,25 @@
|
|
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 '../../api1800/c7000/logical_interconnect_group'
|
13
|
+
|
14
|
+
module OneviewSDK
|
15
|
+
module API2000
|
16
|
+
module C7000
|
17
|
+
# Logical interconnect group resource implementation on API2000 C7000
|
18
|
+
class LogicalInterconnectGroup < OneviewSDK::API1800::C7000::LogicalInterconnectGroup
|
19
|
+
def self.api_version
|
20
|
+
2000
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
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 '../../api1800/c7000/network_set'
|
13
|
+
|
14
|
+
module OneviewSDK
|
15
|
+
module API2000
|
16
|
+
module C7000
|
17
|
+
# Network set resource implementation for API2000 C7000
|
18
|
+
class NetworkSet < OneviewSDK::API1800::C7000::NetworkSet
|
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 '../../api1800/c7000/scope'
|
13
|
+
|
14
|
+
module OneviewSDK
|
15
|
+
module API2000
|
16
|
+
module C7000
|
17
|
+
# Scope resource implementation for API2000 C7000
|
18
|
+
class Scope < OneviewSDK::API1800::C7000::Scope
|
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 '../../api1800/c7000/server_certificate'
|
13
|
+
|
14
|
+
module OneviewSDK
|
15
|
+
module API2000
|
16
|
+
module C7000
|
17
|
+
# Server certificate resource implementation for API2000 C7000
|
18
|
+
class ServerCertificate < OneviewSDK::API1800::C7000::ServerCertificate
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|