Created
January 9, 2016 00:53
-
-
Save gojun077/7e0e43a6b5d6216164d0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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