Skip to content

emlin/readme-editer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 

Repository files navigation

serengeti-ws: Serengeti's Web service and CLI

Serengeti helps you deploy Hadoop clusters on vSphere fast and easy. It's a management service, which makes user start with Hadoop very easy. This repo holds Serengeti Web Service and CLI.

Getting Started

To jump into using Serengeti, follow our ![Installation Guide] (https://github.com/vmware-serengeti/doc/blob/master/installation_guide_from_source_code.txt).

Serengeti Web Service

Serengeti Web Service provides RESTful API for VC resources managment and hadoop cluster spec management. It works as a proxy to invoke Serengeti provision engine and return fine-grained process execution status to caller.

Web service architecture

Web service architecture (doc/ws-architecture.png)

Web service APIs

MethodURL TemplateRequestResponseDescription
GET/hellovoidvoid
GET/tasksvoidList of TaskReadList all tasks
GET/task/{taskId}taskIdTaskReadGet task by task id
POST/clustersClusterCreateRedirect to /task/{taskId}Create cluster
GET/clustersvoidList of ClusterReadList all clusters
GET/cluster/{clusterName}clusterNameClusterReadGet cluster by name
PUT/cluster/{clusterName}clusterName; state=start/stop/resumeRedirect to /task/{taskId}Operate a cluster: start; stop or resume a failed creation
PUT/cluster/{clusterName}/nodegroup/{groupName}clusterName; groupName; instanceNumRedirect to /task/{taskId}Resize cluster with a new instance number
DELETE/cluster/{clusterName}clusterNameRedirect to /task/{taskId}Delete a cluster by name
POST/resourcepoolsResourcePoolAddvoidAdd a resource pool
GET/resourcepoolsvoidList of ResourcePoolReadList all resource pools
GET/resourcepool/{rpName}rpNameResourcePoolReadGet resource pool by name
DELETE/resourcepool/{rpName}rpNamevoidDelete a resource pool by name
POST/datastoresDatastoreAddvoidAdd a datastore
GET/datastoresvoidList of DatastoreReadList all datastores
GET/datastore/{dsName}dsNameDatastoreReadGet datastore by name
DELETE/datastore/{dsName}dsNamevoidDelete a datastore by name
POST/networksNetworkAddvoidAdd a network
GET/networksdetails=true/falseList of NetworkReadList all networks
GET/network/{networkName}networkName; details=true/falseNetworkReadGet a network by name
DELETE/network/{networkName}networkNamevoidDelete a network by name
GET/distrosvoidList of DistroReadList all distros
GET/distro/{distroName}distroNameDistroReadGet a distro by name

Serengeti CLI


    
      
        true
        http
        proxy.domain.com
        3128
        *.domain.com
      
    

<TODO: Adding CLI instruction...>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published