List HardwareΒΆ

List Hardware using CLI and Web Interface for a specific cloud.

../../_images/List-Hardware.png

CLI

This is an example of a command line interface for the user to interact with the system.

# c3 hardware list --cloud <string>
# c3 hardware list --cloud myCloud
Name      Type      available   capacity    Cloud
========  ========  =========   ========    ======
myComi    compute   27          28          myCloud
myCom2    compute   27          28          myCloud
myCom3    compute   27          28          myCloud
myNet1    network   230         254         myCloud
myStore1  storage   90          100         myCloud
myStore2  storage   80          100         myCloud
# c3 hardware list # all hardware on clouds listed
Name      Type      available   capacity    Cloud
========  ========  =========   ========    ======
myComi    compute   27          28          myCloud
myCom2    compute   27          28          myCloud
myCom3    compute   27          28          myCloud2
myNet1    network   230         254         myCloud2
myStore1  storage   90          100         myCloud3
myStore2  storage   80          100         myCloud3

Web Interface(Mock-up)

Mock up web interface for the scenario.

../../_images/List-HardwareWeb.png

REST

This is an example of the RESTful interface for the scenario.

hardware/list

Name Value Description
cloud string name of the cloud