Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OneviewSDK.resource_named doesn't work for FirmwareBundle #176

Closed
jsmartt opened this issue Feb 14, 2017 · 1 comment
Closed

OneviewSDK.resource_named doesn't work for FirmwareBundle #176

jsmartt opened this issue Feb 14, 2017 · 1 comment

Comments

@jsmartt
Copy link
Collaborator

jsmartt commented Feb 14, 2017

Scenario/Intent

Retrieve the FirmwareBundle resource using the OneviewSDK.resource_named method.

Environment Details

  • OneView SDK Version: 4.0.0

Steps to Reproduce

OneviewSDK.resource_named(:FirmwareBundle)  # returns nil

Expected Result

Return the FirmwareBundle class

Actual Result

Returns nil.

This is because in the resource_named method, we only return classes that are children of OneviewSDK::Resource. This class (and possibly others) are not children, but are valid resources

@tmiotto
Copy link
Contributor

tmiotto commented Feb 17, 2017

I actually have my doubts if it should be a resource or a method inside OneviewSDK::FirmwareDriver since its only function is to upload a Firmware Driver to the appliance.

@jsmartt jsmartt mentioned this issue Feb 23, 2017
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants