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

shaohef at linux.vnet.ibm.com shaohef at linux.vnet.ibm.com
Tue Dec 31 12:49:32 UTC 2013


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

V3 -> V4:
after template supports networks, we should change the test case accordingly
aline refactor controller, rebase on 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         |  7 +++-
 src/kimchi/model.py             | 25 +++++++-----
 src/kimchi/osinfo.py            |  5 ++-
 src/kimchi/vmtemplate.py        | 20 ++++++++--
 tests/test_model.py             | 86 ++++++++++++++++++++++++++++++++---------
 tests/test_osinfo.py            |  2 +-
 tests/test_rest.py              | 56 +++++++++++++++++++++++++++
 tests/test_vmtemplate.py        |  6 +--
 11 files changed, 185 insertions(+), 41 deletions(-)

-- 
1.8.4.2




More information about the Kimchi-devel mailing list