README.md in cloudstack-cli-1.5.2 vs README.md in cloudstack-cli-1.5.3
- old
+ new
@@ -119,28 +119,27 @@
version: "1.0"
zone: "DC-ZRH-1"
group: "my_web_stack"
keypair: "mykeypair"
servers:
- -
- name: "web-d1, web-d2"
- description: "Web nodes"
+ - name: "web-d1, web-d2"
+ description: "web node"
template: "CentOS-7-x64"
offering: "1cpu_1gb"
networks: "server_network"
port_rules: ":80, :443"
- -
- name: "db-01"
+ - name: "db-01"
description: "PostgreSQL Master"
iso: "CentOS-7-x64"
disk_offering: "Perf Storage"
disk_size: "5"
offering: "2cpu_4gb"
- ip_address: 10.100.1.25
- networks:
- - "server_network"
- - "storage_network"
+ ip_network_list:
+ - name: FrontendNetwork
+ ip: 10.101.64.42
+ - name: BackendNetwork
+ ip: 10.102.1.11
```
*Create the stack of servers from the definition above:
```bash
@@ -161,18 +160,19 @@
```
### Example: Sort computing offerings
*Sort all computing offerings by CPU and Memory grouped by domain:*
+(root admin privileges needed)
```bash
-$ cloudstack-cli offering sort
+$ cloudstack-cli compute_offer sort
```
### Example: Stop all backup routers of a given project
*Stop all virtual routers of project named Demo (you could filter by zone too):*
-(This command is helpful if you have to deploy new versions of CloudStack when using redundant routers)
+(this command is helpful if you have to deploy new major release of CloudStack when using redundant routers)
```bash
$ cloudstack-cli router list --project Demo --status running --redundant-state BACKUP --command STOP
````