Skip to content

Instantly share code, notes, and snippets.

@gojun077
Created January 9, 2016 00:53
Show Gist options
  • Save gojun077/7e0e43a6b5d6216164d0 to your computer and use it in GitHub Desktop.
Save gojun077/7e0e43a6b5d6216164d0 to your computer and use it in GitHub Desktop.
curl --user admin:smartvm \
-i -k -X POST -H "Accept: application/json" \
-d '{ "action" : "create", "resource" : { "type" : "ManageIQ::Providers::Openstack::CloudManager", "name" : "openstack-cfme", "hostname" : "192.168.40.198", "ipaddress" : "192.168.40.198", "port" : "5000", "credentials" : [ { "userid" : "admin", "password" : "admin" }, { "userid" : "guest", "password" : "guest", "auth_type" : "amqp" } ] } }' \
https://192.168.40.250/api/providers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment