A Cloud Orchestration Layer: Creating/Deleting/Quering and Scheduling Virtual Machines(VMs) in a given Network and also attach Storage Block Devices to the VMs on demand
How does it work?
Write the information of the machines in file named: machines
And also the Location of the VM image file in file name: Images
cd bin
./script machines Images
Now, by curl calls or REST calls, you can create/delete/query a VM, and also attach Storage Block devies to it by:
-> http://localhost:5000/vm/create?name=test_vm&instance_type=type
-> http://localhost:5000/vm/query?vmid=vmid
-> http://localhost:5000/vm/destroy?vmid=vmid
-> http://localhost:5000/vm/types
-> http://localhost:5000/volume/create?name=testvolume&size=10
-> http://localhost:5000/volume/query?volumeid=volumeid
-> http://localhost:5000/volume/attach?vmid=vmid&volumeid=volumeid