test-oneview 5.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +758 -0
- data/Dockerfile +21 -0
- data/Gemfile +14 -0
- data/Guardfile +26 -0
- data/LICENSE +201 -0
- data/README.md +516 -0
- data/Rakefile +126 -0
- data/TESTING.md +61 -0
- data/bin/oneview-sdk-ruby +4 -0
- data/endpoints-support.md +552 -0
- data/lib/oneview-sdk.rb +65 -0
- data/lib/oneview-sdk/cli.rb +639 -0
- data/lib/oneview-sdk/client.rb +220 -0
- data/lib/oneview-sdk/config_loader.rb +31 -0
- data/lib/oneview-sdk/exceptions.rb +91 -0
- data/lib/oneview-sdk/image-streamer/client.rb +99 -0
- data/lib/oneview-sdk/image-streamer/resource/api1000.rb +39 -0
- data/lib/oneview-sdk/image-streamer/resource/api1000/artifact_bundle.rb +22 -0
- data/lib/oneview-sdk/image-streamer/resource/api1000/build_plan.rb +22 -0
- data/lib/oneview-sdk/image-streamer/resource/api1000/deployment_group.rb +22 -0
- data/lib/oneview-sdk/image-streamer/resource/api1000/deployment_plan.rb +22 -0
- data/lib/oneview-sdk/image-streamer/resource/api1000/golden_image.rb +22 -0
- data/lib/oneview-sdk/image-streamer/resource/api1000/os_volume.rb +22 -0
- data/lib/oneview-sdk/image-streamer/resource/api1000/plan_script.rb +22 -0
- data/lib/oneview-sdk/image-streamer/resource/api1020.rb +39 -0
- data/lib/oneview-sdk/image-streamer/resource/api1020/artifact_bundle.rb +22 -0
- data/lib/oneview-sdk/image-streamer/resource/api1020/build_plan.rb +22 -0
- data/lib/oneview-sdk/image-streamer/resource/api1020/deployment_group.rb +22 -0
- data/lib/oneview-sdk/image-streamer/resource/api1020/deployment_plan.rb +22 -0
- data/lib/oneview-sdk/image-streamer/resource/api1020/golden_image.rb +22 -0
- data/lib/oneview-sdk/image-streamer/resource/api1020/os_volume.rb +22 -0
- data/lib/oneview-sdk/image-streamer/resource/api1020/plan_script.rb +22 -0
- data/lib/oneview-sdk/image-streamer/resource/api1600.rb +39 -0
- data/lib/oneview-sdk/image-streamer/resource/api1600/artifact_bundle.rb +22 -0
- data/lib/oneview-sdk/image-streamer/resource/api1600/build_plan.rb +22 -0
- data/lib/oneview-sdk/image-streamer/resource/api1600/deployment_group.rb +22 -0
- data/lib/oneview-sdk/image-streamer/resource/api1600/deployment_plan.rb +22 -0
- data/lib/oneview-sdk/image-streamer/resource/api1600/golden_image.rb +22 -0
- data/lib/oneview-sdk/image-streamer/resource/api1600/os_volume.rb +22 -0
- data/lib/oneview-sdk/image-streamer/resource/api1600/plan_script.rb +22 -0
- data/lib/oneview-sdk/image-streamer/resource/api300.rb +39 -0
- data/lib/oneview-sdk/image-streamer/resource/api300/artifact_bundle.rb +213 -0
- data/lib/oneview-sdk/image-streamer/resource/api300/build_plan.rb +33 -0
- data/lib/oneview-sdk/image-streamer/resource/api300/deployment_group.rb +41 -0
- data/lib/oneview-sdk/image-streamer/resource/api300/deployment_plan.rb +33 -0
- data/lib/oneview-sdk/image-streamer/resource/api300/golden_image.rb +89 -0
- data/lib/oneview-sdk/image-streamer/resource/api300/os_volume.rb +49 -0
- data/lib/oneview-sdk/image-streamer/resource/api300/plan_script.rb +42 -0
- data/lib/oneview-sdk/image-streamer/resource/api300/resource.rb +21 -0
- data/lib/oneview-sdk/image-streamer/resource/api500.rb +39 -0
- data/lib/oneview-sdk/image-streamer/resource/api500/artifact_bundle.rb +22 -0
- data/lib/oneview-sdk/image-streamer/resource/api500/build_plan.rb +32 -0
- data/lib/oneview-sdk/image-streamer/resource/api500/deployment_group.rb +22 -0
- data/lib/oneview-sdk/image-streamer/resource/api500/deployment_plan.rb +42 -0
- data/lib/oneview-sdk/image-streamer/resource/api500/golden_image.rb +22 -0
- data/lib/oneview-sdk/image-streamer/resource/api500/os_volume.rb +22 -0
- data/lib/oneview-sdk/image-streamer/resource/api500/plan_script.rb +22 -0
- data/lib/oneview-sdk/image-streamer/resource/api600.rb +39 -0
- data/lib/oneview-sdk/image-streamer/resource/api600/artifact_bundle.rb +22 -0
- data/lib/oneview-sdk/image-streamer/resource/api600/build_plan.rb +22 -0
- data/lib/oneview-sdk/image-streamer/resource/api600/deployment_group.rb +22 -0
- data/lib/oneview-sdk/image-streamer/resource/api600/deployment_plan.rb +31 -0
- data/lib/oneview-sdk/image-streamer/resource/api600/golden_image.rb +22 -0
- data/lib/oneview-sdk/image-streamer/resource/api600/os_volume.rb +39 -0
- data/lib/oneview-sdk/image-streamer/resource/api600/plan_script.rb +31 -0
- data/lib/oneview-sdk/image-streamer/resource/api800.rb +39 -0
- data/lib/oneview-sdk/image-streamer/resource/api800/artifact_bundle.rb +22 -0
- data/lib/oneview-sdk/image-streamer/resource/api800/build_plan.rb +22 -0
- data/lib/oneview-sdk/image-streamer/resource/api800/deployment_group.rb +22 -0
- data/lib/oneview-sdk/image-streamer/resource/api800/deployment_plan.rb +22 -0
- data/lib/oneview-sdk/image-streamer/resource/api800/golden_image.rb +22 -0
- data/lib/oneview-sdk/image-streamer/resource/api800/os_volume.rb +22 -0
- data/lib/oneview-sdk/image-streamer/resource/api800/plan_script.rb +22 -0
- data/lib/oneview-sdk/image_streamer.rb +68 -0
- data/lib/oneview-sdk/resource.rb +431 -0
- data/lib/oneview-sdk/resource/api1000.rb +66 -0
- data/lib/oneview-sdk/resource/api1000/c7000.rb +27 -0
- data/lib/oneview-sdk/resource/api1000/c7000/connection_template.rb +22 -0
- data/lib/oneview-sdk/resource/api1000/c7000/enclosure.rb +22 -0
- data/lib/oneview-sdk/resource/api1000/c7000/enclosure_group.rb +22 -0
- data/lib/oneview-sdk/resource/api1000/c7000/ethernet_network.rb +22 -0
- data/lib/oneview-sdk/resource/api1000/c7000/fc_network.rb +22 -0
- data/lib/oneview-sdk/resource/api1000/c7000/fcoe_network.rb +23 -0
- data/lib/oneview-sdk/resource/api1000/c7000/firmware_driver.rb +22 -0
- data/lib/oneview-sdk/resource/api1000/c7000/hypervisor_cluster_profile.rb +22 -0
- data/lib/oneview-sdk/resource/api1000/c7000/hypervisor_manager.rb +22 -0
- data/lib/oneview-sdk/resource/api1000/c7000/interconnect.rb +23 -0
- data/lib/oneview-sdk/resource/api1000/c7000/lig_uplink_set.rb +21 -0
- data/lib/oneview-sdk/resource/api1000/c7000/logical_enclosure.rb +22 -0
- data/lib/oneview-sdk/resource/api1000/c7000/logical_interconnect.rb +32 -0
- data/lib/oneview-sdk/resource/api1000/c7000/logical_interconnect_group.rb +32 -0
- data/lib/oneview-sdk/resource/api1000/c7000/network_set.rb +22 -0
- data/lib/oneview-sdk/resource/api1000/c7000/scope.rb +22 -0
- data/lib/oneview-sdk/resource/api1000/c7000/server_certificate.rb +22 -0
- data/lib/oneview-sdk/resource/api1000/c7000/server_hardware.rb +32 -0
- data/lib/oneview-sdk/resource/api1000/c7000/server_hardware_type.rb +32 -0
- data/lib/oneview-sdk/resource/api1000/c7000/server_profile.rb +32 -0
- data/lib/oneview-sdk/resource/api1000/c7000/server_profile_template.rb +33 -0
- data/lib/oneview-sdk/resource/api1000/c7000/storage_pool.rb +22 -0
- data/lib/oneview-sdk/resource/api1000/c7000/storage_system.rb +35 -0
- data/lib/oneview-sdk/resource/api1000/c7000/uplink_set.rb +32 -0
- data/lib/oneview-sdk/resource/api1000/c7000/volume.rb +22 -0
- data/lib/oneview-sdk/resource/api1000/c7000/volume_attachment.rb +22 -0
- data/lib/oneview-sdk/resource/api1000/c7000/volume_template.rb +22 -0
- data/lib/oneview-sdk/resource/api1000/synergy.rb +27 -0
- data/lib/oneview-sdk/resource/api1000/synergy/connection_template.rb +22 -0
- data/lib/oneview-sdk/resource/api1000/synergy/enclosure.rb +22 -0
- data/lib/oneview-sdk/resource/api1000/synergy/enclosure_group.rb +22 -0
- data/lib/oneview-sdk/resource/api1000/synergy/ethernet_network.rb +22 -0
- data/lib/oneview-sdk/resource/api1000/synergy/fc_network.rb +22 -0
- data/lib/oneview-sdk/resource/api1000/synergy/fcoe_network.rb +22 -0
- data/lib/oneview-sdk/resource/api1000/synergy/firmware_driver.rb +22 -0
- data/lib/oneview-sdk/resource/api1000/synergy/hypervisor_cluster_profile.rb +22 -0
- data/lib/oneview-sdk/resource/api1000/synergy/hypervisor_manager.rb +22 -0
- data/lib/oneview-sdk/resource/api1000/synergy/interconnect.rb +22 -0
- data/lib/oneview-sdk/resource/api1000/synergy/lig_uplink_set.rb +21 -0
- data/lib/oneview-sdk/resource/api1000/synergy/logical_enclosure.rb +22 -0
- data/lib/oneview-sdk/resource/api1000/synergy/logical_interconnect.rb +32 -0
- data/lib/oneview-sdk/resource/api1000/synergy/logical_interconnect_group.rb +33 -0
- data/lib/oneview-sdk/resource/api1000/synergy/network_set.rb +22 -0
- data/lib/oneview-sdk/resource/api1000/synergy/os_deployment_plan.rb +22 -0
- data/lib/oneview-sdk/resource/api1000/synergy/sas_logical_interconnect_group.rb +22 -0
- data/lib/oneview-sdk/resource/api1000/synergy/scope.rb +22 -0
- data/lib/oneview-sdk/resource/api1000/synergy/server_certificate.rb +22 -0
- data/lib/oneview-sdk/resource/api1000/synergy/server_hardware.rb +32 -0
- data/lib/oneview-sdk/resource/api1000/synergy/server_hardware_type.rb +22 -0
- data/lib/oneview-sdk/resource/api1000/synergy/server_profile.rb +25 -0
- data/lib/oneview-sdk/resource/api1000/synergy/server_profile_template.rb +22 -0
- data/lib/oneview-sdk/resource/api1000/synergy/storage_pool.rb +22 -0
- data/lib/oneview-sdk/resource/api1000/synergy/storage_system.rb +22 -0
- data/lib/oneview-sdk/resource/api1000/synergy/uplink_set.rb +32 -0
- data/lib/oneview-sdk/resource/api1000/synergy/volume.rb +22 -0
- data/lib/oneview-sdk/resource/api1000/synergy/volume_attachment.rb +22 -0
- data/lib/oneview-sdk/resource/api1000/synergy/volume_template.rb +22 -0
- data/lib/oneview-sdk/resource/api1200.rb +66 -0
- data/lib/oneview-sdk/resource/api1200/c7000.rb +27 -0
- data/lib/oneview-sdk/resource/api1200/c7000/connection_template.rb +22 -0
- data/lib/oneview-sdk/resource/api1200/c7000/enclosure.rb +32 -0
- data/lib/oneview-sdk/resource/api1200/c7000/enclosure_group.rb +36 -0
- data/lib/oneview-sdk/resource/api1200/c7000/ethernet_network.rb +35 -0
- data/lib/oneview-sdk/resource/api1200/c7000/fc_network.rb +22 -0
- data/lib/oneview-sdk/resource/api1200/c7000/fcoe_network.rb +23 -0
- data/lib/oneview-sdk/resource/api1200/c7000/firmware_driver.rb +22 -0
- data/lib/oneview-sdk/resource/api1200/c7000/hypervisor_cluster_profile.rb +22 -0
- data/lib/oneview-sdk/resource/api1200/c7000/hypervisor_manager.rb +22 -0
- data/lib/oneview-sdk/resource/api1200/c7000/interconnect.rb +33 -0
- data/lib/oneview-sdk/resource/api1200/c7000/lig_uplink_set.rb +21 -0
- data/lib/oneview-sdk/resource/api1200/c7000/logical_enclosure.rb +22 -0
- data/lib/oneview-sdk/resource/api1200/c7000/logical_interconnect.rb +32 -0
- data/lib/oneview-sdk/resource/api1200/c7000/logical_interconnect_group.rb +32 -0
- data/lib/oneview-sdk/resource/api1200/c7000/network_set.rb +32 -0
- data/lib/oneview-sdk/resource/api1200/c7000/scope.rb +22 -0
- data/lib/oneview-sdk/resource/api1200/c7000/server_certificate.rb +22 -0
- data/lib/oneview-sdk/resource/api1200/c7000/server_hardware.rb +22 -0
- data/lib/oneview-sdk/resource/api1200/c7000/server_hardware_type.rb +22 -0
- data/lib/oneview-sdk/resource/api1200/c7000/server_profile.rb +32 -0
- data/lib/oneview-sdk/resource/api1200/c7000/server_profile_template.rb +33 -0
- data/lib/oneview-sdk/resource/api1200/c7000/storage_pool.rb +22 -0
- data/lib/oneview-sdk/resource/api1200/c7000/storage_system.rb +22 -0
- data/lib/oneview-sdk/resource/api1200/c7000/uplink_set.rb +32 -0
- data/lib/oneview-sdk/resource/api1200/c7000/volume.rb +22 -0
- data/lib/oneview-sdk/resource/api1200/c7000/volume_attachment.rb +22 -0
- data/lib/oneview-sdk/resource/api1200/c7000/volume_template.rb +22 -0
- data/lib/oneview-sdk/resource/api1200/synergy.rb +27 -0
- data/lib/oneview-sdk/resource/api1200/synergy/connection_template.rb +22 -0
- data/lib/oneview-sdk/resource/api1200/synergy/enclosure.rb +32 -0
- data/lib/oneview-sdk/resource/api1200/synergy/enclosure_group.rb +36 -0
- data/lib/oneview-sdk/resource/api1200/synergy/ethernet_network.rb +35 -0
- data/lib/oneview-sdk/resource/api1200/synergy/fc_network.rb +22 -0
- data/lib/oneview-sdk/resource/api1200/synergy/fcoe_network.rb +22 -0
- data/lib/oneview-sdk/resource/api1200/synergy/firmware_driver.rb +22 -0
- data/lib/oneview-sdk/resource/api1200/synergy/hypervisor_cluster_profile.rb +22 -0
- data/lib/oneview-sdk/resource/api1200/synergy/hypervisor_manager.rb +22 -0
- data/lib/oneview-sdk/resource/api1200/synergy/interconnect.rb +32 -0
- data/lib/oneview-sdk/resource/api1200/synergy/lig_uplink_set.rb +21 -0
- data/lib/oneview-sdk/resource/api1200/synergy/logical_enclosure.rb +22 -0
- data/lib/oneview-sdk/resource/api1200/synergy/logical_interconnect.rb +32 -0
- data/lib/oneview-sdk/resource/api1200/synergy/logical_interconnect_group.rb +32 -0
- data/lib/oneview-sdk/resource/api1200/synergy/network_set.rb +22 -0
- data/lib/oneview-sdk/resource/api1200/synergy/os_deployment_plan.rb +22 -0
- data/lib/oneview-sdk/resource/api1200/synergy/sas_logical_interconnect_group.rb +22 -0
- data/lib/oneview-sdk/resource/api1200/synergy/scope.rb +22 -0
- data/lib/oneview-sdk/resource/api1200/synergy/server_certificate.rb +22 -0
- data/lib/oneview-sdk/resource/api1200/synergy/server_hardware.rb +22 -0
- data/lib/oneview-sdk/resource/api1200/synergy/server_hardware_type.rb +22 -0
- data/lib/oneview-sdk/resource/api1200/synergy/server_profile.rb +25 -0
- data/lib/oneview-sdk/resource/api1200/synergy/server_profile_template.rb +22 -0
- data/lib/oneview-sdk/resource/api1200/synergy/storage_pool.rb +22 -0
- data/lib/oneview-sdk/resource/api1200/synergy/storage_system.rb +22 -0
- data/lib/oneview-sdk/resource/api1200/synergy/uplink_set.rb +32 -0
- data/lib/oneview-sdk/resource/api1200/synergy/volume.rb +22 -0
- data/lib/oneview-sdk/resource/api1200/synergy/volume_attachment.rb +22 -0
- data/lib/oneview-sdk/resource/api1200/synergy/volume_template.rb +22 -0
- data/lib/oneview-sdk/resource/api1600.rb +66 -0
- data/lib/oneview-sdk/resource/api1600/c7000.rb +27 -0
- data/lib/oneview-sdk/resource/api1600/c7000/connection_template.rb +22 -0
- data/lib/oneview-sdk/resource/api1600/c7000/enclosure.rb +22 -0
- data/lib/oneview-sdk/resource/api1600/c7000/enclosure_group.rb +22 -0
- data/lib/oneview-sdk/resource/api1600/c7000/ethernet_network.rb +22 -0
- data/lib/oneview-sdk/resource/api1600/c7000/fc_network.rb +22 -0
- data/lib/oneview-sdk/resource/api1600/c7000/fcoe_network.rb +23 -0
- data/lib/oneview-sdk/resource/api1600/c7000/firmware_driver.rb +22 -0
- data/lib/oneview-sdk/resource/api1600/c7000/hypervisor_cluster_profile.rb +36 -0
- data/lib/oneview-sdk/resource/api1600/c7000/hypervisor_manager.rb +22 -0
- data/lib/oneview-sdk/resource/api1600/c7000/interconnect.rb +26 -0
- data/lib/oneview-sdk/resource/api1600/c7000/lig_uplink_set.rb +21 -0
- data/lib/oneview-sdk/resource/api1600/c7000/logical_enclosure.rb +22 -0
- data/lib/oneview-sdk/resource/api1600/c7000/logical_interconnect.rb +32 -0
- data/lib/oneview-sdk/resource/api1600/c7000/logical_interconnect_group.rb +36 -0
- data/lib/oneview-sdk/resource/api1600/c7000/network_set.rb +22 -0
- data/lib/oneview-sdk/resource/api1600/c7000/scope.rb +22 -0
- data/lib/oneview-sdk/resource/api1600/c7000/server_certificate.rb +22 -0
- data/lib/oneview-sdk/resource/api1600/c7000/server_hardware.rb +22 -0
- data/lib/oneview-sdk/resource/api1600/c7000/server_hardware_type.rb +25 -0
- data/lib/oneview-sdk/resource/api1600/c7000/server_profile.rb +40 -0
- data/lib/oneview-sdk/resource/api1600/c7000/server_profile_template.rb +32 -0
- data/lib/oneview-sdk/resource/api1600/c7000/storage_pool.rb +22 -0
- data/lib/oneview-sdk/resource/api1600/c7000/storage_system.rb +22 -0
- data/lib/oneview-sdk/resource/api1600/c7000/uplink_set.rb +32 -0
- data/lib/oneview-sdk/resource/api1600/c7000/volume.rb +22 -0
- data/lib/oneview-sdk/resource/api1600/c7000/volume_attachment.rb +22 -0
- data/lib/oneview-sdk/resource/api1600/c7000/volume_template.rb +22 -0
- data/lib/oneview-sdk/resource/api1600/synergy.rb +27 -0
- data/lib/oneview-sdk/resource/api1600/synergy/connection_template.rb +22 -0
- data/lib/oneview-sdk/resource/api1600/synergy/enclosure.rb +22 -0
- data/lib/oneview-sdk/resource/api1600/synergy/enclosure_group.rb +22 -0
- data/lib/oneview-sdk/resource/api1600/synergy/ethernet_network.rb +22 -0
- data/lib/oneview-sdk/resource/api1600/synergy/fc_network.rb +22 -0
- data/lib/oneview-sdk/resource/api1600/synergy/fcoe_network.rb +22 -0
- data/lib/oneview-sdk/resource/api1600/synergy/firmware_driver.rb +22 -0
- data/lib/oneview-sdk/resource/api1600/synergy/hypervisor_cluster_profile.rb +22 -0
- data/lib/oneview-sdk/resource/api1600/synergy/hypervisor_manager.rb +22 -0
- data/lib/oneview-sdk/resource/api1600/synergy/interconnect.rb +25 -0
- data/lib/oneview-sdk/resource/api1600/synergy/lig_uplink_set.rb +21 -0
- data/lib/oneview-sdk/resource/api1600/synergy/logical_enclosure.rb +22 -0
- data/lib/oneview-sdk/resource/api1600/synergy/logical_interconnect.rb +32 -0
- data/lib/oneview-sdk/resource/api1600/synergy/logical_interconnect_group.rb +36 -0
- data/lib/oneview-sdk/resource/api1600/synergy/network_set.rb +22 -0
- data/lib/oneview-sdk/resource/api1600/synergy/os_deployment_plan.rb +22 -0
- data/lib/oneview-sdk/resource/api1600/synergy/scope.rb +22 -0
- data/lib/oneview-sdk/resource/api1600/synergy/server_certificate.rb +22 -0
- data/lib/oneview-sdk/resource/api1600/synergy/server_hardware.rb +22 -0
- data/lib/oneview-sdk/resource/api1600/synergy/server_hardware_type.rb +25 -0
- data/lib/oneview-sdk/resource/api1600/synergy/server_profile.rb +25 -0
- data/lib/oneview-sdk/resource/api1600/synergy/server_profile_template.rb +22 -0
- data/lib/oneview-sdk/resource/api1600/synergy/storage_pool.rb +22 -0
- data/lib/oneview-sdk/resource/api1600/synergy/storage_system.rb +22 -0
- data/lib/oneview-sdk/resource/api1600/synergy/uplink_set.rb +32 -0
- data/lib/oneview-sdk/resource/api1600/synergy/volume.rb +22 -0
- data/lib/oneview-sdk/resource/api1600/synergy/volume_attachment.rb +22 -0
- data/lib/oneview-sdk/resource/api1600/synergy/volume_template.rb +22 -0
- 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/api200.rb +34 -0
- data/lib/oneview-sdk/resource/api200/alerts.rb +39 -0
- data/lib/oneview-sdk/resource/api200/client_certificate.rb +134 -0
- data/lib/oneview-sdk/resource/api200/connection_template.rb +53 -0
- data/lib/oneview-sdk/resource/api200/datacenter.rb +81 -0
- data/lib/oneview-sdk/resource/api200/enclosure.rb +192 -0
- data/lib/oneview-sdk/resource/api200/enclosure_group.rb +93 -0
- data/lib/oneview-sdk/resource/api200/ethernet_network.rb +60 -0
- data/lib/oneview-sdk/resource/api200/event.rb +43 -0
- data/lib/oneview-sdk/resource/api200/fabric.rb +45 -0
- data/lib/oneview-sdk/resource/api200/fc_network.rb +34 -0
- data/lib/oneview-sdk/resource/api200/fcoe_network.rb +32 -0
- data/lib/oneview-sdk/resource/api200/firmware_bundle.rb +31 -0
- data/lib/oneview-sdk/resource/api200/firmware_driver.rb +37 -0
- data/lib/oneview-sdk/resource/api200/id_pool.rb +124 -0
- data/lib/oneview-sdk/resource/api200/interconnect.rb +114 -0
- data/lib/oneview-sdk/resource/api200/lig_uplink_set.rb +106 -0
- data/lib/oneview-sdk/resource/api200/logical_downlink.rb +57 -0
- data/lib/oneview-sdk/resource/api200/logical_enclosure.rb +88 -0
- data/lib/oneview-sdk/resource/api200/logical_interconnect.rb +267 -0
- data/lib/oneview-sdk/resource/api200/logical_interconnect_group.rb +134 -0
- data/lib/oneview-sdk/resource/api200/logical_switch.rb +188 -0
- data/lib/oneview-sdk/resource/api200/logical_switch_group.rb +70 -0
- data/lib/oneview-sdk/resource/api200/login_detail.rb +27 -0
- data/lib/oneview-sdk/resource/api200/managed_san.rb +83 -0
- data/lib/oneview-sdk/resource/api200/network_set.rb +68 -0
- data/lib/oneview-sdk/resource/api200/power_device.rb +178 -0
- data/lib/oneview-sdk/resource/api200/rack.rb +95 -0
- data/lib/oneview-sdk/resource/api200/resource.rb +18 -0
- data/lib/oneview-sdk/resource/api200/san_manager.rb +92 -0
- data/lib/oneview-sdk/resource/api200/server_hardware.rb +250 -0
- data/lib/oneview-sdk/resource/api200/server_hardware_type.rb +61 -0
- data/lib/oneview-sdk/resource/api200/server_profile.rb +396 -0
- data/lib/oneview-sdk/resource/api200/server_profile_template.rb +227 -0
- data/lib/oneview-sdk/resource/api200/storage_pool.rb +99 -0
- data/lib/oneview-sdk/resource/api200/storage_system.rb +159 -0
- data/lib/oneview-sdk/resource/api200/switch.rb +85 -0
- data/lib/oneview-sdk/resource/api200/unmanaged_device.rb +59 -0
- data/lib/oneview-sdk/resource/api200/uplink_set.rb +92 -0
- data/lib/oneview-sdk/resource/api200/user.rb +98 -0
- data/lib/oneview-sdk/resource/api200/version.rb +27 -0
- data/lib/oneview-sdk/resource/api200/volume.rb +191 -0
- data/lib/oneview-sdk/resource/api200/volume_attachment.rb +85 -0
- data/lib/oneview-sdk/resource/api200/volume_snapshot.rb +50 -0
- data/lib/oneview-sdk/resource/api200/volume_template.rb +96 -0
- data/lib/oneview-sdk/resource/api200/web_server_certificate.rb +97 -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/api300.rb +66 -0
- data/lib/oneview-sdk/resource/api300/c7000.rb +27 -0
- data/lib/oneview-sdk/resource/api300/c7000/alerts.rb +22 -0
- data/lib/oneview-sdk/resource/api300/c7000/client_certificate.rb +22 -0
- data/lib/oneview-sdk/resource/api300/c7000/connection_template.rb +22 -0
- data/lib/oneview-sdk/resource/api300/c7000/datacenter.rb +22 -0
- data/lib/oneview-sdk/resource/api300/c7000/enclosure.rb +36 -0
- data/lib/oneview-sdk/resource/api300/c7000/enclosure_group.rb +89 -0
- data/lib/oneview-sdk/resource/api300/c7000/ethernet_network.rb +37 -0
- data/lib/oneview-sdk/resource/api300/c7000/event.rb +22 -0
- data/lib/oneview-sdk/resource/api300/c7000/fabric.rb +22 -0
- data/lib/oneview-sdk/resource/api300/c7000/fc_network.rb +39 -0
- data/lib/oneview-sdk/resource/api300/c7000/fcoe_network.rb +37 -0
- data/lib/oneview-sdk/resource/api300/c7000/firmware_bundle.rb +21 -0
- data/lib/oneview-sdk/resource/api300/c7000/firmware_driver.rb +22 -0
- data/lib/oneview-sdk/resource/api300/c7000/id_pool.rb +22 -0
- data/lib/oneview-sdk/resource/api300/c7000/interconnect.rb +33 -0
- data/lib/oneview-sdk/resource/api300/c7000/internal_link_set.rb +58 -0
- data/lib/oneview-sdk/resource/api300/c7000/lig_uplink_set.rb +21 -0
- data/lib/oneview-sdk/resource/api300/c7000/logical_downlink.rb +34 -0
- data/lib/oneview-sdk/resource/api300/c7000/logical_enclosure.rb +37 -0
- data/lib/oneview-sdk/resource/api300/c7000/logical_interconnect.rb +45 -0
- data/lib/oneview-sdk/resource/api300/c7000/logical_interconnect_group.rb +35 -0
- data/lib/oneview-sdk/resource/api300/c7000/logical_switch.rb +36 -0
- data/lib/oneview-sdk/resource/api300/c7000/logical_switch_group.rb +35 -0
- data/lib/oneview-sdk/resource/api300/c7000/login_detail.rb +23 -0
- data/lib/oneview-sdk/resource/api300/c7000/managed_san.rb +36 -0
- data/lib/oneview-sdk/resource/api300/c7000/network_set.rb +39 -0
- data/lib/oneview-sdk/resource/api300/c7000/power_device.rb +21 -0
- data/lib/oneview-sdk/resource/api300/c7000/rack.rb +22 -0
- data/lib/oneview-sdk/resource/api300/c7000/resource.rb +21 -0
- data/lib/oneview-sdk/resource/api300/c7000/san_manager.rb +22 -0
- data/lib/oneview-sdk/resource/api300/c7000/scope.rb +140 -0
- data/lib/oneview-sdk/resource/api300/c7000/server_hardware.rb +67 -0
- data/lib/oneview-sdk/resource/api300/c7000/server_hardware_type.rb +21 -0
- data/lib/oneview-sdk/resource/api300/c7000/server_profile.rb +33 -0
- data/lib/oneview-sdk/resource/api300/c7000/server_profile_template.rb +50 -0
- data/lib/oneview-sdk/resource/api300/c7000/storage_pool.rb +29 -0
- data/lib/oneview-sdk/resource/api300/c7000/storage_system.rb +21 -0
- data/lib/oneview-sdk/resource/api300/c7000/switch.rb +43 -0
- data/lib/oneview-sdk/resource/api300/c7000/unmanaged_device.rb +22 -0
- data/lib/oneview-sdk/resource/api300/c7000/uplink_set.rb +33 -0
- data/lib/oneview-sdk/resource/api300/c7000/user.rb +22 -0
- data/lib/oneview-sdk/resource/api300/c7000/version.rb +23 -0
- data/lib/oneview-sdk/resource/api300/c7000/volume.rb +22 -0
- data/lib/oneview-sdk/resource/api300/c7000/volume_attachment.rb +22 -0
- data/lib/oneview-sdk/resource/api300/c7000/volume_snapshot.rb +21 -0
- data/lib/oneview-sdk/resource/api300/c7000/volume_template.rb +32 -0
- data/lib/oneview-sdk/resource/api300/c7000/web_server_certificate.rb +22 -0
- data/lib/oneview-sdk/resource/api300/synergy.rb +27 -0
- data/lib/oneview-sdk/resource/api300/synergy/alerts.rb +22 -0
- data/lib/oneview-sdk/resource/api300/synergy/client_certificate.rb +22 -0
- data/lib/oneview-sdk/resource/api300/synergy/connection_template.rb +22 -0
- data/lib/oneview-sdk/resource/api300/synergy/datacenter.rb +22 -0
- data/lib/oneview-sdk/resource/api300/synergy/drive_enclosure.rb +71 -0
- data/lib/oneview-sdk/resource/api300/synergy/enclosure.rb +83 -0
- data/lib/oneview-sdk/resource/api300/synergy/enclosure_group.rb +40 -0
- data/lib/oneview-sdk/resource/api300/synergy/ethernet_network.rb +37 -0
- data/lib/oneview-sdk/resource/api300/synergy/event.rb +22 -0
- data/lib/oneview-sdk/resource/api300/synergy/fabric.rb +46 -0
- data/lib/oneview-sdk/resource/api300/synergy/fc_network.rb +39 -0
- data/lib/oneview-sdk/resource/api300/synergy/fcoe_network.rb +24 -0
- data/lib/oneview-sdk/resource/api300/synergy/firmware_bundle.rb +21 -0
- data/lib/oneview-sdk/resource/api300/synergy/firmware_driver.rb +22 -0
- data/lib/oneview-sdk/resource/api300/synergy/id_pool.rb +22 -0
- data/lib/oneview-sdk/resource/api300/synergy/interconnect.rb +53 -0
- data/lib/oneview-sdk/resource/api300/synergy/internal_link_set.rb +22 -0
- data/lib/oneview-sdk/resource/api300/synergy/lig_uplink_set.rb +21 -0
- data/lib/oneview-sdk/resource/api300/synergy/logical_downlink.rb +22 -0
- data/lib/oneview-sdk/resource/api300/synergy/logical_enclosure.rb +59 -0
- data/lib/oneview-sdk/resource/api300/synergy/logical_interconnect.rb +22 -0
- data/lib/oneview-sdk/resource/api300/synergy/logical_interconnect_group.rb +122 -0
- data/lib/oneview-sdk/resource/api300/synergy/login_detail.rb +23 -0
- data/lib/oneview-sdk/resource/api300/synergy/managed_san.rb +23 -0
- data/lib/oneview-sdk/resource/api300/synergy/network_set.rb +22 -0
- data/lib/oneview-sdk/resource/api300/synergy/os_deployment_plan.rb +41 -0
- data/lib/oneview-sdk/resource/api300/synergy/power_device.rb +21 -0
- data/lib/oneview-sdk/resource/api300/synergy/rack.rb +22 -0
- data/lib/oneview-sdk/resource/api300/synergy/resource.rb +21 -0
- data/lib/oneview-sdk/resource/api300/synergy/san_manager.rb +22 -0
- data/lib/oneview-sdk/resource/api300/synergy/sas_interconnect.rb +87 -0
- data/lib/oneview-sdk/resource/api300/synergy/sas_logical_interconnect.rb +103 -0
- data/lib/oneview-sdk/resource/api300/synergy/sas_logical_interconnect_group.rb +87 -0
- data/lib/oneview-sdk/resource/api300/synergy/scope.rb +22 -0
- data/lib/oneview-sdk/resource/api300/synergy/server_hardware.rb +30 -0
- data/lib/oneview-sdk/resource/api300/synergy/server_hardware_type.rb +21 -0
- data/lib/oneview-sdk/resource/api300/synergy/server_profile.rb +88 -0
- data/lib/oneview-sdk/resource/api300/synergy/server_profile_template.rb +22 -0
- data/lib/oneview-sdk/resource/api300/synergy/storage_pool.rb +22 -0
- data/lib/oneview-sdk/resource/api300/synergy/storage_system.rb +21 -0
- data/lib/oneview-sdk/resource/api300/synergy/switch.rb +37 -0
- data/lib/oneview-sdk/resource/api300/synergy/unmanaged_device.rb +22 -0
- data/lib/oneview-sdk/resource/api300/synergy/uplink_set.rb +33 -0
- data/lib/oneview-sdk/resource/api300/synergy/user.rb +22 -0
- data/lib/oneview-sdk/resource/api300/synergy/version.rb +23 -0
- data/lib/oneview-sdk/resource/api300/synergy/volume.rb +22 -0
- data/lib/oneview-sdk/resource/api300/synergy/volume_attachment.rb +22 -0
- data/lib/oneview-sdk/resource/api300/synergy/volume_snapshot.rb +21 -0
- data/lib/oneview-sdk/resource/api300/synergy/volume_template.rb +32 -0
- data/lib/oneview-sdk/resource/api300/synergy/web_server_certificate.rb +22 -0
- data/lib/oneview-sdk/resource/api500.rb +66 -0
- data/lib/oneview-sdk/resource/api500/c7000.rb +27 -0
- data/lib/oneview-sdk/resource/api500/c7000/alerts.rb +22 -0
- data/lib/oneview-sdk/resource/api500/c7000/client_certificate.rb +22 -0
- data/lib/oneview-sdk/resource/api500/c7000/connection_template.rb +22 -0
- data/lib/oneview-sdk/resource/api500/c7000/datacenter.rb +22 -0
- data/lib/oneview-sdk/resource/api500/c7000/enclosure.rb +57 -0
- data/lib/oneview-sdk/resource/api500/c7000/enclosure_group.rb +43 -0
- data/lib/oneview-sdk/resource/api500/c7000/ethernet_network.rb +22 -0
- data/lib/oneview-sdk/resource/api500/c7000/event.rb +22 -0
- data/lib/oneview-sdk/resource/api500/c7000/fabric.rb +22 -0
- data/lib/oneview-sdk/resource/api500/c7000/fc_network.rb +24 -0
- data/lib/oneview-sdk/resource/api500/c7000/fcoe_network.rb +22 -0
- data/lib/oneview-sdk/resource/api500/c7000/firmware_bundle.rb +21 -0
- data/lib/oneview-sdk/resource/api500/c7000/firmware_driver.rb +22 -0
- data/lib/oneview-sdk/resource/api500/c7000/id_pool.rb +22 -0
- data/lib/oneview-sdk/resource/api500/c7000/interconnect.rb +31 -0
- data/lib/oneview-sdk/resource/api500/c7000/internal_link_set.rb +22 -0
- data/lib/oneview-sdk/resource/api500/c7000/lig_uplink_set.rb +21 -0
- data/lib/oneview-sdk/resource/api500/c7000/logical_downlink.rb +22 -0
- data/lib/oneview-sdk/resource/api500/c7000/logical_enclosure.rb +62 -0
- data/lib/oneview-sdk/resource/api500/c7000/logical_interconnect.rb +22 -0
- data/lib/oneview-sdk/resource/api500/c7000/logical_interconnect_group.rb +22 -0
- data/lib/oneview-sdk/resource/api500/c7000/logical_switch.rb +22 -0
- data/lib/oneview-sdk/resource/api500/c7000/logical_switch_group.rb +22 -0
- data/lib/oneview-sdk/resource/api500/c7000/login_detail.rb +23 -0
- data/lib/oneview-sdk/resource/api500/c7000/managed_san.rb +32 -0
- data/lib/oneview-sdk/resource/api500/c7000/network_set.rb +22 -0
- data/lib/oneview-sdk/resource/api500/c7000/power_device.rb +21 -0
- data/lib/oneview-sdk/resource/api500/c7000/rack.rb +22 -0
- data/lib/oneview-sdk/resource/api500/c7000/resource.rb +21 -0
- data/lib/oneview-sdk/resource/api500/c7000/san_manager.rb +22 -0
- data/lib/oneview-sdk/resource/api500/c7000/scope.rb +71 -0
- data/lib/oneview-sdk/resource/api500/c7000/server_hardware.rb +42 -0
- data/lib/oneview-sdk/resource/api500/c7000/server_hardware_type.rb +22 -0
- data/lib/oneview-sdk/resource/api500/c7000/server_profile.rb +81 -0
- data/lib/oneview-sdk/resource/api500/c7000/server_profile_template.rb +108 -0
- data/lib/oneview-sdk/resource/api500/c7000/storage_pool.rb +116 -0
- data/lib/oneview-sdk/resource/api500/c7000/storage_system.rb +154 -0
- data/lib/oneview-sdk/resource/api500/c7000/switch.rb +29 -0
- data/lib/oneview-sdk/resource/api500/c7000/unmanaged_device.rb +22 -0
- data/lib/oneview-sdk/resource/api500/c7000/uplink_set.rb +22 -0
- data/lib/oneview-sdk/resource/api500/c7000/user.rb +22 -0
- data/lib/oneview-sdk/resource/api500/c7000/version.rb +23 -0
- data/lib/oneview-sdk/resource/api500/c7000/volume.rb +221 -0
- data/lib/oneview-sdk/resource/api500/c7000/volume_attachment.rb +45 -0
- data/lib/oneview-sdk/resource/api500/c7000/volume_snapshot.rb +32 -0
- data/lib/oneview-sdk/resource/api500/c7000/volume_template.rb +111 -0
- data/lib/oneview-sdk/resource/api500/c7000/web_server_certificate.rb +22 -0
- data/lib/oneview-sdk/resource/api500/synergy.rb +27 -0
- data/lib/oneview-sdk/resource/api500/synergy/alerts.rb +22 -0
- data/lib/oneview-sdk/resource/api500/synergy/client_certificate.rb +22 -0
- data/lib/oneview-sdk/resource/api500/synergy/connection_template.rb +22 -0
- data/lib/oneview-sdk/resource/api500/synergy/datacenter.rb +22 -0
- data/lib/oneview-sdk/resource/api500/synergy/drive_enclosure.rb +22 -0
- data/lib/oneview-sdk/resource/api500/synergy/enclosure.rb +57 -0
- data/lib/oneview-sdk/resource/api500/synergy/enclosure_group.rb +49 -0
- data/lib/oneview-sdk/resource/api500/synergy/ethernet_network.rb +22 -0
- data/lib/oneview-sdk/resource/api500/synergy/event.rb +22 -0
- data/lib/oneview-sdk/resource/api500/synergy/fabric.rb +22 -0
- data/lib/oneview-sdk/resource/api500/synergy/fc_network.rb +24 -0
- data/lib/oneview-sdk/resource/api500/synergy/fcoe_network.rb +22 -0
- data/lib/oneview-sdk/resource/api500/synergy/firmware_bundle.rb +21 -0
- data/lib/oneview-sdk/resource/api500/synergy/firmware_driver.rb +22 -0
- data/lib/oneview-sdk/resource/api500/synergy/id_pool.rb +22 -0
- data/lib/oneview-sdk/resource/api500/synergy/interconnect.rb +38 -0
- data/lib/oneview-sdk/resource/api500/synergy/internal_link_set.rb +22 -0
- data/lib/oneview-sdk/resource/api500/synergy/lig_uplink_set.rb +21 -0
- data/lib/oneview-sdk/resource/api500/synergy/logical_downlink.rb +22 -0
- data/lib/oneview-sdk/resource/api500/synergy/logical_enclosure.rb +39 -0
- data/lib/oneview-sdk/resource/api500/synergy/logical_interconnect.rb +22 -0
- data/lib/oneview-sdk/resource/api500/synergy/logical_interconnect_group.rb +22 -0
- data/lib/oneview-sdk/resource/api500/synergy/login_detail.rb +23 -0
- data/lib/oneview-sdk/resource/api500/synergy/managed_san.rb +22 -0
- data/lib/oneview-sdk/resource/api500/synergy/network_set.rb +22 -0
- data/lib/oneview-sdk/resource/api500/synergy/os_deployment_plan.rb +22 -0
- data/lib/oneview-sdk/resource/api500/synergy/power_device.rb +21 -0
- data/lib/oneview-sdk/resource/api500/synergy/rack.rb +22 -0
- data/lib/oneview-sdk/resource/api500/synergy/resource.rb +21 -0
- data/lib/oneview-sdk/resource/api500/synergy/san_manager.rb +22 -0
- data/lib/oneview-sdk/resource/api500/synergy/sas_interconnect.rb +22 -0
- data/lib/oneview-sdk/resource/api500/synergy/sas_logical_interconnect.rb +22 -0
- data/lib/oneview-sdk/resource/api500/synergy/sas_logical_interconnect_group.rb +22 -0
- data/lib/oneview-sdk/resource/api500/synergy/scope.rb +22 -0
- data/lib/oneview-sdk/resource/api500/synergy/server_hardware.rb +22 -0
- data/lib/oneview-sdk/resource/api500/synergy/server_hardware_type.rb +22 -0
- data/lib/oneview-sdk/resource/api500/synergy/server_profile.rb +25 -0
- data/lib/oneview-sdk/resource/api500/synergy/server_profile_template.rb +36 -0
- data/lib/oneview-sdk/resource/api500/synergy/storage_pool.rb +22 -0
- data/lib/oneview-sdk/resource/api500/synergy/storage_system.rb +22 -0
- data/lib/oneview-sdk/resource/api500/synergy/switch.rb +22 -0
- data/lib/oneview-sdk/resource/api500/synergy/unmanaged_device.rb +22 -0
- data/lib/oneview-sdk/resource/api500/synergy/uplink_set.rb +22 -0
- data/lib/oneview-sdk/resource/api500/synergy/user.rb +22 -0
- data/lib/oneview-sdk/resource/api500/synergy/version.rb +23 -0
- data/lib/oneview-sdk/resource/api500/synergy/volume.rb +22 -0
- data/lib/oneview-sdk/resource/api500/synergy/volume_attachment.rb +22 -0
- data/lib/oneview-sdk/resource/api500/synergy/volume_snapshot.rb +22 -0
- data/lib/oneview-sdk/resource/api500/synergy/volume_template.rb +22 -0
- data/lib/oneview-sdk/resource/api500/synergy/web_server_certificate.rb +22 -0
- data/lib/oneview-sdk/resource/api600.rb +66 -0
- data/lib/oneview-sdk/resource/api600/c7000.rb +27 -0
- data/lib/oneview-sdk/resource/api600/c7000/alerts.rb +22 -0
- data/lib/oneview-sdk/resource/api600/c7000/client_certificate.rb +22 -0
- data/lib/oneview-sdk/resource/api600/c7000/connection_template.rb +22 -0
- data/lib/oneview-sdk/resource/api600/c7000/datacenter.rb +22 -0
- data/lib/oneview-sdk/resource/api600/c7000/enclosure.rb +71 -0
- data/lib/oneview-sdk/resource/api600/c7000/enclosure_group.rb +39 -0
- data/lib/oneview-sdk/resource/api600/c7000/ethernet_network.rb +47 -0
- data/lib/oneview-sdk/resource/api600/c7000/event.rb +22 -0
- data/lib/oneview-sdk/resource/api600/c7000/fabric.rb +22 -0
- data/lib/oneview-sdk/resource/api600/c7000/fc_network.rb +35 -0
- data/lib/oneview-sdk/resource/api600/c7000/fcoe_network.rb +33 -0
- data/lib/oneview-sdk/resource/api600/c7000/firmware_bundle.rb +21 -0
- data/lib/oneview-sdk/resource/api600/c7000/firmware_driver.rb +22 -0
- data/lib/oneview-sdk/resource/api600/c7000/id_pool.rb +22 -0
- data/lib/oneview-sdk/resource/api600/c7000/interconnect.rb +34 -0
- data/lib/oneview-sdk/resource/api600/c7000/internal_link_set.rb +22 -0
- data/lib/oneview-sdk/resource/api600/c7000/lig_uplink_set.rb +21 -0
- data/lib/oneview-sdk/resource/api600/c7000/logical_downlink.rb +22 -0
- data/lib/oneview-sdk/resource/api600/c7000/logical_enclosure.rb +22 -0
- data/lib/oneview-sdk/resource/api600/c7000/logical_interconnect.rb +39 -0
- data/lib/oneview-sdk/resource/api600/c7000/logical_interconnect_group.rb +33 -0
- data/lib/oneview-sdk/resource/api600/c7000/logical_switch.rb +32 -0
- data/lib/oneview-sdk/resource/api600/c7000/logical_switch_group.rb +32 -0
- data/lib/oneview-sdk/resource/api600/c7000/login_detail.rb +23 -0
- data/lib/oneview-sdk/resource/api600/c7000/managed_san.rb +22 -0
- data/lib/oneview-sdk/resource/api600/c7000/network_set.rb +32 -0
- data/lib/oneview-sdk/resource/api600/c7000/power_device.rb +21 -0
- data/lib/oneview-sdk/resource/api600/c7000/rack.rb +22 -0
- data/lib/oneview-sdk/resource/api600/c7000/resource.rb +21 -0
- data/lib/oneview-sdk/resource/api600/c7000/san_manager.rb +22 -0
- data/lib/oneview-sdk/resource/api600/c7000/scope.rb +103 -0
- data/lib/oneview-sdk/resource/api600/c7000/server_certificate.rb +63 -0
- data/lib/oneview-sdk/resource/api600/c7000/server_hardware.rb +44 -0
- data/lib/oneview-sdk/resource/api600/c7000/server_hardware_type.rb +22 -0
- data/lib/oneview-sdk/resource/api600/c7000/server_profile.rb +82 -0
- data/lib/oneview-sdk/resource/api600/c7000/server_profile_template.rb +49 -0
- data/lib/oneview-sdk/resource/api600/c7000/storage_pool.rb +32 -0
- data/lib/oneview-sdk/resource/api600/c7000/storage_system.rb +22 -0
- data/lib/oneview-sdk/resource/api600/c7000/switch.rb +22 -0
- data/lib/oneview-sdk/resource/api600/c7000/unmanaged_device.rb +22 -0
- data/lib/oneview-sdk/resource/api600/c7000/uplink_set.rb +33 -0
- data/lib/oneview-sdk/resource/api600/c7000/user.rb +22 -0
- data/lib/oneview-sdk/resource/api600/c7000/version.rb +23 -0
- data/lib/oneview-sdk/resource/api600/c7000/volume.rb +22 -0
- data/lib/oneview-sdk/resource/api600/c7000/volume_attachment.rb +45 -0
- data/lib/oneview-sdk/resource/api600/c7000/volume_snapshot.rb +32 -0
- data/lib/oneview-sdk/resource/api600/c7000/volume_template.rb +34 -0
- data/lib/oneview-sdk/resource/api600/c7000/web_server_certificate.rb +22 -0
- data/lib/oneview-sdk/resource/api600/synergy.rb +27 -0
- data/lib/oneview-sdk/resource/api600/synergy/alerts.rb +22 -0
- data/lib/oneview-sdk/resource/api600/synergy/client_certificate.rb +22 -0
- data/lib/oneview-sdk/resource/api600/synergy/connection_template.rb +22 -0
- data/lib/oneview-sdk/resource/api600/synergy/datacenter.rb +22 -0
- data/lib/oneview-sdk/resource/api600/synergy/drive_enclosure.rb +22 -0
- data/lib/oneview-sdk/resource/api600/synergy/enclosure.rb +71 -0
- data/lib/oneview-sdk/resource/api600/synergy/enclosure_group.rb +41 -0
- data/lib/oneview-sdk/resource/api600/synergy/ethernet_network.rb +47 -0
- data/lib/oneview-sdk/resource/api600/synergy/event.rb +22 -0
- data/lib/oneview-sdk/resource/api600/synergy/fabric.rb +22 -0
- data/lib/oneview-sdk/resource/api600/synergy/fc_network.rb +35 -0
- data/lib/oneview-sdk/resource/api600/synergy/fcoe_network.rb +33 -0
- data/lib/oneview-sdk/resource/api600/synergy/firmware_bundle.rb +21 -0
- data/lib/oneview-sdk/resource/api600/synergy/firmware_driver.rb +22 -0
- data/lib/oneview-sdk/resource/api600/synergy/id_pool.rb +22 -0
- data/lib/oneview-sdk/resource/api600/synergy/interconnect.rb +38 -0
- data/lib/oneview-sdk/resource/api600/synergy/internal_link_set.rb +22 -0
- data/lib/oneview-sdk/resource/api600/synergy/lig_uplink_set.rb +21 -0
- data/lib/oneview-sdk/resource/api600/synergy/logical_downlink.rb +22 -0
- data/lib/oneview-sdk/resource/api600/synergy/logical_enclosure.rb +22 -0
- data/lib/oneview-sdk/resource/api600/synergy/logical_interconnect.rb +39 -0
- data/lib/oneview-sdk/resource/api600/synergy/logical_interconnect_group.rb +22 -0
- data/lib/oneview-sdk/resource/api600/synergy/login_detail.rb +23 -0
- data/lib/oneview-sdk/resource/api600/synergy/managed_san.rb +22 -0
- data/lib/oneview-sdk/resource/api600/synergy/network_set.rb +22 -0
- data/lib/oneview-sdk/resource/api600/synergy/os_deployment_plan.rb +22 -0
- data/lib/oneview-sdk/resource/api600/synergy/power_device.rb +21 -0
- data/lib/oneview-sdk/resource/api600/synergy/rack.rb +22 -0
- data/lib/oneview-sdk/resource/api600/synergy/resource.rb +21 -0
- data/lib/oneview-sdk/resource/api600/synergy/san_manager.rb +22 -0
- data/lib/oneview-sdk/resource/api600/synergy/sas_interconnect.rb +22 -0
- data/lib/oneview-sdk/resource/api600/synergy/sas_logical_interconnect.rb +22 -0
- data/lib/oneview-sdk/resource/api600/synergy/sas_logical_interconnect_group.rb +33 -0
- data/lib/oneview-sdk/resource/api600/synergy/scope.rb +22 -0
- data/lib/oneview-sdk/resource/api600/synergy/server_certificate.rb +22 -0
- data/lib/oneview-sdk/resource/api600/synergy/server_hardware.rb +33 -0
- data/lib/oneview-sdk/resource/api600/synergy/server_hardware_type.rb +22 -0
- data/lib/oneview-sdk/resource/api600/synergy/server_profile.rb +25 -0
- data/lib/oneview-sdk/resource/api600/synergy/server_profile_template.rb +22 -0
- data/lib/oneview-sdk/resource/api600/synergy/storage_pool.rb +22 -0
- data/lib/oneview-sdk/resource/api600/synergy/storage_system.rb +22 -0
- data/lib/oneview-sdk/resource/api600/synergy/switch.rb +22 -0
- data/lib/oneview-sdk/resource/api600/synergy/unmanaged_device.rb +22 -0
- data/lib/oneview-sdk/resource/api600/synergy/uplink_set.rb +33 -0
- data/lib/oneview-sdk/resource/api600/synergy/user.rb +22 -0
- data/lib/oneview-sdk/resource/api600/synergy/version.rb +23 -0
- data/lib/oneview-sdk/resource/api600/synergy/volume.rb +22 -0
- data/lib/oneview-sdk/resource/api600/synergy/volume_attachment.rb +22 -0
- data/lib/oneview-sdk/resource/api600/synergy/volume_snapshot.rb +22 -0
- data/lib/oneview-sdk/resource/api600/synergy/volume_template.rb +22 -0
- data/lib/oneview-sdk/resource/api600/synergy/web_server_certificate.rb +22 -0
- data/lib/oneview-sdk/resource/api800.rb +66 -0
- data/lib/oneview-sdk/resource/api800/c7000.rb +27 -0
- data/lib/oneview-sdk/resource/api800/c7000/connection_template.rb +22 -0
- data/lib/oneview-sdk/resource/api800/c7000/enclosure.rb +22 -0
- data/lib/oneview-sdk/resource/api800/c7000/enclosure_group.rb +22 -0
- data/lib/oneview-sdk/resource/api800/c7000/ethernet_network.rb +22 -0
- data/lib/oneview-sdk/resource/api800/c7000/fc_network.rb +22 -0
- data/lib/oneview-sdk/resource/api800/c7000/fcoe_network.rb +23 -0
- data/lib/oneview-sdk/resource/api800/c7000/firmware_driver.rb +22 -0
- data/lib/oneview-sdk/resource/api800/c7000/hypervisor_cluster_profile.rb +39 -0
- data/lib/oneview-sdk/resource/api800/c7000/hypervisor_manager.rb +33 -0
- data/lib/oneview-sdk/resource/api800/c7000/interconnect.rb +23 -0
- data/lib/oneview-sdk/resource/api800/c7000/lig_uplink_set.rb +21 -0
- data/lib/oneview-sdk/resource/api800/c7000/logical_enclosure.rb +22 -0
- data/lib/oneview-sdk/resource/api800/c7000/logical_interconnect.rb +32 -0
- data/lib/oneview-sdk/resource/api800/c7000/logical_interconnect_group.rb +32 -0
- data/lib/oneview-sdk/resource/api800/c7000/network_set.rb +22 -0
- data/lib/oneview-sdk/resource/api800/c7000/scope.rb +22 -0
- data/lib/oneview-sdk/resource/api800/c7000/server_certificate.rb +22 -0
- data/lib/oneview-sdk/resource/api800/c7000/server_hardware.rb +22 -0
- data/lib/oneview-sdk/resource/api800/c7000/server_hardware_type.rb +32 -0
- data/lib/oneview-sdk/resource/api800/c7000/server_profile.rb +32 -0
- data/lib/oneview-sdk/resource/api800/c7000/server_profile_template.rb +33 -0
- data/lib/oneview-sdk/resource/api800/c7000/storage_pool.rb +22 -0
- data/lib/oneview-sdk/resource/api800/c7000/storage_system.rb +22 -0
- data/lib/oneview-sdk/resource/api800/c7000/uplink_set.rb +22 -0
- data/lib/oneview-sdk/resource/api800/c7000/volume.rb +22 -0
- data/lib/oneview-sdk/resource/api800/c7000/volume_attachment.rb +22 -0
- data/lib/oneview-sdk/resource/api800/c7000/volume_template.rb +22 -0
- data/lib/oneview-sdk/resource/api800/synergy.rb +27 -0
- data/lib/oneview-sdk/resource/api800/synergy/connection_template.rb +22 -0
- data/lib/oneview-sdk/resource/api800/synergy/enclosure.rb +22 -0
- data/lib/oneview-sdk/resource/api800/synergy/enclosure_group.rb +22 -0
- data/lib/oneview-sdk/resource/api800/synergy/ethernet_network.rb +22 -0
- data/lib/oneview-sdk/resource/api800/synergy/fc_network.rb +22 -0
- data/lib/oneview-sdk/resource/api800/synergy/fcoe_network.rb +22 -0
- data/lib/oneview-sdk/resource/api800/synergy/firmware_driver.rb +22 -0
- data/lib/oneview-sdk/resource/api800/synergy/hypervisor_cluster_profile.rb +22 -0
- data/lib/oneview-sdk/resource/api800/synergy/hypervisor_manager.rb +22 -0
- data/lib/oneview-sdk/resource/api800/synergy/interconnect.rb +22 -0
- data/lib/oneview-sdk/resource/api800/synergy/lig_uplink_set.rb +21 -0
- data/lib/oneview-sdk/resource/api800/synergy/logical_enclosure.rb +22 -0
- data/lib/oneview-sdk/resource/api800/synergy/logical_interconnect.rb +32 -0
- data/lib/oneview-sdk/resource/api800/synergy/logical_interconnect_group.rb +33 -0
- data/lib/oneview-sdk/resource/api800/synergy/network_set.rb +22 -0
- data/lib/oneview-sdk/resource/api800/synergy/os_deployment_plan.rb +22 -0
- data/lib/oneview-sdk/resource/api800/synergy/sas_logical_interconnect_group.rb +22 -0
- data/lib/oneview-sdk/resource/api800/synergy/scope.rb +22 -0
- data/lib/oneview-sdk/resource/api800/synergy/server_certificate.rb +22 -0
- data/lib/oneview-sdk/resource/api800/synergy/server_hardware.rb +22 -0
- data/lib/oneview-sdk/resource/api800/synergy/server_hardware_type.rb +22 -0
- data/lib/oneview-sdk/resource/api800/synergy/server_profile.rb +25 -0
- data/lib/oneview-sdk/resource/api800/synergy/server_profile_template.rb +22 -0
- data/lib/oneview-sdk/resource/api800/synergy/storage_pool.rb +22 -0
- data/lib/oneview-sdk/resource/api800/synergy/storage_system.rb +22 -0
- data/lib/oneview-sdk/resource/api800/synergy/uplink_set.rb +22 -0
- data/lib/oneview-sdk/resource/api800/synergy/volume.rb +22 -0
- data/lib/oneview-sdk/resource/api800/synergy/volume_attachment.rb +22 -0
- data/lib/oneview-sdk/resource/api800/synergy/volume_template.rb +22 -0
- data/lib/oneview-sdk/resource_helper.rb +44 -0
- data/lib/oneview-sdk/rest.rb +292 -0
- data/lib/oneview-sdk/scmb.rb +71 -0
- data/lib/oneview-sdk/ssl_helper.rb +87 -0
- data/lib/oneview-sdk/version.rb +15 -0
- data/oneview-sdk.gemspec +48 -0
- metadata +1012 -0
@@ -0,0 +1,66 @@
|
|
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
|
+
module OneviewSDK
|
13
|
+
# Module for API v1000
|
14
|
+
module API1000
|
15
|
+
SUPPORTED_VARIANTS = %w[C7000 Synergy].freeze
|
16
|
+
DEFAULT_VARIANT = 'C7000'.freeze
|
17
|
+
@variant = DEFAULT_VARIANT
|
18
|
+
@variant_updated = false # Whether or not the API variant has been set by the user
|
19
|
+
|
20
|
+
# Get resource class that matches the type given
|
21
|
+
# @param [String] type Name of the desired class type
|
22
|
+
# @param [String] variant Variant (C7000 or Synergy)
|
23
|
+
# @return [Class] Resource class or nil if not found
|
24
|
+
def self.resource_named(type, variant = @variant)
|
25
|
+
raise "API1000 variant '#{variant}' is not supported! Try one of #{SUPPORTED_VARIANTS}" unless SUPPORTED_VARIANTS.include?(variant.to_s)
|
26
|
+
new_type = type.to_s.downcase.gsub(/[ -_]/, '')
|
27
|
+
api_module = OneviewSDK::API1000.const_get(variant)
|
28
|
+
api_module.constants.each do |c|
|
29
|
+
klass = api_module.const_get(c)
|
30
|
+
next unless klass.is_a?(Class)
|
31
|
+
name = klass.name.split('::').last.downcase.delete('_').delete('-')
|
32
|
+
return klass if new_type =~ /^#{name}[s]?$/
|
33
|
+
end
|
34
|
+
nil
|
35
|
+
end
|
36
|
+
|
37
|
+
# Get the current API1000 variant
|
38
|
+
def self.variant
|
39
|
+
@variant
|
40
|
+
end
|
41
|
+
|
42
|
+
# Has the API1000 variant been set by the user?
|
43
|
+
# @return [TrueClass, FalseClass]
|
44
|
+
def self.variant_updated?
|
45
|
+
@variant_updated
|
46
|
+
end
|
47
|
+
|
48
|
+
# Sets the API1000 variant
|
49
|
+
def self.variant=(variant)
|
50
|
+
raise "API1000 variant '#{variant}' is not supported! Try one of #{SUPPORTED_VARIANTS}" unless SUPPORTED_VARIANTS.include?(variant)
|
51
|
+
@variant_updated = true
|
52
|
+
@variant = variant
|
53
|
+
end
|
54
|
+
|
55
|
+
# Helps redirect resources to the correct API1000 variant
|
56
|
+
def self.const_missing(const)
|
57
|
+
api1000_module = OneviewSDK::API1000.const_get(@variant.to_s)
|
58
|
+
api1000_module.const_get(const)
|
59
|
+
rescue NameError
|
60
|
+
raise NameError, "The #{const} method or resource does not exist for OneView API1000 variant #{@variant}."
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
# Load all API1000-specific resources:
|
66
|
+
Dir[File.dirname(__FILE__) + '/api1000/*.rb'].each { |file| require file }
|
@@ -0,0 +1,27 @@
|
|
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
|
+
module OneviewSDK
|
13
|
+
module API1000
|
14
|
+
# Module for API1000 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::API1000.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 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 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/enclosure'
|
13
|
+
|
14
|
+
module OneviewSDK
|
15
|
+
module API1000
|
16
|
+
module C7000
|
17
|
+
# Enclosure resource implementation for API1000 C7000
|
18
|
+
class Enclosure < OneviewSDK::API800::C7000::Enclosure
|
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/c7000/enclosure_group'
|
13
|
+
|
14
|
+
module OneviewSDK
|
15
|
+
module API1000
|
16
|
+
module C7000
|
17
|
+
# Enclosure group resource implementation on API1000 C7000
|
18
|
+
class EnclosureGroup < OneviewSDK::API800::C7000::EnclosureGroup
|
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/c7000/ethernet_network'
|
13
|
+
|
14
|
+
module OneviewSDK
|
15
|
+
module API1000
|
16
|
+
module C7000
|
17
|
+
# Ethernet network resource implementation for API1000 C7000
|
18
|
+
class EthernetNetwork < OneviewSDK::API800::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 '../../api800/c7000/fc_network'
|
13
|
+
|
14
|
+
module OneviewSDK
|
15
|
+
module API1000
|
16
|
+
module C7000
|
17
|
+
# FC network resource implementation for API1000 C7000
|
18
|
+
class FCNetwork < OneviewSDK::API800::C7000::FCNetwork
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,23 @@
|
|
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/fcoe_network'
|
13
|
+
|
14
|
+
module OneviewSDK
|
15
|
+
module API1000
|
16
|
+
module C7000
|
17
|
+
# FCoE network resource implementation for API1000 C7000
|
18
|
+
class FCoENetwork < OneviewSDK::API800::C7000::FCoENetwork
|
19
|
+
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
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 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/hypervisor_cluster_profile'
|
13
|
+
|
14
|
+
module OneviewSDK
|
15
|
+
module API1000
|
16
|
+
module C7000
|
17
|
+
# Hypervisor cluster profile resource implementation for API1000 C7000
|
18
|
+
class HypervisorClusterProfile < OneviewSDK::API800::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 '../../api800/c7000/hypervisor_manager'
|
13
|
+
|
14
|
+
module OneviewSDK
|
15
|
+
module API1000
|
16
|
+
module C7000
|
17
|
+
# Hypervisor Manager resource implementation for API1000 C7000
|
18
|
+
class HypervisorManager < OneviewSDK::API800::C7000::HypervisorManager
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,23 @@
|
|
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/interconnect'
|
13
|
+
|
14
|
+
module OneviewSDK
|
15
|
+
module API1000
|
16
|
+
module C7000
|
17
|
+
# Interconnect resource implementation on API1000 C7000
|
18
|
+
class Interconnect < OneviewSDK::API800::C7000::Interconnect
|
19
|
+
include OneviewSDK::ResourceHelper::ConfigurationOperation
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,21 @@
|
|
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/lig_uplink_set'
|
13
|
+
|
14
|
+
module OneviewSDK
|
15
|
+
module API1000
|
16
|
+
module C7000
|
17
|
+
class LIGUplinkSet < OneviewSDK::API800::C7000::LIGUplinkSet
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
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/c7000/logical_enclosure'
|
13
|
+
|
14
|
+
module OneviewSDK
|
15
|
+
module API1000
|
16
|
+
module C7000
|
17
|
+
# Logical Enclosure resource implementation on API1000 C7000
|
18
|
+
class LogicalEnclosure < OneviewSDK::API800::C7000::LogicalEnclosure
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,32 @@
|
|
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/logical_interconnect'
|
13
|
+
|
14
|
+
module OneviewSDK
|
15
|
+
module API1000
|
16
|
+
module C7000
|
17
|
+
# Logical interconnect resource implementation for API1000 C7000
|
18
|
+
class LogicalInterconnect < OneviewSDK::API800::C7000::LogicalInterconnect
|
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'] ||= 'logical-interconnectV6'
|
27
|
+
super
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
@@ -0,0 +1,32 @@
|
|
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/logical_interconnect_group'
|
13
|
+
|
14
|
+
module OneviewSDK
|
15
|
+
module API1000
|
16
|
+
module C7000
|
17
|
+
# Logical interconnect group resource implementation on API1000 C7000
|
18
|
+
class LogicalInterconnectGroup < OneviewSDK::API800::C7000::LogicalInterconnectGroup
|
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'] ||= 'logical-interconnect-groupV6'
|
27
|
+
super
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|