RESTful API for LibStorageMgmt(LSM) Version 0.1

Currently, lsm_restd is still in inital stage. You could try:

    $ cd libstoragemgmt-git/src
    $ make lsm_restd
    $ ./lsm_restd
    # Open another shell
    $ curl http://localhost:8888/v0.1/systems?uri=sim:
    $ curl http://localhost:8888/v0.1/pools?uri=sim:
    $ curl http://localhost:8888/v0.1/volumes?uri=sim:
    $ curl http://localhost:8888/v0.1/disks?uri=sim:

################### Plan #######################
# 1. HTTP Methods
    GET     List certain resource
    PUT     Replace existing resource
    POST    Create new resource
    DELETE  Delete existing resource
    OPTIONS Response the support HTTP methods and document URL for certain URI

# 2. Resources

    Resouce     Method                              URI
    System      GET, OPTIONS                        /v0.1/systems
    Pool        GET, PUT, POST, DELETE, OPTIONS     /v0.1/pools
    Volume      GET, PUT, POST, DELETE, OPTIONS     /v0.1/volumes

Please refer to  [[DataStucture]]

# 3. Links
## 3.1 System
### 3.1.1 GET /v0.1/system
Query all the storage systems
### 3.1.2 OPTIONS /v0.1/system
## 3.2 Pool
