Skip to content

rohitsakala/Cloud-Orchestration-Layer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Cloud-Orchestration-Layer

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:

Creating a VM:

-> http://localhost:5000/vm/create?name=test_vm&instance_type=type

Quering a VM:

-> http://localhost:5000/vm/query?vmid=vmid

Destroy a VM:

-> http://localhost:5000/vm/destroy?vmid=vmid

List VM types:

-> http://localhost:5000/vm/types

Create a Volume Block Storage:

-> http://localhost:5000/volume/create?name=test­volume&size=10

Query a Volume Block Storage:

-> http://localhost:5000/volume/query?volumeid=volumeid

Destroy a Volume Block Storage:

-> http://localhost:5000/volume/destroy?volumeid=volumeid

Attach a Block Storage Device:

-> http://localhost:5000/volume/attach?vmid=vmid&volumeid=volumeid

Detach a Block Storage Device:

-> http://localhost:5000/volume/detach?volumeid=volumeid

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published