Giter Club home page Giter Club logo

hewlettpackard / oneview-puppet Goto Github PK

View Code? Open in Web Editor NEW
8.0 9.0 17.0 12.66 MB

This project is no longer being developed and has limited support. In the near future this repository will be fully deprecated. Please consider using other OneView projects, such as Terraform and Ansible Collection

Home Page: https://forge.puppet.com/hewlettpackard/oneview

License: Apache License 2.0

Ruby 99.74% Puppet 0.11% Dockerfile 0.15%
hpe-oneview oneview-ruby-sdk puppet puppet-forge hpe-image-streamer hpe-oneview-api puppet-module provider devops

oneview-puppet's Issues

Logical Switch API 300 Support

Scenario/Intent

Use Oneview_logical_switch with API 300 on the Synergy and C7000 hardware variants

Environment Details

  • Puppet module for HPE OneView Version: 2.0.0
  • OneView SDK Version: 3.0.0+
  • OneView Appliance Version: 3.0.0
  • OneView Client API Version: 300
  • Puppet Version: 4.0.0+
  • Ruby Version: 2.2.6
  • Platform: Windows/CentOS

Steps to Reproduce

1- Create a login file with api_version = 300 and hardware_variant = "C7000" or "Synergy"
2- Create a manifest in which I call the Oneview_logical_switch resource

Expected Result

Should use the API 300 of the chosen hardware variant to perform any actions

Actual Result

Uses the API 200 of the C7000 hardware variant to perform all actions.

Datacenter API300 Support

Scenario/Intent

Use Oneview_datacenter with API 300 on the Synergy and C7000 hardware variants

Environment Details

  • Puppet module for HPE OneView Version: 2.0.0
  • OneView SDK Version: 3.0.0+
  • OneView Appliance Version: 3.0.0
  • OneView Client API Version: 300
  • Puppet Version: 4.0.0+
  • Ruby Version: 2.2.6
  • Platform: Windows/CentOS

Steps to Reproduce

1- Create a login file with api_version = 300 and hardware_variant = "C7000" or "Synergy"
2- Create a manifest in which I call the Oneview_datacenter resource

Expected Result

Should use the API 300 of the chosen hardware variant to perform any actions

Actual Result

Uses the API 200 of the C7000 hardware variant to perform all actions.

Transfer idempotency verifications to the SDK

Scenario/Intent

Use the SDK like method instead of custom find_bys for ensuring idempotency on resources

Environment Details

Puppet module for HPE OneView Version: 2.0.0
OneView SDK Version: 3.1.0
OneView Appliance Version: 3.0
OneView Client API Version: 300
Puppet Version: 4.8
Ruby Version: 2.2.6
Platform: Windows

Steps to Reproduce

Run any exists?

Expected Result

Use a standard like method instead of custom find_bys

Actual Result

Currently there are several different find_bys being used, some use unique_id, some use the whole @data, others are completely ignored.

Logical Interconnect Group API300 Support

Scenario/Intent

Use Oneview_logical_interconnect_group with API 300 on the Synergy and C7000 hardware variants

Environment Details

  • Puppet module for HPE OneView Version: 2.0.0
  • OneView SDK Version: 3.0.0+
  • OneView Appliance Version: 3.0.0
  • OneView Client API Version: 300
  • Puppet Version: 4.0.0+
  • Ruby Version: 2.2.6
  • Platform: Windows/CentOS

Steps to Reproduce

1- Create a login file with api_version = 300 and hardware_variant = "C7000" or "Synergy"
2- Create a manifest in which I call the Oneview_logical_interconnect_group resource

Expected Result

Should use the API 300 of the chosen hardware variant to perform any actions

Actual Result

Uses the API 200 of the C7000 hardware variant to perform all actions.

Image Streamer Golden Image Support

Scenario/Intent

Use the Golden Image resource from this module

Environment Details

-Puppet module for HPE OneView Version: 2.2.0
-OneView SDK Version: 3.1.0
-OneView Appliance Version: 3.0
-OneView Client API Version: 300
-Puppet Version: 4.8
-Ruby Version: 2.2.6
-Platform: Windows/Linux

Steps to Reproduce

Try to call the resource Image_streamer_golden_image

Expected Result

To be able to use the resource Golden Image on Image Streamer

Actual Result

Resource not implemented / Could not find the Image_streamer_golden_image

Logical Switch Group API300 Support

Scenario/Intent

Use Oneview_logical_switch_group with API 300 on the Synergy and C7000 hardware variants

