[Kimchi-devel] [PATCH 0/2 V2] Do not allow user disable/delete a network used by VM or template

Aline Manera alinefm at linux.vnet.ibm.com
Thu Mar 13 02:29:35 UTC 2014


From: Aline Manera <alinefm at br.ibm.com>

v1 -> V2:
- Update test cases (by Royce)
- Make function names uniform (by Ming)

Aline Manera (2):
  Do not allow user disable/delete a network used by VM or template
  UI: Disable stop/undefine buttons when network is in use

 docs/API.md                     |    2 ++
 src/kimchi/control/networks.py  |    1 +
 src/kimchi/i18n.py              |    4 ++--
 src/kimchi/mockmodel.py         |   24 ++++++++++++++++++++++++
 src/kimchi/model/networks.py    |   31 +++++++++++++++++++++++++++----
 tests/test_model.py             |   18 +++++++++++++++---
 tests/test_rest.py              |   12 ++++++++++--
 ui/js/src/kimchi.network.js     |   27 ++++++++++++++++++++-------
 ui/pages/tabs/network.html.tmpl |    2 +-
 9 files changed, 102 insertions(+), 19 deletions(-)

-- 
1.7.10.4




More information about the Kimchi-devel mailing list