[PATCH 0/5I -V4] Add multiple disks in Template, add max vcpu and topology support
by Rodrigo Trujillo
V4 - Include patch with support to max vcpu and other changes in vm backend to support
cpu hot plug in the future.
- Fixes vm update problem (offline update was not atomic)
V3 - Addresses Aline's comments
* fixes backend, API.md and API.json
* fixes test cases and add new test
V2 - Rebase over latest new UI patches
V1 - Initial version
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
*** BLURB HERE ***
Rodrigo Trujillo (5):
Fix Template backend create/update for multiple disks
Enable create guests with multiple disks from different pools
UI - Implement multiple disks support in Template edit window
Test: Fix and add test related to disks in templates
Update VCPU by using libvirt function
src/wok/plugins/kimchi/API.json | 19 +-
src/wok/plugins/kimchi/docs/API.md | 6 +
src/wok/plugins/kimchi/i18n.py | 4 +
src/wok/plugins/kimchi/mockmodel.py | 57 +++--
src/wok/plugins/kimchi/model/templates.py | 30 ++-
src/wok/plugins/kimchi/model/vms.py | 130 +++++++++--
src/wok/plugins/kimchi/osinfo.py | 1 +
src/wok/plugins/kimchi/tests/test_model.py | 13 ++
src/wok/plugins/kimchi/tests/test_rest.py | 15 +-
src/wok/plugins/kimchi/tests/test_template.py | 44 +++-
.../kimchi/ui/js/src/kimchi.template_edit_main.js | 246 ++++++++++-----------
.../kimchi/ui/pages/template-edit.html.tmpl | 5 +-
src/wok/plugins/kimchi/vmtemplate.py | 81 +++++--
13 files changed, 425 insertions(+), 226 deletions(-)
--
2.1.0
8 years, 12 months
[PATCH 0/9 - v7] Multiple disks in Template, updates objectstore, add max vcpu and topology support, removes 'storagepool' tag
by Rodrigo Trujillo
v7 - Rebase with latest Kimchi repository
v6 - Fix problems in UI related to remotion of 'storagepool' from Templates
V5 - Include script to update old templates in objectstore
- Remove dependency and use of 'storagepool' tag from Templates
- Fixes backend and tests problems found
V4 - Include patch with support to max vcpu and other changes in vm backend to support
cpu hot plug in the future.
- Fixes vm update problem (offline update was not atomic)
V3 - Addresses Aline's comments
* fixes backend, API.md and API.json
* fixes test cases and add new test
V2 - Rebase over latest new UI patches
V1 - Initial version
Rodrigo Trujillo (9):
Fix Template backend create/update for multiple disks
Enable create guests with multiple disks from different pools
UI - Implement multiple disks support in Template edit window
Update VCPU by using libvirt function
Test: Fix and add test related to disks in templates
Remove 'stogarepool' referencies from Templates code backend
Add script to upgrade objectstore to support new Template disks schema
Fix tests and backend after remove 'storagepool' from templates
Change UI to support remotion of 'storagepool' from template backend
src/wok/plugins/kimchi/API.json | 43 ++--
src/wok/plugins/kimchi/control/templates.py | 1 -
src/wok/plugins/kimchi/docs/API.md | 11 +-
src/wok/plugins/kimchi/i18n.py | 5 +
src/wok/plugins/kimchi/mockmodel.py | 60 +++--
src/wok/plugins/kimchi/model/storagepools.py | 10 +-
src/wok/plugins/kimchi/model/templates.py | 85 +++----
src/wok/plugins/kimchi/model/vms.py | 130 +++++++++--
src/wok/plugins/kimchi/osinfo.py | 14 +-
src/wok/plugins/kimchi/root.py | 2 +
src/wok/plugins/kimchi/template.conf | 7 +-
src/wok/plugins/kimchi/tests/test_model.py | 65 +++---
src/wok/plugins/kimchi/tests/test_rest.py | 41 ++--
src/wok/plugins/kimchi/tests/test_template.py | 76 +++++--
src/wok/plugins/kimchi/tests/test_vmtemplate.py | 9 +-
.../kimchi/ui/js/src/kimchi.template_edit_main.js | 249 ++++++++++-----------
.../kimchi/ui/pages/template-edit.html.tmpl | 5 +-
src/wok/plugins/kimchi/utils.py | 49 +++-
src/wok/plugins/kimchi/vmtemplate.py | 110 ++++++---
19 files changed, 606 insertions(+), 366 deletions(-)
--
2.1.0
8 years, 12 months
[[kimchi] PATCH] Bugfix 781: fix adding brigde network
by Jose Ricardo Ziviani
- Javascript code was not getting the right NIC value from the form,
this commit fixes that issue.
Signed-off-by: Jose Ricardo Ziviani <joserz(a)linux.vnet.ibm.com>
---
ui/js/src/kimchi.network_add_main.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ui/js/src/kimchi.network_add_main.js b/ui/js/src/kimchi.network_add_main.js
index 5a7133e..ea69421 100644
--- a/ui/js/src/kimchi.network_add_main.js
+++ b/ui/js/src/kimchi.network_add_main.js
@@ -135,7 +135,7 @@ kimchi.getNetworkDialogValues = function() {
type : $("#networkType").val()
};
if (network.type === kimchi.NETWORK_TYPE_BRIDGE) {
- network.interface = $("#networkDestinationLabel").text();
+ network.interface = $("#networkDestinationID").val();
network.vlan_id = parseInt($("#networkVlanID").val());
}
return network;
@@ -163,4 +163,4 @@ kimchi.updateNetworkFormButton = function() {
}else{
$("#networkFormOk").button("enable");
}
-};
\ No newline at end of file
+};
--
1.9.1
8 years, 12 months
[PATCH] [Wok] Script to build wok and all plugins available
by Aline Manera
Hi all,
I am currently using that script to build wok and all plugins available and as
it may be helpful for any developer I am proposing to add it to the wok source
code.
Hope it makes our lifes easy. =)
Aline Manera (1):
Add script to build wok and all plugins available
build-all.sh | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
create mode 100755 build-all.sh
--
2.5.0
8 years, 12 months
[PATCH] [Wok] Track submodules master branch
by Aline Manera
That way, the developer can run:
$ git submodule update --remote
To get all the new changes on master branch for each submodule without
needing to enter each submodule directory to get it updated.
Signed-off-by: Aline Manera <alinefm(a)linux.vnet.ibm.com>
---
.gitmodules | 3 +++
1 file changed, 3 insertions(+)
diff --git a/.gitmodules b/.gitmodules
index 5838ebf..c9bc289 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -2,11 +2,14 @@
path = src/wok/plugins/kimchi
url = https://github.com/kimchi-project/kimchi.git
ignore = all
+ branch = master
[submodule "src/wok/plugins/ginger"]
path = src/wok/plugins/ginger
url = https://github.com/kimchi-project/ginger.git
ignore = all
+ branch = master
[submodule "src/wok/plugins/gingerbase"]
path = src/wok/plugins/gingerbase
url = https://github.com/kimchi-project/gingerbase
ignore = all
+ branch = master
--
2.5.0
8 years, 12 months
[PATCH 0/9 - v6] Multiple disks in Template, updates objectstore, add max vcpu and topology support, removes 'storagepool' tag
by Rodrigo Trujillo
v6 - Fix problems in UI related to remotion of 'storagepool' from Templates
V5 - Include script to update old templates in objectstore
- Remove dependency and use of 'storagepool' tag from Templates
- Fixes backend and tests problems found
V4 - Include patch with support to max vcpu and other changes in vm backend to support
cpu hot plug in the future.
- Fixes vm update problem (offline update was not atomic)
V3 - Addresses Aline's comments
* fixes backend, API.md and API.json
* fixes test cases and add new test
V2 - Rebase over latest new UI patches
V1 - Initial version
Rodrigo Trujillo (9):
Fix Template backend create/update for multiple disks
Enable create guests with multiple disks from different pools
UI - Implement multiple disks support in Template edit window
Update VCPU by using libvirt function
Test: Fix and add test related to disks in templates
Remove 'stogarepool' referencies from Templates code backend
Add script to upgrade objectstore to support new Template disks schema
Fix tests and backend after remove 'storagepool' from templates
Change UI to support remotion of 'storagepool' from template backend
src/wok/plugins/kimchi/API.json | 43 ++--
src/wok/plugins/kimchi/control/templates.py | 1 -
src/wok/plugins/kimchi/docs/API.md | 11 +-
src/wok/plugins/kimchi/i18n.py | 5 +
src/wok/plugins/kimchi/mockmodel.py | 60 +++--
src/wok/plugins/kimchi/model/storagepools.py | 10 +-
src/wok/plugins/kimchi/model/templates.py | 85 +++----
src/wok/plugins/kimchi/model/vms.py | 130 +++++++++--
src/wok/plugins/kimchi/osinfo.py | 14 +-
src/wok/plugins/kimchi/root.py | 2 +
src/wok/plugins/kimchi/template.conf | 7 +-
src/wok/plugins/kimchi/tests/test_model.py | 65 +++---
src/wok/plugins/kimchi/tests/test_rest.py | 41 ++--
src/wok/plugins/kimchi/tests/test_template.py | 76 +++++--
src/wok/plugins/kimchi/tests/test_vmtemplate.py | 9 +-
.../kimchi/ui/js/src/kimchi.template_edit_main.js | 249 ++++++++++-----------
.../kimchi/ui/pages/template-edit.html.tmpl | 5 +-
src/wok/plugins/kimchi/utils.py | 49 +++-
src/wok/plugins/kimchi/vmtemplate.py | 110 ++++++---
19 files changed, 606 insertions(+), 366 deletions(-)
--
2.1.0
8 years, 12 months
[PATCH 0/8 - v5] Multiple disks in Template, updates objectstore, add max vcpu and topology support
by Rodrigo Trujillo
V5 - Include script to update old templates in objectstore
- Remove dependency and use of 'storagepool' tag from Templates
- Fixes backend and tests problems found
V4 - Include patch with support to max vcpu and other changes in vm backend to support
cpu hot plug in the future.
- Fixes vm update problem (offline update was not atomic)
V3 - Addresses Aline's comments
* fixes backend, API.md and API.json
* fixes test cases and add new test
V2 - Rebase over latest new UI patches
V1 - Initial version
Rodrigo Trujillo (8):
Fix Template backend create/update for multiple disks
Enable create guests with multiple disks from different pools
UI - Implement multiple disks support in Template edit window
Update VCPU by using libvirt function
Test: Fix and add test related to disks in templates
Remove 'stogarepool' referencies from Templates code backend
Add script to upgrade objectstore to support new Template disks schema
Fix tests and backend after remove 'storagepool' from templates
src/wok/plugins/kimchi/API.json | 43 ++--
src/wok/plugins/kimchi/control/templates.py | 1 -
src/wok/plugins/kimchi/docs/API.md | 11 +-
src/wok/plugins/kimchi/i18n.py | 5 +
src/wok/plugins/kimchi/mockmodel.py | 60 +++--
src/wok/plugins/kimchi/model/storagepools.py | 10 +-
src/wok/plugins/kimchi/model/templates.py | 85 +++----
src/wok/plugins/kimchi/model/vms.py | 130 +++++++++--
src/wok/plugins/kimchi/osinfo.py | 14 +-
src/wok/plugins/kimchi/root.py | 2 +
src/wok/plugins/kimchi/template.conf | 7 +-
src/wok/plugins/kimchi/tests/test_model.py | 65 +++---
src/wok/plugins/kimchi/tests/test_rest.py | 41 ++--
src/wok/plugins/kimchi/tests/test_template.py | 76 +++++--
src/wok/plugins/kimchi/tests/test_vmtemplate.py | 9 +-
.../kimchi/ui/js/src/kimchi.template_edit_main.js | 246 ++++++++++-----------
.../kimchi/ui/pages/template-edit.html.tmpl | 5 +-
src/wok/plugins/kimchi/utils.py | 49 +++-
src/wok/plugins/kimchi/vmtemplate.py | 110 ++++++---
19 files changed, 605 insertions(+), 364 deletions(-)
--
2.1.0
8 years, 12 months
[PATCH] [Wok] Configure to ignore changes in Wok submodules.
by pvital@linux.vnet.ibm.com
From: Paulo Vital <pvital(a)linux.vnet.ibm.com>
After update or change any of the Wok submodules, the modifications
will be listed as Wok changes. Add configuration to ignore all changes
of in Wok submodules.
The value for each submodule can be "untracked", "dirty" or "all". When
"untracked" is used submodules are not considered dirty when they only
contain untracked content (but they are still scanned for modified
content). Using "dirty" ignores all changes to the work tree of
submodules, only changes to the commits stored in the superproject are
shown (this was the behavior before 1.7.0). Using "all" hides all
changes to submodules (and suppresses the output of submodule summaries
when the config option status.submodulesummary is set).
This patch sets "ignore = all" for all Wok submodules.
Signed-off-by: Paulo Vital <pvital(a)linux.vnet.ibm.com>
---
.gitmodules | 3 +++
1 file changed, 3 insertions(+)
diff --git a/.gitmodules b/.gitmodules
index 00d2644..69760eb 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,9 +1,12 @@
[submodule "src/wok/plugins/kimchi"]
path = src/wok/plugins/kimchi
url = https://github.com/kimchi-project/kimchi.git
+ ignore = all
[submodule "src/wok/plugins/ginger"]
path = src/wok/plugins/ginger
url = https://github.com/kimchi-project/ginger.git
+ ignore = all
[submodule "src/wok/plugins/gingerbase"]
path = src/wok/plugins/gingerbase
url = https://github.com/kimchi-project/gingerbase
+ ignore = all
--
2.5.0
8 years, 12 months
[PATCH 0/2] Live Migration UI v2
by sguimaraes943@gmail.com
From: samhenri <samuel.guimaraes(a)eldorado.org.br>
This patch addes Live Migration functionality to the new-ui.
I'm attaching Socorro initial commit because I had to merge and resolve conflicts with the current new-ui version of Guests tab.
Socorro Stoppler (1):
Initial checkin for live migration UI support
samhenri (1):
Fixing Live Migration for the new-ui Guests tab
src/wok/plugins/ginger | 2 +-
src/wok/plugins/kimchi/ui/js/src/kimchi.api.js | 3 +-
.../kimchi/ui/js/src/kimchi.guest_livemigration.js | 115 +++++++++++++++++++++
.../plugins/kimchi/ui/js/src/kimchi.guest_main.js | 82 ++++++++++++++-
.../kimchi/ui/pages/guest-migration.html.tmpl | 67 ++++++++++++
src/wok/plugins/kimchi/ui/pages/guest.html.tmpl | 3 +-
src/wok/plugins/kimchi/ui/pages/i18n.json.tmpl | 2 +
src/wok/plugins/kimchi/ui/pages/network.html.tmpl | 1 -
ui/css/src/modules/_validation.scss | 11 ++
ui/css/src/wok.scss | 2 +
10 files changed, 279 insertions(+), 9 deletions(-)
create mode 100644 src/wok/plugins/kimchi/ui/js/src/kimchi.guest_livemigration.js
create mode 100644 src/wok/plugins/kimchi/ui/pages/guest-migration.html.tmpl
create mode 100644 ui/css/src/modules/_validation.scss
--
1.9.3
8 years, 12 months