V2:
- Add devices to mockmodel and add test cases to rest API
- Assign name automatically to new devices, if not passed by user
- Fix minor errors
V1:
This patch set implements host storage devices management.
It implements full CDROM device add, remove and update functionality.
It implements basic Disk functionalities.
Rodrigo Trujillo (4):
Add storage sub-collection to sub-resource to guest resource
Update controller and API.json for guest storages
Devices management model implementation
Guest vm storage devices mockmodel and rest api test cases
docs/API.md | 22 +++++
src/kimchi/API.json | 33 +++++++
src/kimchi/control/vm/storages.py | 49 ++++++++++
src/kimchi/mockmodel.py | 63 +++++++++++++
src/kimchi/model/vms.py | 190 +++++++++++++++++++++++++++++++++++++-
src/kimchi/xmlutils.py | 5 +
tests/test_rest.py | 73 +++++++++++++++
7 files changed, 434 insertions(+), 1 deletion(-)
create mode 100644 src/kimchi/control/vm/storages.py
--
1.8.5.3