From: chandrureddy <chandra(a)linux.vnet.ibm.com>
UI was using REST API 'plugins/kimchi/vms' to get the vms prior ginger base
Ginger Base should handle on both plain linux vs linux with KVM capabilities.
Changes made to take care shutdown or reboot actions triggered:
1. send error message in case vms are running.
2. send success in case vms are not running on KVM or plain linux
will trigger shutdown or reboot action in this case.
chandrureddy (1):
shutdown and reboot actions on plain linux vs linux with KVM
src/wok/plugins/gingerbase/i18n.py | 1 +
src/wok/plugins/gingerbase/model/host.py | 47 +++++++++++++++-------
.../gingerbase/ui/js/src/gingerbase.host.js | 27 +++++++------
src/wok/plugins/gingerbase/ui/pages/i18n.json.tmpl | 3 ++
4 files changed, 51 insertions(+), 27 deletions(-)
--
2.1.0