Created REST service using Swagger Codegen 2.0 for OpenStack Deployment using Apache Libcloud.
REST APIs for the following resources have been completed:
List Instances
List Images
List Flavors
Create Instance: In this, it can create an instance using the default settings picked up from class.yaml. If you specify the attributes as payload, it will also create the instance with the specified attributes.
Add SSH Keypair: provide the Keypair name and public key that you want to upload as the payload in POST curl command.
Attach Floating IP to the instance: Specify the instance name that you want to attach the floating IP to. Once it is attached, we can do ssh to the instance provided the ssh keypair has been added to the instance.
Start VM
Stop VM
Delete VM
Have created a Makefile for all these targets and Dockerfile to run it on the container.
It has been tested and verified that this works.
Professor @laszewsk , could you please take a look and let me know your comments please?
Thank you.
Created REST service using Swagger Codegen 2.0 for OpenStack Deployment using Apache Libcloud. REST APIs for the following resources have been completed:
Have created a Makefile for all these targets and Dockerfile to run it on the container. It has been tested and verified that this works.
Professor @laszewsk , could you please take a look and let me know your comments please? Thank you.