[PATCH 0/3] UI: Create Template with VM Image
by huoyuxin@linux.vnet.ibm.com
From: Yu Xin Huo <huoyuxin(a)linux.vnet.ibm.com>
Yu Xin Huo (3):
UI: Template with VM Image - Create
UI: Template with VM Image - Edit
UI: Template with VM Image - List
ui/css/theme-default/form.css | 13 ++++++++-----
ui/css/theme-default/template_add.css | 18 ++++++++++++++++++
ui/js/src/kimchi.template_add_main.js | 17 +++++++++++++++++
ui/js/src/kimchi.template_edit_main.js | 8 ++++++++
ui/js/src/kimchi.template_main.js | 12 +++++++++++-
ui/pages/template-add.html.tmpl | 13 +++++++++++++
ui/pages/template-edit.html.tmpl | 6 +++++-
7 files changed, 80 insertions(+), 7 deletions(-)
10 years, 3 months
[PATCH 0/3] UI: Create Template with Image File
by huoyuxin@linux.vnet.ibm.com
From: Yu Xin Huo <huoyuxin(a)linux.vnet.ibm.com>
Yu Xin Huo (3):
UI: Template with VM Image - Create
UI: Template with VM Image - Edit
UI: Template with VM Image - List
ui/css/theme-default/form.css | 13 ++++++++-----
ui/css/theme-default/template_add.css | 21 +++++++++++++++++++++
ui/js/src/kimchi.template_add_main.js | 32 +++++++++++++++++++++++++++++++-
ui/js/src/kimchi.template_edit_main.js | 8 ++++++++
ui/js/src/kimchi.template_main.js | 12 +++++++++++-
ui/pages/template-add.html.tmpl | 13 +++++++++++++
ui/pages/template-edit.html.tmpl | 6 +++++-
7 files changed, 97 insertions(+), 8 deletions(-)
10 years, 3 months
[PATCH v2 0/3] Download remote image to storage pool
by Crístian Viana
Changelog from previous version (v1):
- Remove the text "downloading" from the download task status message.
Now it only contains the data: <downloaded size>/<total size>.
Crístian Viana (3):
storagevolume: Download remote images to a storage pool
storagevolume: Check storage pool before adding a volume
storagevolume: Add download progress to task
docs/API.md | 1 +
src/kimchi/mockmodel.py | 39 ++++++++++++++++++++++-----
src/kimchi/model/storagevolumes.py | 54 +++++++++++++++++++++++++++++++++++---
tests/test_model.py | 24 +++++++++++++++++
tests/test_rest.py | 14 +++++++++-
5 files changed, 120 insertions(+), 12 deletions(-)
--
1.9.3
10 years, 3 months
[PATCH v5 0/7] Support image upload
by Crístian Viana
I'm sending a new version of Royce's patchset because she's currently on vacation.
The changelog from the previous patchset (v4) is:
- Use the same file body size in "src/kimchi.config" as in "src/kimchi.conf".
- Make sure the file handler will be closed when reading the upload file content.
- Fix the Task status message describing the upload progress.
- Remove the pool refresh operation from the upload loop.
- Add the package "python-requests" as a project requirement.
- Fix a formatting issue.
Royce Lv (7):
Storage volume upload: Update API.md
Fix mockmodel reset for objectstore
Storage volume upload: Parse params for upload formdata
Storage volume upload: Control request body size of kimchi
Storage volume upload: Support file based upload
Storage volume upload: Adding progress to task message
Storage volume upload: Change mockmodel and test
contrib/DEBIAN/control.in | 3 ++-
contrib/kimchi.spec.fedora.in | 1 +
contrib/kimchi.spec.suse.in | 1 +
docs/API.md | 2 ++
docs/README.md | 7 ++++---
src/kimchi.conf.in | 3 +++
src/kimchi/config.py.in | 1 +
src/kimchi/control/utils.py | 4 +++-
src/kimchi/mockmodel.py | 24 ++++++++++++++++++++++++
src/kimchi/model/storagevolumes.py | 31 +++++++++++++++++++++++++++++++
src/kimchi/server.py | 1 +
src/kimchid.in | 2 ++
tests/test_rest.py | 38 +++++++++++++++++++++++++++++++++++++-
tests/utils.py | 2 +-
14 files changed, 113 insertions(+), 7 deletions(-)
--
1.9.3
10 years, 3 months
[PATCH 0/4] WIP: Download remote image to storage pool
by Crístian Viana
This patchset is a work in progress. I'm sending it now so we can get early feedback.
The following problems are known:
- The previous "create" function (which is now called "_create_volume_with_capacity")
should be updated to the Task API. This will cause errors in existing tests.
- There is one unfinished error message.
- The tests and mockmodel are missing.
Any feedback is welcome.
Crístian Viana (4):
storagevolume: Split "create" function based on the parameters
storagevolume: Use a Task to create a new volume
storagevolume: Download remote images to a storage pool
storagevolume: Add download progress to task
src/kimchi/control/storagevolumes.py | 4 +-
src/kimchi/model/storagevolumes.py | 71 +++++++++++++++++++++++++++++++++++-
2 files changed, 72 insertions(+), 3 deletions(-)
--
1.9.3
10 years, 3 months
[PATCH v3 0/4] Download remote image to storage pool
by Crístian Viana
Changelog from the previous version (v2):
- Update src/kimchi/API.json with the new parameter "url" in function
"storagevolumes_create".
- New commit: "storagevolume: Set target URI when creating Task".
Crístian Viana (4):
storagevolume: Download remote images to a storage pool
storagevolume: Check storage pool before adding a volume
storagevolume: Add download progress to task
storagevolume: Set target URI when creating Task
docs/API.md | 1 +
src/kimchi/API.json | 6 ++++
src/kimchi/i18n.py | 1 +
src/kimchi/mockmodel.py | 42 ++++++++++++++++++++++------
src/kimchi/model/storagevolumes.py | 57 ++++++++++++++++++++++++++++++++++----
tests/test_model.py | 24 ++++++++++++++++
tests/test_rest.py | 14 +++++++++-
7 files changed, 131 insertions(+), 14 deletions(-)
--
1.9.3
10 years, 3 months
[PATCHv4 0/7] Support image upload
by lvroyce@linux.vnet.ibm.com
From: Royce Lv <lvroyce(a)linux.vnet.ibm.com>
v2>v3,
Add mockmodel and tests
v3>v4,
Update progress presentation,
update max_body_size control
Royce Lv (7):
Storage volume upload: Update API.md
Fix mockmodel reset for objectstore
Storage volume upload: Parse params for upload formdata
Storage volume upload: Control request body size of kimchi
Storage volume upload: Support file based upload
Storage volume upload: Adding progress to task message
Storage volume upload: Change mockmodel and test
docs/API.md | 2 ++
src/kimchi.conf.in | 3 +++
src/kimchi/config.py.in | 1 +
src/kimchi/control/utils.py | 4 +++-
src/kimchi/mockmodel.py | 26 +++++++++++++++++++++--
src/kimchi/model/storagevolumes.py | 32 ++++++++++++++++++++++++++++
src/kimchi/server.py | 1 +
src/kimchid.in | 1 +
tests/test_rest.py | 43 +++++++++++++++++++++++++++++++++++++-
tests/utils.py | 2 +-
10 files changed, 110 insertions(+), 5 deletions(-)
--
1.8.3.2
10 years, 3 months
[PATCH 0/2 V2] Support async task query classification
by Aline Manera
V1 -> V2:
- Allow using a regex when querying the target_uri parameter
This patch set allows querying Tasks by their target_uri which is a resource
URI. That way every user can get the same view from that one who started the
Task.
Aline Manera (2):
Expose target_uri on Task resource
Update current code to report target_uri while creating a Task
docs/API.md | 1 +
src/kimchi/control/base.py | 4 +++-
src/kimchi/control/tasks.py | 4 +---
src/kimchi/mockmodel.py | 6 ++++--
src/kimchi/model/debugreports.py | 3 ++-
src/kimchi/model/host.py | 3 ++-
src/kimchi/model/storagepools.py | 4 ++--
tests/test_rest.py | 14 +++++++++++---
8 files changed, 26 insertions(+), 13 deletions(-)
--
1.9.3
10 years, 3 months
[PATCH 0/3] Download remote image to storage pool
by Crístian Viana
Crístian Viana (3):
storagevolume: Download remote images to a storage pool
storagevolume: Check storage pool before adding a volume
storagevolume: Add download progress to task
docs/API.md | 1 +
src/kimchi/mockmodel.py | 39 ++++++++++++++++++++++-----
src/kimchi/model/storagevolumes.py | 54 +++++++++++++++++++++++++++++++++++---
tests/test_model.py | 24 +++++++++++++++++
tests/test_rest.py | 14 +++++++++-
5 files changed, 120 insertions(+), 12 deletions(-)
--
1.9.3
10 years, 3 months
[PATCHv3 0/7] Support volume upload
by lvroyce0210@gmail.com
From: Royce Lv <lvroyce(a)linux.vnet.ibm.com>
v2>v3,
Add mockmodel and testcases.
Royce Lv (7):
Storage volume upload: Update API.md
Fix mockmodel reset for objectstore
Storage volume upload: Parse params for upload formdata
Storage volume upload: Control request body size of kimchi
Storage volume upload: Support file based upload
Storage volume upload: Adding progress to task message
Storage volume upload: Change mockmodel and test
docs/API.md | 2 ++
src/kimchi.conf.in | 3 +++
src/kimchi/config.py.in | 1 +
src/kimchi/control/utils.py | 4 +++-
src/kimchi/mockmodel.py | 25 +++++++++++++++++++++--
src/kimchi/model/storagevolumes.py | 31 ++++++++++++++++++++++++++++
src/kimchi/server.py | 1 +
src/kimchid.in | 3 +++
tests/test_rest.py | 41 +++++++++++++++++++++++++++++++++++++-
tests/utils.py | 2 +-
10 files changed, 108 insertions(+), 5 deletions(-)
--
1.8.3.2
10 years, 3 months