diff --git a/services/admin-api.md b/services/admin-api.md index 37698e69..5450cf3f 100644 --- a/services/admin-api.md +++ b/services/admin-api.md @@ -99,15 +99,18 @@ to set the policy using current mechanism. | `admin.vm.firewall.Reload` | vm | - | - | - | force reload firewall without changing any rule | `admin.vm.device..Attach` | vm | device | options | - | `device` is in form `+`
optional options given in `key=value` format, separated with spaces;
options can include `persistent=True` to "persistently" attach the device (default is temporary) | `admin.vm.device..Detach` | vm | device | - | - | `device` is in form `+` +| `admin.vm.device..Set.persistent`| vm | device | `True`|`False` | - | `device` is in form `+` | `admin.vm.device..List` | vm | - | - | ` \n` | options can include `persistent=True` for "persistently" attached devices (default is temporary) | `admin.vm.device..Available` | vm | device-ident | - | ` description=\n` | optional service argument may be used to get info about a single device,
optional (device class specific) properties are in `key=value` form,
`description` must be the last one and is the only one allowed to contain spaces | `admin.pool.List` | `dom0` | - | - | `\n` | | `admin.pool.ListDrivers` | `dom0` | - | - | ` ...\n` | Properties allowed in `admin.pool.Add` | `admin.pool.Info` | `dom0` | pool | - | `=\n` | | `admin.pool.Add` | `dom0` | driver | `=\n` | - | +| `admin.pool.Set.revisions_to_keep` | `dom0` | pool | `` | - | | `admin.pool.Remove` | `dom0` | pool | - | - | | `admin.pool.volume.List` | `dom0` | pool | - | volume id | | `admin.pool.volume.Info` | `dom0` | pool | vid | `=\n` | +| `admin.pool.volume.Set.revisions_to_keep`| `dom0` | pool | ` ` | - | | `admin.pool.volume.ListSnapshots` | `dom0` | pool | vid | `\n` | | `admin.pool.volume.Snapshot` | `dom0` | pool | vid | snapshot | | `admin.pool.volume.Revert` | `dom0` | pool | ` ` | - | @@ -117,6 +120,7 @@ to set the policy using current mechanism. | `admin.pool.volume.CloneTo` | `dom0` | pool | ` ` | - | copy volume pointed by a token to volume `vid` in `pool` | | `admin.vm.volume.List` | vm | - | - | `\n` | `` is per-VM volume name (`root`, `private`, etc), `` is pool-unique volume id | `admin.vm.volume.Info` | vm | volume | - | `=\n` | +| `admin.vm.volume.Set.revisions_to_keep`| vm | volume | value | - | | `admin.vm.volume.ListSnapshots` | vm | volume | - | snapshot | duplicate of `admin.pool.volume.`, but with other call params | | `admin.vm.volume.Snapshot` | vm | volume | - | snapshot | id. | | `admin.vm.volume.Revert` | vm | volume | snapshot | - | id. |