In this article, I will describe how REST API works natively in Red Hat CloudForms.
REST stands for Representational State Transfer. REST is a web standard based architecture and uses HTTP protocol for data communication. It revolves around resources where every component is a resource and is accessed by a common interface using HTTP standards method.
Red Hat CloudForms provides APIs to integrate external systems and initiate provisioning via CloudForms. In CloudForms, REST can be accessed by adding “/api” prefix to the URL.
https://<IP or hostname of appliance> /api/
Continue reading “Playing with REST API”
In this article, we continue the Ansible Series with a new video that shows how we can execute an Ansible playbook from the CloudForms REST API.
In this video, we are using Postman which is a REST API testing framework. Of course you can use any tool you are comfortable with e.g. CURL, Ruby, Python or anything that can execute REST API calls.
Continue reading “Launch Ansible Playbooks from CloudForms REST API (Video)”
Here is a lab I put together for a recent event, it was well received and I think it is very valuable to the ManageIQ and CloudForms user bases.
In the lab you will GET and POST RESTapi actions. Its a basic look at some common use cases such as,
- Query a VM’s hardware inventory.
- Query the VMS for any who are tagged with “Function/Database”
- Show the tags on a specific VM
- Create new Category and Tag in the appliance
- Assign a Category/Tag to a VM
- Provision a VM
- Query the status of the Provision request.
Continue reading “RESTapi – A teach yourself lab!”
Very excited about this one, if you have not seen Ravello, check it out http://www.ravellosystems.com, here is a summary…
“Run VMWare workload in AWS”
Whats even cooler, you can actually run hypervisors in AWS, which if you have been playing with EC2 you will know is impossible with them, without some sorcery!
Continue reading “Ravello with Cloudforms”