[Kimchi-devel] [PATCH V3 0/4] Implement integrity verification: verify template integrity

shaohef at linux.vnet.ibm.com shaohef at linux.vnet.ibm.com
Fri Feb 21 06:59:24 UTC 2014


From: ShaoHe Feng <shaohef at linux.vnet.ibm.com>

V2 -> V3
use listNetworks() + listDefinedNetworks() instead of listAllNetworks()

V1 -> V2
rename invalid_integrity to validate_integrity
change list to array in API.md
list is the python semantic, array is json semantic.

Implement integrity verification: verify template integrity, update API.md
   
Sometimes, user create a template, but networks, cdrom, disks or
storagepool will change later.
So users can not create a vm from this template successfully.
It is necessary to check some paramenters of template.

ShaoHe Feng (4):
  Implement integrity verification: verify template integrity, update
    API.md
  add a new method to get iso info for VMTemplate class
  Implement integrity verification: verify template integrity in backend
  Implement integrity verification: update test case

 docs/API.md                     |  4 +++
 src/kimchi/control/templates.py |  1 +
 src/kimchi/mockmodel.py         |  5 +++-
 src/kimchi/model/templates.py   |  7 +++++-
 src/kimchi/vmtemplate.py        | 54 ++++++++++++++++++++++++++++++++---------
 tests/test_model.py             | 33 +++++++++++++++++++++++++
 tests/test_rest.py              | 40 ++++++++++++++++++++++++++++++
 7 files changed, 131 insertions(+), 13 deletions(-)

-- 
1.8.4.2




More information about the Kimchi-devel mailing list