Skip to content

Commit

Permalink
mgmt1: adjust create/clone methods
Browse files Browse the repository at this point in the history
Allow creating VM with select volumes in non-default pool.
  • Loading branch information
marmarek committed Apr 28, 2017
1 parent 9aa7af5 commit bdb3108
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion services/mgmt1.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ to set the policy using current mechanism.
| `mgmt.vmclass.List` | `dom0` | - | - | `<class>\n` |
| `mgmt.vm.List` | `dom0|<vm>` | - | - | `<name> class=<class> state=<state>\n` |
| `mgmt.vm.Create.<class>` | `dom0` | template | `name=<name> label=<label>` | - |
| `mgmt.vm.CreateInPool.<class>` | `dom0` | template | `name=<name> label=<label> pool=<pool>` | - |
| `mgmt.vm.CreateInPool.<class>` | `dom0` | template | `name=<name> label=<label> pool=<pool> pool:<volume>=<pool>` | - | either use `pool=` to put all volumes there, or `pool:<volume>=` for individual volumes - both forms are not allowed at the same time
| `mgmt.vm.CreateTemplate` | `dom0` | name | `root.img` | - |
| `mgmt.vm.Clone` | vm | - | `name=<name>` | - |
| `mgmt.vm.CloneInPool` | vm | - | `name=<name> pool=<pool> pool:<volume>=<pool>` | - | same as for `mgmt.vm.CreateInPool`
| `mgmt.vm.Remove` | vm | - | - | - |
| `mgmt.label.List` | `dom0` | - | - | `<property>\n` |
| `mgmt.label.Create` | `dom0` | label | `0xRRGGBB` | - |
Expand Down

0 comments on commit bdb3108

Please sign in to comment.