Environment Details

  • Puppet module for HPE OneView Version: 2.0.0
  • OneView SDK Version: 3.0.0+
  • OneView Appliance Version: 3.0.0
  • OneView Client API Version: 300
  • Puppet Version: 4.0.0+
  • Ruby Version: 2.2.6
  • Platform: Windows/CentOS

Steps to Reproduce

1- Create a login file with api_version = 300 and hardware_variant = "C7000" or "Synergy"
2- Create a manifest in which I call the Oneview_logical_switch_group resource

Expected Result

Should use the API 300 of the chosen hardware variant to perform any actions

Actual Result

Uses the API 200 of the C7000 hardware variant to perform all actions.

Improve server profile idempotency

Scenario/Intent

On some usage scenarios, when running with the 'present' ensurable, the server profile does not behave idempotently as expected and makes calls when it shouldn't.

Environment Details

Puppet module for HPE OneView Version: 2.0.0
OneView SDK Version: 3.1.0
OneView Appliance Version: 3.0
OneView Client API Version: 300
Puppet Version: 4.8
Ruby Version: 2.2.6
Platform: Windows

Steps to Reproduce

Run complete scenarios with server profile, specifying as many options as possible.

Expected Result

If there are no changes between manifest runs, or if the change is something which should not matter, like order on a hash, then no create/update/patch calls should be made to OneView since it should be able to notice nothing has changed.

Actual Result

On some scenarios it actually does not act as expected and runs update calls.

Enclosure Group API300 Support

Scenario/Intent

Use Oneview_enclosure_group with API 300 on the Synergy and C7000 hardware variants

Environment Details

  • Puppet module for HPE OneView Version: 2.0.0
  • OneView SDK Version: 3.0.0+
  • OneView Appliance Version: 3.0.0
  • OneView Client API Version: 300
  • Puppet Version: 4.0.0+
  • Ruby Version: 2.2.6
  • Platform: Windows/CentOS

Steps to Reproduce

1- Create a login file with api_version = 300 and hardware_variant = "C7000" or "Synergy"
2- Create a manifest in which I call the Oneview_enclosure_group resource

Expected Result

Should use the API 300 of the chosen hardware variant to perform any actions

Actual Result

Uses the API 200 of the C7000 hardware variant to perform all actions.

Reduce code duplication and complexity

Scenario/Intent

Reduce code duplication and complexity, while maintaining functionality.

Environment Details

-Puppet module for HPE OneView Version: 2.0.0
-OneView SDK Version: 3.1.0
-OneView Appliance Version: 3.0
-OneView Client API Version: 300
-Puppet Version: 4.8
-Ruby Version: 2.2.6
-Platform: Windows

Steps to Reproduce

Check the code, mainly on the resources which currently do not use a parent class.

Expected Result

Should have the least amount of code duplication, as it is possible.

Actual Result

Some classes currently are not yet inheriting from Oneview_resource and thus have a lot of code duplication inside them.
Also, others were implemented while the Oneview_resource class was being improved, and could also have many improvements.

Storage System API300 Support

Scenario/Intent

Use Oneview_storage_system with API 300 on the Synergy and C7000 hardware variants

Environment Details

  • Puppet module for HPE OneView Version: 2.0.0
  • OneView SDK Version: 3.0.0+
  • OneView Appliance Version: 3.0.0
  • OneView Client API Version: 300
  • Puppet Version: 4.0.0+
  • Ruby Version: 2.2.6
  • Platform: Windows/CentOS

Steps to Reproduce

1- Create a login file with api_version = 300 and hardware_variant = "C7000" or "Synergy"
2- Create a manifest in which I call the Oneview_storage_system resource

Expected Result

Should use the API 300 of the chosen hardware variant to perform any actions

Actual Result

Uses the API 200 of the C7000 hardware variant to perform all actions.

Logical Interconnect API300 Support

Scenario/Intent

Use Oneview_logical_interconnect with API 300 on the Synergy and C7000 hardware variants

Environment Details

  • Puppet module for HPE OneView Version: 2.0.0
  • OneView SDK Version: 3.0.0+
  • OneView Appliance Version: 3.0.0
  • OneView Client API Version: 300
  • Puppet Version: 4.0.0+
  • Ruby Version: 2.2.6
  • Platform: Windows/CentOS

Steps to Reproduce

1- Create a login file with api_version = 300 and hardware_variant = "C7000" or "Synergy"
2- Create a manifest in which I call the Oneview_logical_interconnect resource

