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

shaohef at linux.vnet.ibm.com shaohef at linux.vnet.ibm.com
Thu Feb 20 06:00:45 UTC 2014


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

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