ManageIQ plugin for the Redfish provider.
Redfish provider is installed by default when setting up ManageIQ development
environment. To start using it, navigate to the Compute
->
Physical Infrastructure
-> Providers
and add new provider of type Redfish.
See the section on plugins in the ManageIQ Developer Setup
For quick local setup run bin/setup
, which will clone the core ManageIQ repository under the spec directory and setup necessary config files. If you have already cloned it, you can run bin/update
to bring the core ManageIQ code up to date.
A useful tool to be able to develop the Redfish provider is the mock Redfish server. And fortunately for us, it has been already installed as a part of an initial setup. We just need to get our hands on some recordings and we are good to go.
One recording is available in XLAB's repo. We can clone it and instruct mock server to serve it:
$ ( cd ~/miq && git clone https://github.com/xlab-si/redfish-recordings )
$ bundle exec redfish serve ../redfish-recordings/lenovo-sr650
(XLAB's repo with Redfish recordings)
The gem is available as open source under the terms of the Apache License 2.0.
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)