[Kimchi-devel] [PATCH v4 0/4] Transient Object Handling
Royce Lv
lvroyce at linux.vnet.ibm.com
Mon Feb 2 06:37:37 UTC 2015
Reviewed-by: Royce Lv<lvroyce at linux.vnet.ibm.com>
On 01/30/2015 12:15 PM, Christy Perez wrote:
> In order to prevent benign error messages from being displayed to the
> user, some POST requests for transient objects should be handled as
> special cases.
>
> This patchset introduces a way to mark an action as destructive
> so that the subsequent GET after a POST is bypassed. It also
> adds that logic to the three types of transient objects
> that Kimchi deals with: VMs, Networks, and Storage Pools.
>
> It also prevents Delete from being called on a VM, but does not
> need to prevent delete for the other objects as it does not
> apply.
>
> 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 | 15 ++++++++++-----
> src/kimchi/control/networks.py | 3 ++-
> src/kimchi/control/storagepools.py | 4 ++--
> src/kimchi/control/vms.py | 9 ++++++---
> src/kimchi/i18n.py | 1 +
> src/kimchi/model/vms.py | 3 +++
> 6 files changed, 24 insertions(+), 11 deletions(-)
>
More information about the Kimchi-devel
mailing list