Commit Graph

10 Commits

Author SHA1 Message Date
Marek Marczykowski-Górecki
21d60eff4c
Add vm.shutdown(force) parameter
But not it's implementation (currently not specified in API).

QubesOS/qubes-issues#853
2017-03-09 02:39:54 +01:00
Marek Marczykowski-Górecki
32bd75da77
Update license headers
Update GPL->LGPL for tools moved from core-admin repository.
While at it, change mailing address to www link, as suggested by FSF.

Cc: @woju
Cc: @rootkovska
2017-03-09 02:39:51 +01:00
Marek Marczykowski-Górecki
7d7f1724ff
make pylint happy
Add mock dbus module
2017-03-02 02:05:35 +01:00
Marek Marczykowski-Górecki
f59ff0c641
mgmt.vm.volume.* API support
QubesOS/qubes-issues#853
2017-03-01 23:49:24 +01:00
Marek Marczykowski-Górecki
2b1ebba547
vm: add actual VM classes
QubesOS/qubes-issues#853
2017-03-01 23:49:23 +01:00
Marek Marczykowski-Górecki
3e73b242d1
Add missing docstrings, require them by pylint 2017-03-01 23:49:21 +01:00
Marek Marczykowski-Górecki
61cb9887af
Implement simple VM actions
QubesOS/qubes-issues#853
2017-03-01 23:49:21 +01:00
Marek Marczykowski-Górecki
4bbc7a6b1f
Cache vm.name property
It doesn't make sense to send mgmt call to _named_ VM just to ask for
its name. Use value that QubesVM object already have.
This also means we can safely access vm.name, no need to touch any
private attribute.

QubesOS/qubes-issues#853
2017-03-01 23:49:21 +01:00
Marek Marczykowski-Górecki
c298eddd16
Avoid cyclic imports
QubesOS/qubes-issues#853
2017-03-01 23:49:20 +01:00
Marek Marczykowski-Górecki
3a2e0b770b
Initial commit
First minimal version, with just listing VMs and handling properties.

QubesOS/qubes-issues#853
2017-03-01 23:48:53 +01:00