Skip to content

Latest commit

 

History

History
53 lines (39 loc) · 2.74 KB

README.md

File metadata and controls

53 lines (39 loc) · 2.74 KB

manageiq-providers-oracle_cloud

Gem Version Build Status Code Climate Test Coverage Dependency Status Security

Chat Translate

ManageIQ plugin for Oracle Cloud provider.

Development

See the section on pluggable providers 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.

License

The gem is available as open source under the terms of the Apache License 2.0.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

NOTE: Uses fog-oraclecloud

NOTE: Using API to add provider since interface is not ready yet.

curl --user admin:smartvm -i -X POST -H "Accept: application/json" -d '{
    "type"            : "ManageIQ::Providers::OracleCloud::CloudManager",
    "name"            : "oracle",
    "provider_region" : "us2",
    "hostname"        : "DOMAIN_NAME",
    "credentials"     : {
      "userid"        : "username",
      "password"      : "password"
    }
}' http://localhost:3000/api/providers
ems = ManageIQ::Providers::OracleCloud::CloudManager.first
EmsRefresh.refresh(ems)