Expected Result

Should use the API 300 of the chosen hardware variant to perform any actions

Actual Result

Uses the API 200 of the C7000 hardware variant to perform all actions.

Interconnect API300 Support

Scenario/Intent

Use Oneview_interconnect with API 300 on the Synergy and C7000 hardware variants

Environment Details

  • Puppet module for HPE OneView Version: 2.0.0
  • OneView SDK Version: 3.0.0+
  • OneView Appliance Version: 3.0.0
  • OneView Client API Version: 300
  • Puppet Version: 4.0.0+
  • Ruby Version: 2.2.6
  • Platform: Windows/CentOS

Steps to Reproduce

1- Create a login file with api_version = 300 and hardware_variant = "C7000" or "Synergy"
2- Create a manifest in which I call the Oneview_interconnect resource

Expected Result

Should use the API 300 of the chosen hardware variant to perform any actions

Actual Result

Uses the API 200 of the C7000 hardware variant to perform all actions.

SAS Logical Interconnect Group Support

Scenario/Intent

Use the SAS Logical Interconnect Group resource from this module

Environment Details

-Puppet module for HPE OneView Version: 2.0.0
-OneView SDK Version: 3.1.0
-OneView Appliance Version: 3.0
-OneView Client API Version: 300
-Puppet Version: 4.8
-Ruby Version: 2.2.6
-Platform: Windows

Steps to Reproduce

Try to call the resource Oneview_sas_logical_interconnect_group

Expected Result

To be able to use the resource to create, update and delete SAS Logical Interconnect Groups on OneView

Actual Result

Resource not implemented / Could not find the Oneview_sas_logical_interconnect_group type

Firmware Bundle API300 Support

Scenario/Intent

Use Oneview_firmware_bundle with API 300 on the Synergy and C7000 hardware variants

Environment Details

  • Puppet module for HPE OneView Version: 2.0.0
  • OneView SDK Version: 3.0.0+
  • OneView Appliance Version: 3.0.0
  • OneView Client API Version: 300
  • Puppet Version: 4.0.0+
  • Ruby Version: 2.2.6
  • Platform: Windows/CentOS

Steps to Reproduce

1- Create a login file with api_version = 300 and hardware_variant = "C7000" or "Synergy"
2- Create a manifest in which I call the Oneview_firmware_bundle resource

Expected Result

Should use the API 300 of the chosen hardware variant to perform any actions

Actual Result

Uses the API 200 of the C7000 hardware variant to perform all actions.

Rack API300 Support

Scenario/Intent

Use Oneview_rack with API 300 on the Synergy and C7000 hardware variants

Environment Details

  • Puppet module for HPE OneView Version: 2.0.0
  • OneView SDK Version: 3.0.0+
  • OneView Appliance Version: 3.0.0
  • OneView Client API Version: 300
  • Puppet Version: 4.0.0+
  • Ruby Version: 2.2.6
  • Platform: Windows/CentOS

Steps to Reproduce

1- Create a login file with api_version = 300 and hardware_variant = "C7000" or "Synergy"
2- Create a manifest in which I call the Oneview_rack resource

Expected Result

Should use the API 300 of the chosen hardware variant to perform any actions

Actual Result

Uses the API 200 of the C7000 hardware variant to perform all actions.

Power Device API300 Support

Scenario/Intent

Use Oneview_power_device with API 300 on the Synergy and C7000 hardware variants

Environment Details

  • Puppet module for HPE OneView Version: 2.0.0
  • OneView SDK Version: 3.0.0+
  • OneView Appliance Version: 3.0.0
  • OneView Client API Version: 300
  • Puppet Version: 4.0.0+
  • Ruby Version: 2.2.6
  • Platform: Windows/CentOS

Steps to Reproduce

1- Create a login file with api_version = 300 and hardware_variant = "C7000" or "Synergy"
2- Create a manifest in which I call the Oneview_power_device resource

Expected Result

Should use the API 300 of the chosen hardware variant to perform any actions

Actual Result

Uses the API 200 of the C7000 hardware variant to perform all actions.

Server Hardware Type API300 Support

Scenario/Intent

Use Oneview_server_hardware_type with API 300 on the Synergy and C7000 hardware variants

Environment Details

  • Puppet module for HPE OneView Version: 2.0.0
  • OneView SDK Version: 3.0.0+
  • OneView Appliance Version: 3.0.0
  • OneView Client API Version: 300
  • Puppet Version: 4.0.0+
  • Ruby Version: 2.2.6
  • Platform: Windows/CentOS

