release/release-0.2.0
parent 6372875ead
commit e997c4b883
  1. 35
      README.md

@ -28,8 +28,41 @@ $ gridscale-check snapshots age -w 1 -c 2 -u <uuid-of-storage>
### servers
#### state of the server
```
$ gridscale-check servers state -t server.status -s active -u <uuid-of-server>
```
#### check number of cpu cores or memory assigned
**n** - Max Amount
**m** - Min Amount
```
$ gridscale-check servers state -t server.cores -u <uuid-of-server> -n 6 -m 4
```
```
$ gridscale-check servers state -t server.memory -u <uuid-of-server> -n 6 -m 4
```
#### check IP that is assigned
Either with a value to compare (-c) or by matching the relation (-r):
```
$ gridscale-check servers state -t ip.assigned -u <uuid-of-server> -c 192.168.10.20
```
```
$ gridscale-check servers state -t ip.assigned -u <uuid-of-server> -r <uuid-of-ip-object>
```
#### check wether a certain firewall template is enabled
```
$ gridscale-check servers state -s active -u <uuid-of-server>
$ gridscale-check servers state -t firewall.template -u <uuid-of-server> -r <uuid-of-ip-object>
```
### helper commands

Loading…
Cancel
Save