admin-api: add property.GetDefault

Add API call to get default property value, without resetting it. And
without duplicating the logic behind it on the client side.

As discussed here:
https://github.com/QubesOS/qubes-manager/pull/44
This commit is contained in:
Marek Marczykowski-Górecki 2017-10-20 01:13:06 +02:00
parent 8c38df2e27
commit 20648020aa
No known key found for this signature in database
GPG Key ID: F32894BE9684938A

View File

@ -75,12 +75,14 @@ to set the policy using current mechanism.
| `admin.label.Remove` | `dom0` | label | - | - |
| `admin.property.List` | `dom0` | - | - | `<property>\n` |
| `admin.property.Get` | `dom0` | property | - | `default={True|False} `<br/>`type={str|int|bool|vm|label} <value>` |
| `admin.property.GetDefault` | `dom0` | property | - | `type={str|int|bool|vm|label} <value>` |
| `admin.property.Help` | `dom0` | property | - | `help` |
| `admin.property.HelpRst` | `dom0` | property | - | `help.rst` |
| `admin.property.Reset` | `dom0` | property | - | - |
| `admin.property.Set` | `dom0` | property | value | - |
| `admin.vm.property.List` | vm | - | - | `<property>\n` |
| `admin.vm.property.Get` | vm | property | - | `default={True|False} `<br/>`type={str|int|bool|vm|label} <value>` |
| `admin.vm.property.GetDefault` | vm | property | - | `type={str|int|bool|vm|label} <value>` |
| `admin.vm.property.Help` | vm | property | - | `help` |
| `admin.vm.property.HelpRst` | vm | property | - | `help.rst` |
| `admin.vm.property.Reset` | vm | property | - | - |