Steps to Reproduce

1- Create a login file with api_version = 300 and hardware_variant = "C7000" or "Synergy"
2- Create a manifest in which I call the Oneview_server_hardware_type resource

Expected Result

Should use the API 300 of the chosen hardware variant to perform any actions

Actual Result

Uses the API 200 of the C7000 hardware variant to perform all actions.

SAS Interconnect resource support

Scenario/Intent

Use the SAS Interconnect resource from this module

Environment Details

-Puppet module for HPE OneView Version: 2.0.0
-OneView SDK Version: 3.1.0
-OneView Appliance Version: 3.0
-OneView Client API Version: 300
-Puppet Version: 4.8
-Ruby Version: 2.2.6
-Platform: Windows

Steps to Reproduce

Try to call the resource Oneview_sas_interconnect

Expected Result

To be able to use the resource to create, update and delete SAS Interconnects on OneView

Actual Result

Resource not implemented / Could not find the Oneview_sas_interconnect type

Scope Uris not being retrieved automatically

Scenario/Intent

Insert a name for Scope Uris and it automatically get the correct resource for it

Environment Details

Puppet module for HPE OneView Version: 2.0.0
OneView SDK Version: 3.1.0
OneView Appliance Version: 3.0
OneView Client API Version: 300
Puppet Version: 4.8
Ruby Version: 2.2.6
Platform: Windows

Steps to Reproduce

Insert a name instead of a '/rest/etc' uri on a scope uri field

Expected Result

Should "automagically" get the resource uri

Actual Result

Currently does not work / this is not yet implemented on the ruby sdk

Uplink Set API300 Support

Scenario/Intent

Use Oneview_uplink_set with API 300 on the Synergy and C7000 hardware variants

Environment Details

  • Puppet module for HPE OneView Version: 2.0.0
  • OneView SDK Version: 3.0.0+
  • OneView Appliance Version: 3.0.0
  • OneView Client API Version: 300
  • Puppet Version: 4.0.0+
  • Ruby Version: 2.2.6
  • Platform: Windows/CentOS

Steps to Reproduce

1- Create a login file with api_version = 300 and hardware_variant = "C7000" or "Synergy"
2- Create a manifest in which I call the Oneview_uplink_set resource

Expected Result

Should use the API 300 of the chosen hardware variant to perform any actions

Actual Result

Uses the API 200 of the C7000 hardware variant to perform all actions.

Managed SAN API300 Support

Scenario/Intent

Use Oneview_managed_san with API 300 on the Synergy and C7000 hardware variants

Environment Details

  • Puppet module for HPE OneView Version: 2.0.0
  • OneView SDK Version: 3.0.0+
  • OneView Appliance Version: 3.0.0
  • OneView Client API Version: 300
  • Puppet Version: 4.0.0+
  • Ruby Version: 2.2.6
  • Platform: Windows/CentOS

Steps to Reproduce

1- Create a login file with api_version = 300 and hardware_variant = "C7000" or "Synergy"
2- Create a manifest in which I call the Oneview_managed_san resource

Expected Result

Should use the API 300 of the chosen hardware variant to perform any actions

Actual Result

Uses the API 200 of the C7000 hardware variant to perform all actions.

Enclosure API300 Support

Scenario/Intent

Use Oneview_enclosure with API 300 on the Synergy and C7000 hardware variants

Environment Details

  • Puppet module for HPE OneView Version: 2.0.0
  • OneView SDK Version: 3.0.0+
  • OneView Appliance Version: 3.0.0
  • OneView Client API Version: 300
  • Puppet Version: 4.0.0+
  • Ruby Version: 2.2.6
  • Platform: Windows/CentOS

Steps to Reproduce

1- Create a login file with api_version = 300 and hardware_variant = "C7000" or "Synergy"
2- Create a manifest in which I call the Oneview_enclosure resource

Expected Result

Should use the API 300 of the chosen hardware variant to perform any actions

Actual Result

Uses the API 200 of the C7000 hardware variant to perform all actions.

Volume Template API300 Support

Scenario/Intent

Use Oneview_volume_template with API 300 on the Synergy and C7000 hardware variants

Environment Details

  • Puppet module for HPE OneView Version: 2.0.0
  • OneView SDK Version: 3.0.0+
  • OneView Appliance Version: 3.0.0
  • OneView Client API Version: 300
  • Puppet Version: 4.0.0+
  • Ruby Version: 2.2.6
  • Platform: Windows/CentOS

