[Kimchi-devel] [PATCH V6 0/7] template supports networks

shaohef at linux.vnet.ibm.com shaohef at linux.vnet.ibm.com
Thu Jan 2 10:22:30 UTC 2014


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

V5 -> V6
address ming's commnet.
raise InvalidParameter instead of NotFoundError when netowrk specified by template does not exist 

V4 -> V5:
rebase to the latest commit. 
for "move RollbackContext..." merged.

V3 -> V4:
after template supports networks, we should change the test case accordingly
aline refactor controller, rebase to the latest commit. 

V2 -> V3:
fix typo.
support creating a vm without network.

V1 -> V2:
update mockmodel and test case 

add 'networks' option for template get/create/update

ShaoHe Feng (7):
  template supports networks: let template xml support more networks
  template supports networks: fix test case
  template supports networks: update API
  template supports networks: update controller and json schema
  template supports networks: update model
  template supports networks: update mockmodel
  template supports networks: update test case

 docs/API.md                     |  4 ++
 src/kimchi/API.json             | 12 ++++++
 src/kimchi/control/templates.py |  3 +-
 src/kimchi/mockmodel.py         | 16 +++++++-
 src/kimchi/model.py             | 33 ++++++++++++-----
 src/kimchi/osinfo.py            |  5 ++-
 src/kimchi/vmtemplate.py        | 20 ++++++++--
 tests/test_model.py             | 82 ++++++++++++++++++++++++++++++++---------
 tests/test_osinfo.py            |  2 +-
 tests/test_rest.py              | 58 +++++++++++++++++++++++++++++
 tests/test_vmtemplate.py        |  6 +--
 11 files changed, 201 insertions(+), 40 deletions(-)

-- 
1.8.4.2




More information about the Kimchi-devel mailing list