[PATCH 0/2] Adding new-ui to Wok and Kimchi-Hosts (pre-gingerbase) v2
by sguimaraes943@gmail.com
From: samhenri <samuel.guimaraes(a)eldorado.org.br>
Refactored patches 5/6 and 6/6 from previous patchset to include some bug-fixes.
Kimchi/Hosts was updated with new-ui pre-gingerbase. Some CSS were left empty to avoid conflicts with git rm and git mv from other patches.
Please note that some styles, modal windows and buttons may stop working or display incorrectly since this patch includes the new-ui main template that ignores theme-default.min.css rules that were overriding Bootstrap styles in the new-ui.
v2:
Patch 1 - Separated wok.confirm.js from wok.message.js and fixed header icon when no title was given to confirm dialog
- Updated login page to not save user and password information (since we're dealing with O.S users I believe it is not a good idea to allow browsers to remember root username and password)
- Fixed minor bugs in wok.list.js. Added a button on top of the list if no debug report was previously generated. Disabled drop-down button when generating new report. Added loading icon to when generating report.
Patch 2 - Updated kimchi.hosts.js with necessary DOM manipulation after Patch 1 v2 changes in wok.list.js.
samhenri (2):
Adding new-ui JS, images and base template files
Adding new-ui to Hosts tab and modal windows
src/wok/plugins/kimchi/ui/config/tab-ext.xml | 10 +-
.../plugins/kimchi/ui/css/theme-default/host.css | 270 ---------
.../kimchi/ui/css/theme-default/report-add.css | 20 -
.../kimchi/ui/css/theme-default/report-rename.css | 22 -
.../kimchi/ui/css/theme-default/repository-add.css | 25 -
.../ui/css/theme-default/repository-edit.css | 62 ---
src/wok/plugins/kimchi/ui/js/src/kimchi.api.js | 39 ++
src/wok/plugins/kimchi/ui/js/src/kimchi.host.js | 614 +++++++++++----------
src/wok/plugins/kimchi/ui/pages/host.html.tmpl | 207 +++----
.../plugins/kimchi/ui/pages/report-add.html.tmpl | 46 +-
.../kimchi/ui/pages/report-rename.html.tmpl | 42 +-
.../kimchi/ui/pages/repository-add.html.tmpl | 124 ++---
.../kimchi/ui/pages/repository-edit.html.tmpl | 138 ++---
ui/css/src/bootstrap-select.custom.scss | 1 +
ui/css/src/modules/_host.scss | 3 +-
ui/css/src/modules/_menu-flat.scss | 6 +-
ui/css/src/modules/_modal-flat.scss | 2 +-
ui/css/src/modules/_navbar-flat.scss | 4 +-
ui/css/src/modules/_toolbar.scss | 24 +-
ui/css/src/modules/_wok-confirm.scss | 42 ++
ui/css/src/modules/_wok-grid.scss | 24 +
ui/css/src/wok.scss | 6 +-
ui/images/theme-default/Makefile.am | 2 +-
ui/images/theme-default/logo-flat.svg | 43 ++
ui/images/theme-default/logo-white.png | Bin 9879 -> 7583 bytes
ui/js/src/wok.confirm.js | 91 +++
ui/js/src/wok.grid.js | 416 ++++----------
ui/js/src/wok.line-chart.js | 74 ++-
ui/js/src/wok.list.js | 302 ++++++++++
ui/js/src/wok.login.js | 9 +-
ui/js/src/wok.main.js | 37 +-
ui/js/src/wok.message.js | 96 +---
ui/js/src/wok.window.js | 38 +-
ui/pages/login.html.tmpl | 186 ++++---
ui/pages/wok-ui.html.tmpl | 219 ++++----
35 files changed, 1548 insertions(+), 1696 deletions(-)
create mode 100644 ui/css/src/modules/_wok-confirm.scss
create mode 100644 ui/images/theme-default/logo-flat.svg
create mode 100644 ui/js/src/wok.confirm.js
create mode 100644 ui/js/src/wok.list.js
--
1.9.3
9 years, 2 months
[RFC] Live migration backend + API
by Daniel Henrique Barboza
Hi,
Live migration will be one of the new features for Kimchi 2.0 and I've
been investigating it for a week or so. This is how I'm planning to
implement it:
- API:
The API will be similar to the API of the 'cloneGuest', but with extra
parameters:
url : 'plugins/kimchi/vms/' +'vm_name' + "/migrate"
type: 'POST'
parameters:
* destination: the IP address of the destination host
* (optional, not sure if applicable) password: the password to log in
the destination via ssh tunnel
In my opinion we can start with a 'migrate' button in the options of the
VM, which will open up a new window to insert the destination IP
address. This of course thinking about the old UI. I believe we can do
whatever it is done with the 'Clone' function in the case of the new UI,
with this extra window.
As the migration might take a while, we'll need a progress bar or
something to demonstrate that the progress is still ongoing. Again, the
same thing as clone does :)
- backend and core functionality:
This is where it gets tricky. Libvirt has *a lot* of ways to do a live
migration between hosts. My approach, at least for this first attempt,
will be focusing in a single way, implement it, stabilize it and then
extend it to the other migration types, if necessary.
Same thing goes for the preset up. The only way I managed to do a live
migration was with a NFS storage pool in both hosts, same name and same
NFS server. This shared storage is necessary because the live migration
will *not* copy the disks of the VM, just the RAM memory. I had to share
ssh keys between the hosts to allow for password less ssh sessions.
At first, I want to relieve this first implementation from this pre
config, which will have to be done entirely by the user. If everything
goes well, I can add a few automation in this process inside the backend
before the 2.0 launch.
Kimchi internals will be implemented by using async task facilities.
Any questions? Comments?
Daniel
9 years, 2 months
[PATCH v4 0/4] Issue 557 - Package Update Improvements - Part II
by Jose Ricardo Ziviani
v4:
- rename API to swupdateprogress
- use configobj instead of parsing manually
v2:
- rebased to master
This patchset implements a simple monitor for package update. When the
host tab is selected, it verifies whether a package manager is already
running in the system. If so, the software update progress window, in
the host tab, will display the contents of the package manager logfile.
Thus, the user will know the progress of a package update even if it was
not started up by Kimchi (or if wokd was restarted for any reason).
Jose Ricardo Ziviani (4):
Add functions for package manager monitoring
Implement the package manager monitor backend
Implement the package manager monitor frontend
Update the documentation
src/wok/control/base.py | 18 ++++
src/wok/plugins/kimchi/control/host.py | 15 ++-
src/wok/plugins/kimchi/docs/API.md | 3 +
src/wok/plugins/kimchi/i18n.py | 1 +
src/wok/plugins/kimchi/model/host.py | 16 +++
src/wok/plugins/kimchi/swupdate.py | 138 ++++++++++++++++++++++++
src/wok/plugins/kimchi/ui/js/src/kimchi.api.js | 39 +++++++
src/wok/plugins/kimchi/ui/js/src/kimchi.host.js | 29 +++++
src/wok/plugins/kimchi/ui/pages/i18n.json.tmpl | 2 +
9 files changed, 260 insertions(+), 1 deletion(-)
--
1.9.1
9 years, 2 months
[PATCH 00/15] Summary gingerbase plugin code changes
by chandra@linux.vnet.ibm.com
From: chandrureddy <chandra(a)linux.vnet.ibm.com>
Below are the series of patches to separate the host functionality
from plugin kimchi to new plugin gingerbase
chandrureddy (15):
V5 Ginger Base : Taking off the host tab functionality from kimchi
V5 Ginger Base : base folder files part 1
V5 Ginger Base : base folder files part 2
V5 Ginger Base : base plugin docs files
V5 Ginger Base : base plugin build-aix and contrib folders
V5 Ginger Base : base plugin m4 files
V5 Ginger Base : control files
V5 Ginger Base : base plugin model files
V5 Ginger Base : base plugin tests files
V5 Ginger Base : base plugin ui/pages/help files
V5 Ginger Base : base plugin ui/pages files
V5 Ginger Base : base plugin ui/js files
V5 Ginger Base : base plugin ui/css files
V5 Ginger Base : base plugin ui make, images and config files
V5 Ginger Base : base plugin po files
src/wok/plugins/gingerbase/API.json | 175 ++
src/wok/plugins/gingerbase/INSTALL | 369 ++++
src/wok/plugins/gingerbase/Makefile.am | 156 ++
src/wok/plugins/gingerbase/README.md | 1 +
src/wok/plugins/gingerbase/VERSION | 1 +
src/wok/plugins/gingerbase/__init__.py | 22 +
src/wok/plugins/gingerbase/autogen.sh | 21 +
src/wok/plugins/gingerbase/build-aux/config.rpath | 672 ++++++
src/wok/plugins/gingerbase/build-aux/genChangelog | 25 +
src/wok/plugins/gingerbase/build-aux/pkg-version | 59 +
src/wok/plugins/gingerbase/config.py.in | 60 +
src/wok/plugins/gingerbase/config.rpath | 672 ++++++
src/wok/plugins/gingerbase/configure.ac | 104 +
.../plugins/gingerbase/contrib/DEBIAN/Makefile.am | 18 +
.../plugins/gingerbase/contrib/DEBIAN/control.in | 14 +
src/wok/plugins/gingerbase/contrib/Makefile.am | 36 +
src/wok/plugins/gingerbase/contrib/check_i18n.py | 83 +
.../gingerbase/contrib/gingerbase.spec.fedora.in | 68 +
.../gingerbase/contrib/gingerbase.spec.suse.in | 62 +
src/wok/plugins/gingerbase/contrib/make-deb.sh.in | 15 +
src/wok/plugins/gingerbase/control/Makefile.am | 26 +
src/wok/plugins/gingerbase/control/__init__.py | 27 +
src/wok/plugins/gingerbase/control/config.py | 42 +
src/wok/plugins/gingerbase/control/cpuinfo.py | 38 +
src/wok/plugins/gingerbase/control/debugreports.py | 62 +
src/wok/plugins/gingerbase/control/host.py | 146 ++
src/wok/plugins/gingerbase/disks.py | 197 ++
src/wok/plugins/gingerbase/docs/API.md | 314 +++
src/wok/plugins/gingerbase/docs/Makefile.am | 27 +
src/wok/plugins/gingerbase/docs/README.md | 201 ++
.../gingerbase/docs/gingerbase-host-tab.png | Bin 0 -> 79669 bytes
src/wok/plugins/gingerbase/docs/kimchi-login.png | Bin 0 -> 318041 bytes
src/wok/plugins/gingerbase/gingerbase.conf | 31 +
src/wok/plugins/gingerbase/gingerbase.py | 62 +
src/wok/plugins/gingerbase/i18n.py | 95 +
src/wok/plugins/gingerbase/lscpu.py | 126 ++
src/wok/plugins/gingerbase/m4/ac_python_module.m4 | 30 +
src/wok/plugins/gingerbase/m4/gettext.m4 | 383 ++++
src/wok/plugins/gingerbase/m4/iconv.m4 | 214 ++
src/wok/plugins/gingerbase/m4/intlmacosx.m4 | 51 +
src/wok/plugins/gingerbase/m4/lib-ld.m4 | 110 +
src/wok/plugins/gingerbase/m4/lib-link.m4 | 774 +++++++
src/wok/plugins/gingerbase/m4/lib-prefix.m4 | 224 ++
src/wok/plugins/gingerbase/m4/nls.m4 | 32 +
src/wok/plugins/gingerbase/m4/po.m4 | 449 ++++
src/wok/plugins/gingerbase/m4/progtest.m4 | 92 +
src/wok/plugins/gingerbase/mockmodel.py | 219 ++
src/wok/plugins/gingerbase/model/Makefile.am | 26 +
src/wok/plugins/gingerbase/model/__init__.py | 19 +
src/wok/plugins/gingerbase/model/config.py | 82 +
src/wok/plugins/gingerbase/model/cpuinfo.py | 104 +
src/wok/plugins/gingerbase/model/debugreports.py | 214 ++
src/wok/plugins/gingerbase/model/host.py | 427 ++++
src/wok/plugins/gingerbase/model/model.py | 54 +
src/wok/plugins/gingerbase/po/LINGUAS | 11 +
src/wok/plugins/gingerbase/po/Makefile.in.in | 398 ++++
src/wok/plugins/gingerbase/po/Makevars | 41 +
src/wok/plugins/gingerbase/po/POTFILES.in | 3 +
src/wok/plugins/gingerbase/po/de_DE.po | 2250 +++++++++++++++++++
src/wok/plugins/gingerbase/po/en_US.po | 2092 ++++++++++++++++++
src/wok/plugins/gingerbase/po/es_ES.po | 2268 +++++++++++++++++++
src/wok/plugins/gingerbase/po/fr_FR.po | 2290 ++++++++++++++++++++
src/wok/plugins/gingerbase/po/gen-pot.in | 9 +
src/wok/plugins/gingerbase/po/gingerbase.pot | 2074 ++++++++++++++++++
src/wok/plugins/gingerbase/po/it_IT.po | 2237 +++++++++++++++++++
src/wok/plugins/gingerbase/po/ja_JP.po | 2233 +++++++++++++++++++
src/wok/plugins/gingerbase/po/ko_KR.po | 2163 ++++++++++++++++++
src/wok/plugins/gingerbase/po/pt_BR.po | 2289 +++++++++++++++++++
src/wok/plugins/gingerbase/po/ru_RU.po | 2165 ++++++++++++++++++
src/wok/plugins/gingerbase/po/zh_CN.po | 2117 ++++++++++++++++++
src/wok/plugins/gingerbase/po/zh_TW.po | 2105 ++++++++++++++++++
src/wok/plugins/gingerbase/repositories.py | 535 +++++
src/wok/plugins/gingerbase/swupdate.py | 277 +++
src/wok/plugins/gingerbase/tests/Makefile.am | 50 +
src/wok/plugins/gingerbase/tests/run_tests.sh.in | 56 +
src/wok/plugins/gingerbase/tests/test_config.py.in | 125 ++
src/wok/plugins/gingerbase/tests/test_host.py | 153 ++
src/wok/plugins/gingerbase/tests/test_model.py | 275 +++
src/wok/plugins/gingerbase/tests/test_rest.py | 184 ++
src/wok/plugins/gingerbase/tests/test_yumparser.py | 164 ++
src/wok/plugins/gingerbase/tests/utils.py | 261 +++
src/wok/plugins/gingerbase/ui/Makefile.am | 21 +
src/wok/plugins/gingerbase/ui/config/Makefile.am | 23 +
src/wok/plugins/gingerbase/ui/config/tab-ext.xml | 10 +
src/wok/plugins/gingerbase/ui/css/Makefile.am | 27 +
.../gingerbase/ui/css/theme-default/host.css | 288 +++
.../gingerbase/ui/css/theme-default/report-add.css | 38 +
.../ui/css/theme-default/report-rename.css | 40 +
.../ui/css/theme-default/repository-add.css | 43 +
.../ui/css/theme-default/repository-edit.css | 89 +
src/wok/plugins/gingerbase/ui/images/Makefile.am | 23 +
src/wok/plugins/gingerbase/ui/images/icon-vm.png | Bin 0 -> 2976 bytes
src/wok/plugins/gingerbase/ui/images/logo.ico | Bin 0 -> 1214 bytes
.../gingerbase/ui/images/theme-default/Makefile.am | 21 +
.../ui/images/theme-default/host-icon-sprite.png | Bin 0 -> 1034 bytes
.../images/theme-default/kimchi-loading15x15.gif | Bin 0 -> 1653 bytes
src/wok/plugins/gingerbase/ui/js/Makefile.am | 28 +
.../plugins/gingerbase/ui/js/src/gingerbase.api.js | 372 ++++
.../gingerbase/ui/js/src/gingerbase.host.js | 860 ++++++++
.../gingerbase/ui/js/src/gingerbase.main.js | 27 +
.../ui/js/src/gingerbase.report_add_main.js | 73 +
.../ui/js/src/gingerbase.report_rename_main.js | 67 +
.../ui/js/src/gingerbase.repository_add_main.js | 97 +
.../ui/js/src/gingerbase.repository_edit_main.js | 75 +
src/wok/plugins/gingerbase/ui/pages/Makefile.am | 23 +
.../plugins/gingerbase/ui/pages/help/Makefile.am | 38 +
.../gingerbase/ui/pages/help/de_DE/Makefile.am | 27 +
.../gingerbase/ui/pages/help/de_DE/host.dita | 49 +
.../plugins/gingerbase/ui/pages/help/dita-help.xsl | 26 +
.../gingerbase/ui/pages/help/en_US/Makefile.am | 27 +
.../gingerbase/ui/pages/help/en_US/host.dita | 68 +
.../gingerbase/ui/pages/help/es_ES/Makefile.am | 27 +
.../gingerbase/ui/pages/help/es_ES/host.dita | 49 +
.../gingerbase/ui/pages/help/fr_FR/Makefile.am | 27 +
.../gingerbase/ui/pages/help/fr_FR/host.dita | 65 +
.../gingerbase/ui/pages/help/gingerbase.css | 209 ++
.../gingerbase/ui/pages/help/it_IT/Makefile.am | 27 +
.../gingerbase/ui/pages/help/it_IT/host.dita | 51 +
.../gingerbase/ui/pages/help/ja_JP/Makefile.am | 27 +
.../gingerbase/ui/pages/help/ja_JP/host.dita | 69 +
.../gingerbase/ui/pages/help/ko_KR/Makefile.am | 27 +
.../gingerbase/ui/pages/help/ko_KR/host.dita | 51 +
.../gingerbase/ui/pages/help/pt_BR/Makefile.am | 27 +
.../gingerbase/ui/pages/help/pt_BR/host.dita | 72 +
.../gingerbase/ui/pages/help/ru_RU/Makefile.am | 27 +
.../gingerbase/ui/pages/help/ru_RU/host.dita | 48 +
.../gingerbase/ui/pages/help/zh_CN/Makefile.am | 27 +
.../gingerbase/ui/pages/help/zh_CN/host.dita | 45 +
.../gingerbase/ui/pages/help/zh_TW/Makefile.am | 27 +
.../gingerbase/ui/pages/help/zh_TW/host.dita | 49 +
src/wok/plugins/gingerbase/ui/pages/host.html.tmpl | 178 ++
src/wok/plugins/gingerbase/ui/pages/i18n.json.tmpl | 149 ++
.../gingerbase/ui/pages/report-add.html.tmpl | 57 +
.../gingerbase/ui/pages/report-rename.html.tmpl | 57 +
.../gingerbase/ui/pages/repository-add.html.tmpl | 114 +
.../gingerbase/ui/pages/repository-edit.html.tmpl | 118 +
src/wok/plugins/gingerbase/yumparser.py | 354 +++
src/wok/plugins/kimchi/API.json | 134 --
src/wok/plugins/kimchi/Makefile.am | 3 +-
src/wok/plugins/kimchi/config.py.in | 4 -
src/wok/plugins/kimchi/control/debugreports.py | 61 -
src/wok/plugins/kimchi/control/host.py | 99 +-
src/wok/plugins/kimchi/disks.py | 196 --
src/wok/plugins/kimchi/docs/README.md | 6 +-
src/wok/plugins/kimchi/i18n.py | 52 -
src/wok/plugins/kimchi/kimchi.conf | 7 -
src/wok/plugins/kimchi/mockmodel.py | 146 +-
src/wok/plugins/kimchi/model/config.py | 21 -
src/wok/plugins/kimchi/model/debugreports.py | 213 --
src/wok/plugins/kimchi/model/host.py | 334 +--
src/wok/plugins/kimchi/repositories.py | 533 -----
src/wok/plugins/kimchi/root.py | 1 -
src/wok/plugins/kimchi/swupdate.py | 274 ---
src/wok/plugins/kimchi/tests/test_authorization.py | 6 -
src/wok/plugins/kimchi/tests/test_config.py.in | 8 -
src/wok/plugins/kimchi/tests/test_host.py | 97 +-
src/wok/plugins/kimchi/tests/test_model.py | 239 +-
src/wok/plugins/kimchi/tests/test_rest.py | 54 -
src/wok/plugins/kimchi/tests/test_yumparser.py | 162 --
src/wok/plugins/kimchi/ui/config/tab-ext.xml | 7 -
.../plugins/kimchi/ui/css/theme-default/host.css | 287 ---
.../kimchi/ui/css/theme-default/report-add.css | 37 -
.../kimchi/ui/css/theme-default/report-rename.css | 39 -
.../kimchi/ui/css/theme-default/repository-add.css | 42 -
.../ui/css/theme-default/repository-edit.css | 88 -
src/wok/plugins/kimchi/ui/js/src/kimchi.host.js | 858 --------
.../kimchi/ui/js/src/kimchi.report_add_main.js | 72 -
.../kimchi/ui/js/src/kimchi.report_rename_main.js | 66 -
.../kimchi/ui/js/src/kimchi.repository_add_main.js | 96 -
.../ui/js/src/kimchi.repository_edit_main.js | 74 -
.../plugins/kimchi/ui/pages/help/de_DE/host.dita | 49 -
.../plugins/kimchi/ui/pages/help/en_US/host.dita | 68 -
.../plugins/kimchi/ui/pages/help/es_ES/host.dita | 49 -
.../plugins/kimchi/ui/pages/help/fr_FR/host.dita | 65 -
.../plugins/kimchi/ui/pages/help/it_IT/host.dita | 51 -
.../plugins/kimchi/ui/pages/help/ja_JP/host.dita | 69 -
.../plugins/kimchi/ui/pages/help/ko_KR/host.dita | 51 -
.../plugins/kimchi/ui/pages/help/pt_BR/host.dita | 72 -
.../plugins/kimchi/ui/pages/help/ru_RU/host.dita | 48 -
.../plugins/kimchi/ui/pages/help/zh_CN/host.dita | 45 -
.../plugins/kimchi/ui/pages/help/zh_TW/host.dita | 49 -
src/wok/plugins/kimchi/ui/pages/host.html.tmpl | 177 --
.../plugins/kimchi/ui/pages/report-add.html.tmpl | 56 -
.../kimchi/ui/pages/report-rename.html.tmpl | 56 -
.../kimchi/ui/pages/repository-add.html.tmpl | 113 -
.../kimchi/ui/pages/repository-edit.html.tmpl | 117 -
src/wok/plugins/kimchi/yumparser.py | 353 ---
187 files changed, 40827 insertions(+), 5791 deletions(-)
create mode 100644 src/wok/plugins/gingerbase/API.json
create mode 100644 src/wok/plugins/gingerbase/INSTALL
create mode 100644 src/wok/plugins/gingerbase/Makefile.am
create mode 120000 src/wok/plugins/gingerbase/README.md
create mode 100644 src/wok/plugins/gingerbase/VERSION
create mode 100644 src/wok/plugins/gingerbase/__init__.py
create mode 100755 src/wok/plugins/gingerbase/autogen.sh
create mode 100644 src/wok/plugins/gingerbase/build-aux/config.rpath
create mode 100755 src/wok/plugins/gingerbase/build-aux/genChangelog
create mode 100755 src/wok/plugins/gingerbase/build-aux/pkg-version
create mode 100644 src/wok/plugins/gingerbase/config.py.in
create mode 100644 src/wok/plugins/gingerbase/config.rpath
create mode 100644 src/wok/plugins/gingerbase/configure.ac
create mode 100644 src/wok/plugins/gingerbase/contrib/DEBIAN/Makefile.am
create mode 100644 src/wok/plugins/gingerbase/contrib/DEBIAN/control.in
create mode 100644 src/wok/plugins/gingerbase/contrib/Makefile.am
create mode 100755 src/wok/plugins/gingerbase/contrib/check_i18n.py
create mode 100644 src/wok/plugins/gingerbase/contrib/gingerbase.spec.fedora.in
create mode 100644 src/wok/plugins/gingerbase/contrib/gingerbase.spec.suse.in
create mode 100644 src/wok/plugins/gingerbase/contrib/make-deb.sh.in
create mode 100644 src/wok/plugins/gingerbase/control/Makefile.am
create mode 100644 src/wok/plugins/gingerbase/control/__init__.py
create mode 100644 src/wok/plugins/gingerbase/control/config.py
create mode 100644 src/wok/plugins/gingerbase/control/cpuinfo.py
create mode 100644 src/wok/plugins/gingerbase/control/debugreports.py
create mode 100644 src/wok/plugins/gingerbase/control/host.py
create mode 100644 src/wok/plugins/gingerbase/disks.py
create mode 100644 src/wok/plugins/gingerbase/docs/API.md
create mode 100644 src/wok/plugins/gingerbase/docs/Makefile.am
create mode 100644 src/wok/plugins/gingerbase/docs/README.md
create mode 100644 src/wok/plugins/gingerbase/docs/gingerbase-host-tab.png
create mode 100644 src/wok/plugins/gingerbase/docs/kimchi-login.png
create mode 100644 src/wok/plugins/gingerbase/gingerbase.conf
create mode 100644 src/wok/plugins/gingerbase/gingerbase.py
create mode 100644 src/wok/plugins/gingerbase/i18n.py
create mode 100644 src/wok/plugins/gingerbase/lscpu.py
create mode 100644 src/wok/plugins/gingerbase/m4/ac_python_module.m4
create mode 100644 src/wok/plugins/gingerbase/m4/gettext.m4
create mode 100644 src/wok/plugins/gingerbase/m4/iconv.m4
create mode 100644 src/wok/plugins/gingerbase/m4/intlmacosx.m4
create mode 100644 src/wok/plugins/gingerbase/m4/lib-ld.m4
create mode 100644 src/wok/plugins/gingerbase/m4/lib-link.m4
create mode 100644 src/wok/plugins/gingerbase/m4/lib-prefix.m4
create mode 100644 src/wok/plugins/gingerbase/m4/nls.m4
create mode 100644 src/wok/plugins/gingerbase/m4/po.m4
create mode 100644 src/wok/plugins/gingerbase/m4/progtest.m4
create mode 100644 src/wok/plugins/gingerbase/mockmodel.py
create mode 100644 src/wok/plugins/gingerbase/model/Makefile.am
create mode 100644 src/wok/plugins/gingerbase/model/__init__.py
create mode 100644 src/wok/plugins/gingerbase/model/config.py
create mode 100644 src/wok/plugins/gingerbase/model/cpuinfo.py
create mode 100644 src/wok/plugins/gingerbase/model/debugreports.py
create mode 100644 src/wok/plugins/gingerbase/model/host.py
create mode 100644 src/wok/plugins/gingerbase/model/model.py
create mode 100644 src/wok/plugins/gingerbase/po/LINGUAS
create mode 100644 src/wok/plugins/gingerbase/po/Makefile.in.in
create mode 100644 src/wok/plugins/gingerbase/po/Makevars
create mode 100644 src/wok/plugins/gingerbase/po/POTFILES.in
create mode 100644 src/wok/plugins/gingerbase/po/de_DE.po
create mode 100644 src/wok/plugins/gingerbase/po/en_US.po
create mode 100644 src/wok/plugins/gingerbase/po/es_ES.po
create mode 100644 src/wok/plugins/gingerbase/po/fr_FR.po
create mode 100644 src/wok/plugins/gingerbase/po/gen-pot.in
create mode 100755 src/wok/plugins/gingerbase/po/gingerbase.pot
create mode 100644 src/wok/plugins/gingerbase/po/it_IT.po
create mode 100644 src/wok/plugins/gingerbase/po/ja_JP.po
create mode 100644 src/wok/plugins/gingerbase/po/ko_KR.po
create mode 100644 src/wok/plugins/gingerbase/po/pt_BR.po
create mode 100644 src/wok/plugins/gingerbase/po/ru_RU.po
create mode 100644 src/wok/plugins/gingerbase/po/zh_CN.po
create mode 100644 src/wok/plugins/gingerbase/po/zh_TW.po
create mode 100644 src/wok/plugins/gingerbase/repositories.py
create mode 100644 src/wok/plugins/gingerbase/swupdate.py
create mode 100644 src/wok/plugins/gingerbase/tests/Makefile.am
create mode 100644 src/wok/plugins/gingerbase/tests/run_tests.sh.in
create mode 100644 src/wok/plugins/gingerbase/tests/test_config.py.in
create mode 100644 src/wok/plugins/gingerbase/tests/test_host.py
create mode 100644 src/wok/plugins/gingerbase/tests/test_model.py
create mode 100644 src/wok/plugins/gingerbase/tests/test_rest.py
create mode 100644 src/wok/plugins/gingerbase/tests/test_yumparser.py
create mode 100644 src/wok/plugins/gingerbase/tests/utils.py
create mode 100644 src/wok/plugins/gingerbase/ui/Makefile.am
create mode 100644 src/wok/plugins/gingerbase/ui/config/Makefile.am
create mode 100644 src/wok/plugins/gingerbase/ui/config/tab-ext.xml
create mode 100644 src/wok/plugins/gingerbase/ui/css/Makefile.am
create mode 100644 src/wok/plugins/gingerbase/ui/css/theme-default/host.css
create mode 100644 src/wok/plugins/gingerbase/ui/css/theme-default/report-add.css
create mode 100644 src/wok/plugins/gingerbase/ui/css/theme-default/report-rename.css
create mode 100644 src/wok/plugins/gingerbase/ui/css/theme-default/repository-add.css
create mode 100644 src/wok/plugins/gingerbase/ui/css/theme-default/repository-edit.css
create mode 100644 src/wok/plugins/gingerbase/ui/images/Makefile.am
create mode 100644 src/wok/plugins/gingerbase/ui/images/icon-vm.png
create mode 100644 src/wok/plugins/gingerbase/ui/images/logo.ico
create mode 100644 src/wok/plugins/gingerbase/ui/images/theme-default/Makefile.am
create mode 100644 src/wok/plugins/gingerbase/ui/images/theme-default/host-icon-sprite.png
create mode 100644 src/wok/plugins/gingerbase/ui/images/theme-default/kimchi-loading15x15.gif
create mode 100644 src/wok/plugins/gingerbase/ui/js/Makefile.am
create mode 100644 src/wok/plugins/gingerbase/ui/js/src/gingerbase.api.js
create mode 100644 src/wok/plugins/gingerbase/ui/js/src/gingerbase.host.js
create mode 100644 src/wok/plugins/gingerbase/ui/js/src/gingerbase.main.js
create mode 100644 src/wok/plugins/gingerbase/ui/js/src/gingerbase.report_add_main.js
create mode 100644 src/wok/plugins/gingerbase/ui/js/src/gingerbase.report_rename_main.js
create mode 100644 src/wok/plugins/gingerbase/ui/js/src/gingerbase.repository_add_main.js
create mode 100644 src/wok/plugins/gingerbase/ui/js/src/gingerbase.repository_edit_main.js
create mode 100644 src/wok/plugins/gingerbase/ui/pages/Makefile.am
create mode 100644 src/wok/plugins/gingerbase/ui/pages/help/Makefile.am
create mode 100644 src/wok/plugins/gingerbase/ui/pages/help/de_DE/Makefile.am
create mode 100644 src/wok/plugins/gingerbase/ui/pages/help/de_DE/host.dita
create mode 100644 src/wok/plugins/gingerbase/ui/pages/help/dita-help.xsl
create mode 100644 src/wok/plugins/gingerbase/ui/pages/help/en_US/Makefile.am
create mode 100644 src/wok/plugins/gingerbase/ui/pages/help/en_US/host.dita
create mode 100644 src/wok/plugins/gingerbase/ui/pages/help/es_ES/Makefile.am
create mode 100644 src/wok/plugins/gingerbase/ui/pages/help/es_ES/host.dita
create mode 100644 src/wok/plugins/gingerbase/ui/pages/help/fr_FR/Makefile.am
create mode 100644 src/wok/plugins/gingerbase/ui/pages/help/fr_FR/host.dita
create mode 100644 src/wok/plugins/gingerbase/ui/pages/help/gingerbase.css
create mode 100644 src/wok/plugins/gingerbase/ui/pages/help/it_IT/Makefile.am
create mode 100644 src/wok/plugins/gingerbase/ui/pages/help/it_IT/host.dita
create mode 100644 src/wok/plugins/gingerbase/ui/pages/help/ja_JP/Makefile.am
create mode 100644 src/wok/plugins/gingerbase/ui/pages/help/ja_JP/host.dita
create mode 100644 src/wok/plugins/gingerbase/ui/pages/help/ko_KR/Makefile.am
create mode 100644 src/wok/plugins/gingerbase/ui/pages/help/ko_KR/host.dita
create mode 100644 src/wok/plugins/gingerbase/ui/pages/help/pt_BR/Makefile.am
create mode 100644 src/wok/plugins/gingerbase/ui/pages/help/pt_BR/host.dita
create mode 100644 src/wok/plugins/gingerbase/ui/pages/help/ru_RU/Makefile.am
create mode 100644 src/wok/plugins/gingerbase/ui/pages/help/ru_RU/host.dita
create mode 100644 src/wok/plugins/gingerbase/ui/pages/help/zh_CN/Makefile.am
create mode 100644 src/wok/plugins/gingerbase/ui/pages/help/zh_CN/host.dita
create mode 100644 src/wok/plugins/gingerbase/ui/pages/help/zh_TW/Makefile.am
create mode 100644 src/wok/plugins/gingerbase/ui/pages/help/zh_TW/host.dita
create mode 100644 src/wok/plugins/gingerbase/ui/pages/host.html.tmpl
create mode 100644 src/wok/plugins/gingerbase/ui/pages/i18n.json.tmpl
create mode 100644 src/wok/plugins/gingerbase/ui/pages/report-add.html.tmpl
create mode 100644 src/wok/plugins/gingerbase/ui/pages/report-rename.html.tmpl
create mode 100644 src/wok/plugins/gingerbase/ui/pages/repository-add.html.tmpl
create mode 100644 src/wok/plugins/gingerbase/ui/pages/repository-edit.html.tmpl
create mode 100644 src/wok/plugins/gingerbase/yumparser.py
delete mode 100644 src/wok/plugins/kimchi/control/debugreports.py
delete mode 100644 src/wok/plugins/kimchi/disks.py
delete mode 100644 src/wok/plugins/kimchi/model/debugreports.py
delete mode 100644 src/wok/plugins/kimchi/repositories.py
delete mode 100644 src/wok/plugins/kimchi/swupdate.py
delete mode 100644 src/wok/plugins/kimchi/tests/test_yumparser.py
delete mode 100644 src/wok/plugins/kimchi/ui/css/theme-default/host.css
delete mode 100644 src/wok/plugins/kimchi/ui/css/theme-default/report-add.css
delete mode 100644 src/wok/plugins/kimchi/ui/css/theme-default/report-rename.css
delete mode 100644 src/wok/plugins/kimchi/ui/css/theme-default/repository-add.css
delete mode 100644 src/wok/plugins/kimchi/ui/css/theme-default/repository-edit.css
delete mode 100644 src/wok/plugins/kimchi/ui/js/src/kimchi.host.js
delete mode 100644 src/wok/plugins/kimchi/ui/js/src/kimchi.report_add_main.js
delete mode 100644 src/wok/plugins/kimchi/ui/js/src/kimchi.report_rename_main.js
delete mode 100644 src/wok/plugins/kimchi/ui/js/src/kimchi.repository_add_main.js
delete mode 100644 src/wok/plugins/kimchi/ui/js/src/kimchi.repository_edit_main.js
delete mode 100644 src/wok/plugins/kimchi/ui/pages/help/de_DE/host.dita
delete mode 100644 src/wok/plugins/kimchi/ui/pages/help/en_US/host.dita
delete mode 100644 src/wok/plugins/kimchi/ui/pages/help/es_ES/host.dita
delete mode 100644 src/wok/plugins/kimchi/ui/pages/help/fr_FR/host.dita
delete mode 100644 src/wok/plugins/kimchi/ui/pages/help/it_IT/host.dita
delete mode 100644 src/wok/plugins/kimchi/ui/pages/help/ja_JP/host.dita
delete mode 100644 src/wok/plugins/kimchi/ui/pages/help/ko_KR/host.dita
delete mode 100644 src/wok/plugins/kimchi/ui/pages/help/pt_BR/host.dita
delete mode 100644 src/wok/plugins/kimchi/ui/pages/help/ru_RU/host.dita
delete mode 100644 src/wok/plugins/kimchi/ui/pages/help/zh_CN/host.dita
delete mode 100644 src/wok/plugins/kimchi/ui/pages/help/zh_TW/host.dita
delete mode 100644 src/wok/plugins/kimchi/ui/pages/host.html.tmpl
delete mode 100644 src/wok/plugins/kimchi/ui/pages/report-add.html.tmpl
delete mode 100644 src/wok/plugins/kimchi/ui/pages/report-rename.html.tmpl
delete mode 100644 src/wok/plugins/kimchi/ui/pages/repository-add.html.tmpl
delete mode 100644 src/wok/plugins/kimchi/ui/pages/repository-edit.html.tmpl
delete mode 100644 src/wok/plugins/kimchi/yumparser.py
--
2.1.0
9 years, 2 months
[PATCH v6 0/2] Improve VM CPU update code
by Jose Ricardo Ziviani
v6:
- fixed mockmodel test problem
v5:
- rebased to master(wok)
v4:
- merged with "Improve VCPU code" patch
- grouped similar commits together
v3:
- included commit "Hot add/remove CPUs on PPC"
v2:
- patch rebased
This patchset refactors part of the code related to updating VM CPUs.
Crístian Deives (1):
Update VCPU by using libvirt function
Jose Ricardo Ziviani (1):
Forbid user to edit CPU value if topology is defined
src/wok/plugins/kimchi/i18n.py | 6 ++
src/wok/plugins/kimchi/mockmodel.py | 49 +++++--------
src/wok/plugins/kimchi/model/vms.py | 117 ++++++++++++++++++++++++++++--
src/wok/plugins/kimchi/tests/test_rest.py | 3 +-
4 files changed, 138 insertions(+), 37 deletions(-)
--
1.9.1
9 years, 2 months
[PATCH 0/2] Set the right error messages for Kimchi
by Aline Manera
Aline Manera (2):
Set the right error messages for Kimchi
Use absolute import path on root.py
src/wok/plugins/kimchi/root.py | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
--
2.1.0
9 years, 2 months
[PATCH 0/2] Adding new-ui to Wok and Kimchi-Hosts (pre-gingerbase)
by sguimaraes943@gmail.com
From: samhenri <samuel.guimaraes(a)eldorado.org.br>
Refactored patches 5/6 and 6/6 from previous patchset to include some bug-fixes.
Kimchi/Hosts was updated with new-ui pre-gingerbase. Some CSS were left empty to avoid conflicts with git rm and git mv from other patches.
Please note that some styles, modal windows and buttons may stop working or display incorrectly since this patch includes the new-ui main template that ignores theme-default.min.css rules that were overriding Bootstrap styles in the new-ui.
samhenri (2):
Adding new-ui JS, images and base template files
Adding new-ui to Hosts tab and modal windows
src/wok/plugins/kimchi/ui/config/tab-ext.xml | 10 +-
.../plugins/kimchi/ui/css/theme-default/host.css | 270 ----------
.../kimchi/ui/css/theme-default/report-add.css | 20 -
.../kimchi/ui/css/theme-default/report-rename.css | 22 -
.../kimchi/ui/css/theme-default/repository-add.css | 25 -
.../ui/css/theme-default/repository-edit.css | 62 ---
src/wok/plugins/kimchi/ui/js/src/kimchi.api.js | 39 ++
src/wok/plugins/kimchi/ui/js/src/kimchi.host.js | 598 +++++++++++----------
src/wok/plugins/kimchi/ui/pages/host.html.tmpl | 207 +++----
.../plugins/kimchi/ui/pages/report-add.html.tmpl | 46 +-
.../kimchi/ui/pages/report-rename.html.tmpl | 42 +-
.../kimchi/ui/pages/repository-add.html.tmpl | 124 ++---
.../kimchi/ui/pages/repository-edit.html.tmpl | 138 ++---
ui/css/src/bootstrap-select.custom.scss | 1 +
ui/css/src/modules/_menu-flat.scss | 6 +-
ui/css/src/modules/_modal-flat.scss | 2 +-
ui/css/src/modules/_navbar-flat.scss | 4 +-
ui/css/src/modules/_toolbar.scss | 24 +-
ui/css/src/modules/_wok-confirm.scss | 42 ++
ui/css/src/wok.scss | 6 +-
ui/images/theme-default/Makefile.am | 2 +-
ui/images/theme-default/logo-flat.svg | 43 ++
ui/images/theme-default/logo-white.png | Bin 9879 -> 7583 bytes
ui/js/src/wok.grid.js | 416 ++++----------
ui/js/src/wok.line-chart.js | 74 ++-
ui/js/src/wok.list.js | 282 ++++++++++
ui/js/src/wok.login.js | 9 +-
ui/js/src/wok.main.js | 37 +-
ui/js/src/wok.message.js | 110 ++--
ui/js/src/wok.window.js | 38 +-
ui/pages/login.html.tmpl | 186 ++++---
ui/pages/wok-ui.html.tmpl | 219 ++++----
32 files changed, 1445 insertions(+), 1659 deletions(-)
create mode 100644 ui/css/src/modules/_wok-confirm.scss
create mode 100644 ui/images/theme-default/logo-flat.svg
create mode 100644 ui/js/src/wok.list.js
--
1.9.3
9 years, 2 months
[PATCH] Issue #737: fix to remove twice call of resource lookup
by archus@linux.vnet.ibm.com
From: Archana Singh <archus(a)linux.vnet.ibm.com>
Issue #737: fix to remove twice call of resource lookup
Archana Singh (1):
Issue #737: fix to remove twice call of resource lookup in GET
Operation
src/wok/control/base.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
--
1.9.1
9 years, 2 months
[RFC] Add support for Macvtap and Linux Bridge
by Ramon Medeiros
Kimchi today creates network pool using macvtap. Now, we want the user
to choose if it want Linux Bridge or macvtap.
If you want to understand the pros and cons of this features, we can see
here: https://github.com/kimchi-project/kimchi/wiki/Create-guest-network
Proposal:
Add "mode" option when creating a network pool.
If macvtap is choosed, keep the actual procedure.
If bridge is choosed, create linux bridge using net commands(brctl) and
create network pool pointing to the new bridge.
Create tests for this.
--
Ramon Nunes Medeiros
Kimchi Developer
Linux Technology Center Brazil
IBM Systems & Technology Group
Phone : +55 19 2132 7878
ramonn(a)br.ibm.com
9 years, 2 months
[PATCH] Issue #742: Update Readme with missing dependencies.
by pvital@linux.vnet.ibm.com
From: Paulo Vital <pvital(a)linux.vnet.ibm.com>
Added gcc-c++, open-sans-fonts and fontawesome-fonts in the list of
dependencies to install before compile/use Wok.
Signed-off-by: Paulo Vital <pvital(a)linux.vnet.ibm.com>
---
docs/README.md | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/docs/README.md b/docs/README.md
index afdbace..4ce6bb6 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -53,7 +53,8 @@ Install Dependencies
python-cherrypy python-cheetah python-imaging\
PyPAM m2crypto python-jsonschema rpm-build \
python-psutil python-ldap python-lxml \
- libxslt nginx openssl python-devel python-pip
+ libxslt nginx openssl python-devel python-pip \
+ gcc-c++ open-sans-fonts fontawesome-fonts
$ sudo pip install cython libsass
@@ -81,7 +82,8 @@ channel at RHN Classic or Red Hat Satellite.
python-cherrypy3 python-cheetah python-imaging \
python-pam python-m2crypto python-jsonschema \
python-psutil python-ldap python-lxml nginx \
- libxslt openssl python-dev python-pip
+ libxslt openssl python-dev python-pip \
+ g++ fonts-font-awesome texlive-fonts-extra
$ sudo pip install cython libsass
@@ -99,7 +101,8 @@ channel at RHN Classic or Red Hat Satellite.
python-imaging python-M2Crypto python-jsonschema \
rpm-build python-psutil python-ldap python-lxml \
libxslt-tools python-xml nginx openssl python-devel \
- python-pip
+ python-pip gcc-c++ google-opensans-fonts \
+ fontawesome-fonts
$ sudo pip install cython libsass
--
2.4.3
9 years, 2 months