Steps to Reproduce

1- Create a login file with api_version = 300 and hardware_variant = "C7000" or "Synergy"
2- Create a manifest in which I call the Oneview_volume_template resource

Expected Result

Should use the API 300 of the chosen hardware variant to perform any actions

Actual Result

Uses the API 200 of the C7000 hardware variant to perform all actions.

Implement GET endpoint as FACTS

Scenario/Intent

Use the information from a get endpoint as an input or variable for a resource declaration

Environment Details

  • Puppet module for HPE OneView Version: 2.0.0
  • OneView SDK Version: 3.1.0
  • OneView Appliance Version: 3.0
  • OneView Client API Version: 300
  • Puppet Version: 4.8
  • Ruby Version: 2.2.6
  • Platform: Windows

Steps to Reproduce

Feature not implemented - no steps to reproduce

Expected Result

Expected meaningful facts with output that can be used as variables on resource declarations

Actual Result

Currently no facts are available for this module

Server Hardware API300 Support

Scenario/Intent

Use Oneview_server_hardware with API 300 on the Synergy and C7000 hardware variants

Environment Details

  • Puppet module for HPE OneView Version: 2.0.0
  • OneView SDK Version: 3.0.0+
  • OneView Appliance Version: 3.0.0
  • OneView Client API Version: 300
  • Puppet Version: 4.0.0+
  • Ruby Version: 2.2.6
  • Platform: Windows/CentOS

Steps to Reproduce

1- Create a login file with api_version = 300 and hardware_variant = "C7000" or "Synergy"
2- Create a manifest in which I call the Oneview_server_hardware resource

Expected Result

Should use the API 300 of the chosen hardware variant to perform any actions

Actual Result

Uses the API 200 of the C7000 hardware variant to perform all actions.

Logical Enclosure API300 Support

Scenario/Intent

Use Oneview_logical_enclosure with API 300 on the Synergy and C7000 hardware variants

Environment Details

  • Puppet module for HPE OneView Version: 2.0.0
  • OneView SDK Version: 3.0.0+
  • OneView Appliance Version: 3.0.0
  • OneView Client API Version: 300
  • Puppet Version: 4.0.0+
  • Ruby Version: 2.2.6
  • Platform: Windows/CentOS

Steps to Reproduce

1- Create a login file with api_version = 300 and hardware_variant = "C7000" or "Synergy"
2- Create a manifest in which I call the Oneview_logical_enclosure resource

Expected Result

Should use the API 300 of the chosen hardware variant to perform any actions

Actual Result

Uses the API 200 of the C7000 hardware variant to perform all actions.

Server Profile Template API300 Support

Scenario/Intent

Use Oneview_server_profile_template with API 300 on the Synergy and C7000 hardware variants

Environment Details

  • Puppet module for HPE OneView Version: 2.0.0
  • OneView SDK Version: 3.0.0+
  • OneView Appliance Version: 3.0.0
  • OneView Client API Version: 300
  • Puppet Version: 4.0.0+
  • Ruby Version: 2.2.6
  • Platform: Windows/CentOS

Steps to Reproduce

1- Create a login file with api_version = 300 and hardware_variant = "C7000" or "Synergy"
2- Create a manifest in which I call the Oneview_server_profile_template resource

Expected Result

Should use the API 300 of the chosen hardware variant to perform any actions

Actual Result

Uses the API 200 of the C7000 hardware variant to perform all actions.

SAS Logical Interconnect API300 Support

Scenario/Intent

Use the SAS Logical Interconnect resource from this module

Environment Details

-Puppet module for HPE OneView Version: 2.0.0
-OneView SDK Version: 3.1.0
-OneView Appliance Version: 3.0
-OneView Client API Version: 300
-Puppet Version: 4.8
-Ruby Version: 2.2.6
-Platform: Windows

Steps to Reproduce

Try to call the resource Oneview_sas_logical_interconnect

Expected Result

To be able to use the resource to create, update and delete SAS Logical Interconnects on OneView

Actual Result

Resource not implemented / Could not find the Oneview_sas_logical_interconnect type

Unit tests on unexpected scenarios

Scenario/Intent

Run unit tests on a file with API 200 and Synergy hardware variant.

Steps to Reproduce

Run unit tests on a file with API 200 and Synergy hardware variant.

Expected Result

