Commit Graph

20 Commits

Author SHA1 Message Date
Marek Marczykowski-Górecki
ea7c0b280c
mgmt1: clarify devices handling, add options support
- devices can be attached with some options (like 'ro=True' for block
  devices)
- clarify that backend domain and device ident is separated with '+'
  (':' is not allowed in qrexec call argument)
- clarify how to attach devices "persistently"
2017-05-01 02:55:44 +02:00
Marek Marczykowski-Górecki
141ed82589
mgmt1: rethink firewall Admin API
Handling each rule separately makes sense on from qvm-firewall tool
point of view, but not from overall configuration integrity. If multiple
tools try to configure firewall simultaneously, doing it at individual
rules level can end very badly.
So, get/set the whole firewall at once. If some race condition happen
here, it will end up with one firewall rules set being overwritten by
the other one. But it will still be a consistent rules set.
2017-05-01 02:55:44 +02:00
Marek Marczykowski-Górecki
986b2ec00f
mgmt1: slightly improve formatting
Manually wrap long lines to make the table narrower, fix volume
properties list syntax.
2017-05-01 02:55:44 +02:00
Marek Marczykowski-Górecki
4301f735ce
mgmt1: add device options handling
Device may be attached with some options - for example "ro=True" for
block devices.
2017-04-29 01:56:24 +02:00
Marek Marczykowski-Górecki
7ec63f5395
mgmt1: add volume.Import method
This will allow importing full VM through the Admin API. Important for
"VM import" feature (QubesOS/qubes-issues#2634) and "paranoid backup
restore" (QubesOS/qubes-issues#2737).
2017-04-29 01:56:24 +02:00
Marek Marczykowski-Górecki
bdb3108763
mgmt1: adjust create/clone methods
Allow creating VM with select volumes in non-default pool.
2017-04-29 01:56:17 +02:00
Marek Marczykowski-Górecki
9b3b0ffd04
mgmt1: add mgmt.label.Index and events clarification 2017-04-15 13:59:22 +02:00
Marek Marczykowski-Górecki
8f53500944
mgmt: add redirect from /doc/mgmt/ 2017-04-10 01:41:46 +02:00
Marek Marczykowski-Górecki
e6d9a97e8b
mgmt: clarifications, add mgmt.Events 2017-04-10 01:40:24 +02:00
Marek Marczykowski-Górecki
f343ab34b0
mgmt1: fix table syntax, adjust mgmt.pool.add argument
This also breaks table layout in plain text (but fixes it in markdown
output).

For mgmt.pool.Add put driver in a argument, as it makes more sense to
use that while writing a policy.
2017-03-10 01:08:34 +01:00
Wojtek Porczyk
8c53b52e30 services/mgmt1: Update table wrt QubesOS/qubes-issues#853
It is best to use git diff -b to view this commit.
2017-03-09 16:43:33 +01:00
Marek Marczykowski-Górecki
376efddf0f
mgmt-api: Adjust storage-related calls 2017-03-03 23:14:21 +01:00
Marek Marczykowski-Górecki
35444c9f06
mgmt: adjust return message type definition
If we allow interpretation of zero-terminated string, actually force it
in the specification.
2017-02-27 03:10:49 +01:00
Wojtek Porczyk
50d731a564 services/mgmt1: return messages 2017-02-20 19:38:33 +01:00
Wojtek Porczyk
d82e47c449 services/mgmt1: various updates
- remove `1` from RPC names
- change `mgmt.vm.Create` wrt class
- misc notes and TODOs

QubesOS/qubes-issues#853
2016-11-24 15:10:41 +01:00
Andrew David Wong
c8b57d86fa
Use new doc-full layout to prevent table scrolling
QubesOS/qubes-issues#853
2016-11-19 05:26:25 -08:00
Andrew David Wong
889a830d05
Clean up table source
* Use backticks to wrap literal text
* Replace HTML entities with ASCII characters
* Make column spacing uniform

QubesOS/qubes-issues#853
2016-11-19 01:36:28 -08:00
Andrew David Wong
06b2edcbbf
Remove extra table cells; substitute HTML entity for vbar
QubesOS/qubes-issues#853
2016-11-19 01:15:58 -08:00
Andrew David Wong
bb99c1a6f1
Convert table to Markdow and remove custom styling
QubesOS/qubes-issues#853
2016-11-19 01:15:32 -08:00
Wojtek Porczyk
46d5778b19 Preliminary management API
Currently not linked anywhere, on purpose
2016-11-18 22:40:16 +01:00