[Kimchi-devel] [PATCH v2 0/4] Transient Object Handling

Christy Perez christy at linux.vnet.ibm.com
Mon Jan 19 21:49:13 UTC 2015


In order to prevent benign error messages from the user,
some POST requests for transient objects should be
handled as special cases.

This patchset introduces a way to catch an error on the
subsequent GET after a POST, and also implments it
for the three types of transient objects that Kimchi
deals with: VMs, Networks, and Storage Pools.


Christy Perez (4):
  Handle requests differently for transient objects
  Transient VM POST request handling
  Transient Network POST request handling
  Transient StoragePool POST request handling

 src/kimchi/control/base.py         | 13 +++++++++----
 src/kimchi/control/networks.py     | 11 +++++++++--
 src/kimchi/control/storagepools.py | 11 +++++++++--
 src/kimchi/control/vms.py          | 18 ++++++++++++++----
 src/kimchi/i18n.py                 |  1 +
 src/kimchi/model/networks.py       |  6 +++++-
 src/kimchi/model/storagepools.py   |  8 ++++++--
 src/kimchi/model/vms.py            |  9 ++++++++-
 8 files changed, 61 insertions(+), 16 deletions(-)

-- 
1.9.3




More information about the Kimchi-devel mailing list