I get only the c7000 unit tests for 200, as synergy was not supported in 200.

Actual Result

It tries to run Synergy with 200 and fails due to uninitialized constant.

Image Streamer Plan Script API300 Support

Scenario/Intent

Use the Plan Script resource from this module

Environment Details

-Puppet module for HPE OneView Version: 2.2.0
-OneView SDK Version: 3.1.0
-OneView Appliance Version: 3.0
-OneView Client API Version: 300
-Puppet Version: 4.8
-Ruby Version: 2.2.6
-Platform: Windows/Linux

Steps to Reproduce

Try to call the resource Image_streamer_plan_script

Expected Result

To be able to use the resource Plan Script on Image Streamer

Actual Result

Resource not implemented / Could not find the Image_streamer_plan_script type

Firmware Driver API300 Support

Scenario/Intent

Use Oneview_firmware_driver with API 300 on the Synergy and C7000 hardware variants

Environment Details

  • Puppet module for HPE OneView Version: 2.0.0
  • OneView SDK Version: 3.0.0+
  • OneView Appliance Version: 3.0.0
  • OneView Client API Version: 300
  • Puppet Version: 4.0.0+
  • Ruby Version: 2.2.6
  • Platform: Windows/CentOS

Steps to Reproduce

1- Create a login file with api_version = 300 and hardware_variant = "C7000" or "Synergy"
2- Create a manifest in which I call the Oneview_firmware_driver resource

Expected Result

Should use the API 300 of the chosen hardware variant to perform any actions

Actual Result

Uses the API 200 of the C7000 hardware variant to perform all actions.

Image Streamer OS Volume Support

Scenario/Intent

Use the OS Volume resource from this module

Environment Details

-Puppet module for HPE OneView Version: 2.2.0
-OneView SDK Version: 3.1.0
-OneView Appliance Version: 3.0
-OneView Client API Version: 300
-Puppet Version: 4.8
-Ruby Version: 2.2.6
-Platform: Windows/Linux

Steps to Reproduce

Try to call the resource Image_streamer_os_volume

Expected Result

To be able to use the resource OS Volume on Image Streamer

Actual Result

Resource not implemented / Could not find the Image_streamer_os_volume type

Logical Downlink API300 Support

Scenario/Intent

Use Oneview_logical_downlink with API 300 on the Synergy and C7000 hardware variants

Environment Details

  • Puppet module for HPE OneView Version: 2.0.0
  • OneView SDK Version: 3.0.0+
  • OneView Appliance Version: 3.0.0
  • OneView Client API Version: 300
  • Puppet Version: 4.0.0+
  • Ruby Version: 2.2.6
  • Platform: Windows/CentOS

Steps to Reproduce

1- Create a login file with api_version = 300 and hardware_variant = "C7000" or "Synergy"
2- Create a manifest in which I call the Oneview_logical_downlink resource

Expected Result

Should use the API 300 of the chosen hardware variant to perform any actions

Actual Result

Uses the API 200 of the C7000 hardware variant to perform all actions.

Fully document all methods

Scenario/Intent

Inch CI is showing some undocumented methods. Should look into those and make sure everything is either documented or look into disabling Inch CI for what is not relevant/should not be documented.

Environment Details

  • Puppet module for HPE OneView Version: 2.0.0

Steps to Reproduce

Check the Inch CI in the readme or https://inch-ci.org/github/HewlettPackard/oneview-puppet

Expected Result

See no undocumented methods

Actual Result

There's something like 1/3 methods that are undocumented. Those should be documented or if the CI is expecting documentation where it would not make sense, a way to clearly show that would also be good.

Update documentation

Scenario/Intent

Read updated documentation on the new resource types added and new ensure methods

Environment Details

-Puppet module for HPE OneView Version: 2.0.0
-OneView SDK Version: 3.1.0
-OneView Appliance Version: 3.0
-OneView Client API Version: 300
-Puppet Version: 4.8
-Ruby Version: 2.2.6
-Platform: Windows

Steps to Reproduce

Check the docs

Expected Result

Should have the documentation for all ensure methods and resource types

Actual Result

Currently it does not.

Volume API300 Support

Scenario/Intent

Use Oneview_volume with API 300 on the Synergy and C7000 hardware variants

Environment Details

  • Puppet module for HPE OneView Version: 2.0.0
  • OneView SDK Version: 3.0.0+
  • OneView Appliance Version: 3.0.0
  • OneView Client API Version: 300
  • Puppet Version: 4.0.0+
  • Ruby Version: 2.2.6
  • Platform: Windows/CentOS

