README.md in cloudstack-cli-0.7.1 vs README.md in cloudstack-cli-0.7.2
- old
+ new
@@ -1,10 +1,10 @@
# Cloudstack CLI
[![Gem Version](https://badge.fury.io/rb/cloudstack-cli.png)](http://badge.fury.io/rb/cloudstack-cli)
-cloudstack-cli is a [CloudStack](http://cloudstack.apache.org/) API client written in Ruby.
+cloudstack-cli is a [CloudStack](http://cloudstack.apache.org/) API command line client written in Ruby.
cloudstack-cli uses the [cloudstack_client](https://github.com/niwo/cloudstack_client) to talk to the Cloudstack API.
## Installation
Install the cloudstack-cli gem:
@@ -42,11 +42,11 @@
### Example: Bootsrapping a server
Bootsraps a server using a template and creating port-forwarding rules for port 22 and 80.
- $ cs server create server-01 --template CentOS-6.4-x64-v1.4 --offering 1cpu_1gb --port-rules :22 :80
+ $ cs server create server-01 --template CentOS-6.4-x64-v1.4 --zone DC1 --offering 1cpu_1gb --port-rules :22 :80
### Example: Run a any custom API command
Run the "listAlerts" command against the Cloudstack API with an argument of type=8:
@@ -77,11 +77,14 @@
"description": "PostgreSQL Master",
"iso": "CentOS-6.4-x86_64-swisstxt-v15",
"disk_offering": "Perf Storage",
"disk_size": "5",
"offering": "2cpu_4gb",
- "networks": "server_network, storage_network"
+ "networks": [
+ "server_network",
+ "storage_network"
+ ]
}
]
}
Create the stack of servers from above:
@@ -105,10 +108,10 @@
$ watch -n cs router list --project Demo
## References
-- [Cloudstack API documentation](http://cloudstack.apache.org/docs/api/apidocs-4.1/TOC_Root_Admin.html)
+- [Cloudstack API documentation](http://cloudstack.apache.org/docs/api/)
- This tool was inspired by the Knife extension for Cloudstack: [knife-cloudstack](https://github.com/CloudStack-extras/knife-cloudstack)
## Contributing