core-admin/qubes
Marek Marczykowski-Górecki ae600e24bf
storage: simplify pool.volumes usage
Add convenient collection wrapper for easier getting selected volume.
Storage pool implementation may still provide only volume listing
function (pool.list_volumes), or, additionally, optimized
pool.get_volume.

This means it is both possible to iterate over volumes:
```python
for volume in pool.volumes:
    ...

```

And get a single volume:
```python
volume = pool.volumes[vid]
```

QubesOS/qubes-issues#2256
2017-06-26 13:09:26 +02:00
..
api api/admin: skip firewall in vm.Clone 2017-06-26 13:07:19 +02:00
ext ext/admin: add explanation to PermissionDenied 2017-06-22 13:21:37 +02:00
qmemman qmemman: fix units on meminfo parsing 2017-06-21 06:34:00 +02:00
storage storage: simplify pool.volumes usage 2017-06-26 13:09:26 +02:00
tests api/admin: skip firewall in vm.Clone 2017-06-26 13:07:19 +02:00
tools Merge branch 'core3-qmemman-fix' 2017-06-22 23:16:35 +02:00
vm Merge branch 'core3-devel-20170619' 2017-06-23 02:53:17 +02:00
__init__.py property: add property.__str__ 2017-05-19 18:49:21 +02:00
app.py app: fix registering libvirt event handler 2017-06-20 12:47:00 +02:00
backup.py backup: add a little more usage info, include docs in main index 2017-04-21 19:58:32 +02:00
config.py vm: make vm.hvm=True by default 2017-06-05 23:38:30 +02:00
core2migration.py Make pylint ♥ 2017-04-15 23:50:11 +02:00
devices.py Merge remote-tracking branch 'qubesos/pr/111' 2017-06-12 23:22:55 +02:00
dochelpers.py Add documentation for mgmt 2017-03-13 21:51:52 +01:00
events.py events: add support for per-instance handlers 2017-05-12 14:25:32 +02:00
exc.py admin: implement admin.vm.tag.* 2017-06-20 00:54:16 +02:00
firewall.py firewall: add clone and comparing methods, missing docstrings 2017-05-16 09:05:00 +02:00
log.py qubes: port core to python3 2017-01-20 16:42:51 +01:00
rngdoc.py Make pylint happy 2017-04-21 16:57:35 +02:00
tarwriter.py Make pylint happy 2017-04-21 16:57:35 +02:00
utils.py Make pylint happy 2017-04-21 16:57:35 +02:00