Steps to Reproduce

1- Create a login file with api_version = 300 and hardware_variant = "C7000" or "Synergy"
2- Create a manifest in which I call the Oneview_volume resource

Expected Result

Should use the API 300 of the chosen hardware variant to perform any actions

Actual Result

Uses the API 200 of the C7000 hardware variant to perform all actions.

Unmanaged Device API300 Support

Scenario/Intent

Use Oneview_unmanaged_device with API 300 on the Synergy and C7000 hardware variants

Environment Details

  • Puppet module for HPE OneView Version: 2.0.0
  • OneView SDK Version: 3.0.0+
  • OneView Appliance Version: 3.0.0
  • OneView Client API Version: 300
  • Puppet Version: 4.0.0+
  • Ruby Version: 2.2.6
  • Platform: Windows/CentOS

Steps to Reproduce

1- Create a login file with api_version = 300 and hardware_variant = "C7000" or "Synergy"
2- Create a manifest in which I call the Oneview_unmanaged_device resource

Expected Result

Should use the API 300 of the chosen hardware variant to perform any actions

Actual Result

Uses the API 200 of the C7000 hardware variant to perform all actions.

Switch API300 Support

Scenario/Intent

Use Oneview_switch with API 300 on the Synergy and C7000 hardware variants

Environment Details

  • Puppet module for HPE OneView Version: 2.0.0
  • OneView SDK Version: 3.0.0+
  • OneView Appliance Version: 3.0.0
  • OneView Client API Version: 300
  • Puppet Version: 4.0.0+
  • Ruby Version: 2.2.6
  • Platform: Windows/CentOS

Steps to Reproduce

1- Create a login file with api_version = 300 and hardware_variant = "C7000" or "Synergy"
2- Create a manifest in which I call the Oneview_switch resource

Expected Result

Should use the API 300 of the chosen hardware variant to perform any actions

Actual Result

Uses the API 200 of the C7000 hardware variant to perform all actions.

Support for Synergy hardware

Currently the module only has support for the C7000 variant of the enclosures supported by OneView. Since the oneview-sdk gem that this module uses has extended support for the Synergy variant, this should be added as well.

Storage Pool API300 Support

Scenario/Intent

Use Oneview_storage_pool with API 300 on the Synergy and C7000 hardware variants

Environment Details

  • Puppet module for HPE OneView Version: 2.0.0
  • OneView SDK Version: 3.0.0+
  • OneView Appliance Version: 3.0.0
  • OneView Client API Version: 300
  • Puppet Version: 4.0.0+
  • Ruby Version: 2.2.6
  • Platform: Windows/CentOS

Steps to Reproduce

1- Create a login file with api_version = 300 and hardware_variant = "C7000" or "Synergy"
2- Create a manifest in which I call the Oneview_storage_pool resource

Expected Result

Should use the API 300 of the chosen hardware variant to perform any actions

Actual Result

Uses the API 200 of the C7000 hardware variant to perform all actions.

Drive Enclosure resource Support

Scenario/Intent

Use the Drive Enclosure resource with this module

Environment Details

-Puppet module for HPE OneView Version: 2.0.0
-OneView SDK Version: 3.1.0
-OneView Appliance Version: 3.0
-OneView Client API Version: 300
-Puppet Version: 4.8
-Ruby Version: 2.2.6
-Platform: Windows

Steps to Reproduce

Try to call the resource Oneview_drive_enclosure

Expected Result

To be able to use the resource Drive Enclosures on OneView

Actual Result

Resource not implemented / Could not find the Oneview_drive_enclosure type

Simplecov not covering individual files

Scenario/Intent

'rake test' should fail if a file has not achieved a minimal coverage%, but with its current configs it doesn't

Environment Details

  • Puppet module for HPE OneView Version: 2.0.0
  • OneView SDK Version: 3.0.0+
  • OneView Appliance Version: 3.0.0
  • OneView Client API Version: 300
  • Puppet Version: 4.0.0+
  • Ruby Version: 2.2.6
  • Platform: Windows/CentOS

Steps to Reproduce

1- Delete one of the unit tests under spec/unit/provider
2- Run 'rake test'

Expected Result

It should fail because the provider for which the test was deleted does meet the minimal code coverage

Actual Result

Does not fail

Volume Attachment API300 Support

Scenario/Intent

Use Oneview_volume_attachment with API 300 on the Synergy and C7000 hardware variants

Environment Details

  • Puppet module for HPE OneView Version: 2.0.0
  • OneView SDK Version: 3.0.0+
  • OneView Appliance Version: 3.0.0
  • OneView Client API Version: 300
  • Puppet Version: 4.0.0+
  • Ruby Version: 2.2.6
  • Platform: Windows/CentOS

Steps to Reproduce

1- Create a login file with api_version = 300 and hardware_variant = "C7000" or "Synergy"
2- Create a manifest in which I call the Oneview_volume_attachment resource

Expected Result

Should use the API 300 of the chosen hardware variant to perform any actions

Actual Result

Uses the API 200 of the C7000 hardware variant to perform all actions.

Image Streamer Deployment Plan Support

Scenario/Intent

Use the Deployment Plan resource from this module

Environment Details

-Puppet module for HPE OneView Version: 2.2.0
-OneView SDK Version: 3.1.0
-OneView Appliance Version: 3.0
-OneView Client API Version: 300
-Puppet Version: 4.8
-Ruby Version: 2.2.6
-Platform: Windows/Linux

Steps to Reproduce

Try to call the resource Image_streamer_deployment_plan

Expected Result

To be able to use the resource Deployment Plan on Image Streamer

Actual Result

Resource not implemented / Could not find the Image_streamer_deployment_plan type

Server Profile API300 Support

Scenario/Intent

Use Oneview_server_profile with API 300 on the Synergy and C7000 hardware variants

Environment Details

  • Puppet module for HPE OneView Version: 2.0.0
  • OneView SDK Version: 3.0.0+
  • OneView Appliance Version: 3.0.0
  • OneView Client API Version: 300
  • Puppet Version: 4.0.0+
  • Ruby Version: 2.2.6
  • Platform: Windows/CentOS

Steps to Reproduce

1- Create a login file with api_version = 300 and hardware_variant = "C7000" or "Synergy"
2- Create a manifest in which I call the Oneview_server_profile resource

Expected Result

Should use the API 300 of the chosen hardware variant to perform any actions

Actual Result

Uses the API 200 of the C7000 hardware variant to perform all actions.

Connection template API 300 Support

Scenario/Intent

Use connection template with API 300 on the Synergy and C7000 hardware variants

Environment Details

  • Puppet module for HPE OneView Version: 2.0.0
  • OneView SDK Version: 3.0.0+
  • OneView Appliance Version: 3.0.0
  • OneView Client API Version: 300
  • Puppet Version: 4.0.0+
  • Ruby Version: 2.2.6
  • Platform: Windows/CentOS

Steps to Reproduce

1- Create a login file with api_version = 300 and hardware_variant = "C7000" or "Synergy"
2- Create a manifest in which I call the connection template resource

Expected Result

Should use the API 300 of the chosen hardware variant to perform any actions

Actual Result

Uses the API 200 of the C7000 hardware variant to perform all actions.

SAN Manager API300 Support

Scenario/Intent

Use Oneview_san_manager with API 300 on the Synergy and C7000 hardware variants

Environment Details

  • Puppet module for HPE OneView Version: 2.0.0
  • OneView SDK Version: 3.0.0+
  • OneView Appliance Version: 3.0.0
  • OneView Client API Version: 300
  • Puppet Version: 4.0.0+
  • Ruby Version: 2.2.6
  • Platform: Windows/CentOS

Steps to Reproduce

1- Create a login file with api_version = 300 and hardware_variant = "C7000" or "Synergy"
2- Create a manifest in which I call the Oneview_san_manager resource

Expected Result

Should use the API 300 of the chosen hardware variant to perform any actions

Actual Result

Uses the API 200 of the C7000 hardware variant to perform all actions.

Support for OneView API version 300

Currently the API 300 of OneView is not supported by this module. Since the oneview-sdk gem has released support for API 300, it should also be added here.

Image Streamer Build Plan Support

Scenario/Intent

Use the Build Plan resource from this module

Environment Details

-Puppet module for HPE OneView Version: 2.2.0
-OneView SDK Version: 3.1.0
-OneView Appliance Version: 3.0
-OneView Client API Version: 300
-Puppet Version: 4.8
-Ruby Version: 2.2.6
-Platform: Windows/Linux

Steps to Reproduce

Try to call the resource Image_streamer_build_plan

Expected Result

To be able to use the resource Build Plan on Image Streamer

Actual Result

Resource not implemented / Could not find the Image_streamer_build_plan type

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.