Change in vdsm[master]: add api registeration mechanism
by Xu He Jie
Xu He Jie has uploaded a new change for review.
Change subject: add api registeration mechanism
......................................................................
add api registeration mechanism
add registAPI method, then other modules can implement the api and
regist their implement to API.py.
*add api registeration mechanism
*add Base class for add ABCMeta as metaclass
*add class decorator for add abstractmethod for every public method.
this can limit people to implement the api as interface.
*add PartialProxy it similar as functools.partial, but this can
access class member
Change-Id: I8eabbec2526041e548591b62252d754b1f5934b5
Signed-off-by: Xu He Jie <xuhj(a)linux.vnet.ibm.com>
---
A tests/apiTests.py
M vdsm/API.py
2 files changed, 119 insertions(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/24/5524/1
--
To view, visit http://gerrit.ovirt.org/5524
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8eabbec2526041e548591b62252d754b1f5934b5
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Xu He Jie <xuhj(a)linux.vnet.ibm.com>
11 years, 5 months
Change in vdsm[master]: add general test to be compatible for xmlrpc and rest
by lvroyce@linux.vnet.ibm.com
Royce Lv has uploaded a new change for review.
Change subject: add general test to be compatible for xmlrpc and rest
......................................................................
add general test to be compatible for xmlrpc and rest
this allow xmlrpc and rest to share common functional testcases
and different binding to handle their own interface
use def file to make test case dynamically changable
Change-Id: I00449f9c22800e2b00109990a7e535da986c5d48
Signed-off-by: Royce Lv<lvroyce(a)linux.vnet.ibm.com>
---
M configure.ac
M tests/functional/Makefile.am
A tests/functional/SampleDef/Makefile.am
A tests/functional/SampleDef/testBindingUp.def
A tests/functional/defLoader.py
A tests/functional/generalTest.py
M vdsm.spec.in
7 files changed, 121 insertions(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/08/5308/1
--
To view, visit http://gerrit.ovirt.org/5308
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I00449f9c22800e2b00109990a7e535da986c5d48
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Royce Lv <lvroyce(a)linux.vnet.ibm.com>
11 years, 5 months
Change in vdsm[master]: Fix return value of shutdown() on failure
by wudxw@linux.vnet.ibm.com
Mark Wu has uploaded a new change for review.
Change subject: Fix return value of shutdown() on failure
......................................................................
Fix return value of shutdown() on failure
Change-Id: Ice01a8db664c8c1a3ca32c15de4865f362e7210e
Signed-off-by: Mark Wu <wudxw(a)linux.vnet.ibm.com>
---
M vdsm/vm.py
1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/34/5434/1
--
To view, visit http://gerrit.ovirt.org/5434
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ice01a8db664c8c1a3ca32c15de4865f362e7210e
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Mark Wu <wudxw(a)linux.vnet.ibm.com>
11 years, 5 months
Change in vdsm[master]: use default libvirt event handler impl
by lvroyce@linux.vnet.ibm.com
Royce Lv has uploaded a new change for review.
Change subject: use default libvirt event handler impl
......................................................................
use default libvirt event handler impl
use default libvirt event handler implementation and event loop
add setKeepAlive to avoid some buggy condition in libvirt connection
Change-Id: I735d6b1f856b5a5b216d2dddf629c5ec80e8b7e7
Signed-off-by: Royce Lv<lvroyce(a)linux.vnet.ibm.com>
---
M vdsm/libvirtconnection.py
M vdsm/libvirtev.py
2 files changed, 23 insertions(+), 486 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/15/5015/1
--
To view, visit http://gerrit.ovirt.org/5015
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I735d6b1f856b5a5b216d2dddf629c5ec80e8b7e7
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Royce Lv <lvroyce(a)linux.vnet.ibm.com>
11 years, 5 months
Change in vdsm[master]: Remove local mount point if storage server connection fails
by wudxw@linux.vnet.ibm.com
Mark Wu has uploaded a new change for review.
Change subject: Remove local mount point if storage server connection fails
......................................................................
Remove local mount point if storage server connection fails
Change-Id: Ic7aa1a47b7fa3577e83daa82fbad17fdc2ebd51f
Signed-off-by: Mark Wu <wudxw(a)linux.vnet.ibm.com>
---
M vdsm/storage/storageServer.py
1 file changed, 5 insertions(+), 2 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/98/4298/1
--
To view, visit http://gerrit.ovirt.org/4298
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic7aa1a47b7fa3577e83daa82fbad17fdc2ebd51f
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Mark Wu <wudxw(a)linux.vnet.ibm.com>
11 years, 6 months
Change in vdsm[master]: Bz#839919 remoteFileHandler.py: Add storage into python path
by wudxw@linux.vnet.ibm.com
Mark Wu has uploaded a new change for review.
Change subject: Bz#839919 remoteFileHandler.py: Add storage into python path
......................................................................
Bz#839919 remoteFileHandler.py: Add storage into python path
pickle need import modules in vdsm/storage, so add it to python path.
Actually it's already done for RPC server side. This patch adds it
for client side, and merge the code.
Change-Id: Id23c3d0be6eb2e2212172613ea8f3b0c58edce06
Signed-off-by: Mark Wu <wudxw(a)linux.vnet.ibm.com>
---
M vdsm/storage/remoteFileHandler.py
1 file changed, 3 insertions(+), 4 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/54/6354/1
--
To view, visit http://gerrit.ovirt.org/6354
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id23c3d0be6eb2e2212172613ea8f3b0c58edce06
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Mark Wu <wudxw(a)linux.vnet.ibm.com>
11 years, 6 months
Change in vdsm[master]: change misc.retry to make it more general
by lvroyce@linux.vnet.ibm.com
Royce Lv has uploaded a new change for review.
Change subject: change misc.retry to make it more general
......................................................................
change misc.retry to make it more general
add argument list to misc.retry to make it usable for function
with arguments.
Change-Id: I2b7d87629762d4d8f248d50fa4da71a0af3645d8
Signed-off-by: Royce Lv <lvroyce(a)linux.vnet.ibm.com>
---
M vdsm/storage/misc.py
M vdsm/supervdsm.py
2 files changed, 4 insertions(+), 3 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/32/4032/1
--
To view, visit http://gerrit.ovirt.org/4032
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2b7d87629762d4d8f248d50fa4da71a0af3645d8
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Royce Lv <lvroyce(a)linux.vnet.ibm.com>
11 years, 6 months
Change in vdsm[master]: Add local storage xmlrpc functional test
by lvroyce@linux.vnet.ibm.com
Hello Adam Litke,
I'd like you to do a code review. Please visit
http://gerrit.ovirt.org/5860
to review the following change.
Change subject: Add local storage xmlrpc functional test
......................................................................
Add local storage xmlrpc functional test
Add defintion parser for functional test case reusable,
add local storage xmlrpc tests
it can be extend to nfs and iscsi type
Change-Id: I4e2e80fa88d66d9bc1a4ba855e2df51ba8165e0a
Signed-off-by: Royce Lv <lvroyce(a)linux.vnet.ibm.com>
Signed-off-by: Adam Litke <agl(a)us.ibm.com>
---
M configure.ac
M tests/functional/Makefile.am
A tests/functional/xmlrpcTests.py
M vdsm.spec.in
4 files changed, 198 insertions(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/60/5860/1
--
To view, visit http://gerrit.ovirt.org/5860
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4e2e80fa88d66d9bc1a4ba855e2df51ba8165e0a
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Royce Lv <lvroyce(a)linux.vnet.ibm.com>
Gerrit-Reviewer: Adam Litke <agl(a)us.ibm.com>
Gerrit-Reviewer: Dan Kenigsberg <danken(a)redhat.com>
11 years, 6 months
Change in vdsm[master]: join supervdsm subprocess after terminated to avoid defunct ...
by lvroyce@linux.vnet.ibm.com
Royce Lv has uploaded a new change for review.
Change subject: join supervdsm subprocess after terminated to avoid defunct status
......................................................................
join supervdsm subprocess after terminated to avoid defunct status
After validateAccess there leaves a defunct process
clear it by join after termination
Change-Id: I0cdcfb3b467e9226f14a4ebc2845ff2db0f19b5f
Signed-off-by: Royce Lv<lvroyce(a)linux.vnet.ibm.com>
---
M vdsm/supervdsmServer.py
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/03/6503/1
--
To view, visit http://gerrit.ovirt.org/6503
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0cdcfb3b467e9226f14a4ebc2845ff2db0f19b5f
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Royce Lv <lvroyce(a)linux.vnet.ibm.com>
11 years, 6 months
Change in vdsm[master]: modify hsm.py for PEP8 compliance
by zhshzhou@linux.vnet.ibm.com
Zhou Zheng Sheng has uploaded a new change for review.
Change subject: modify hsm.py for PEP8 compliance
......................................................................
modify hsm.py for PEP8 compliance
clean hsm.py code style problems, and add it to PEP 8 whitelist in
Makefile.am
Change-Id: Ia9b2f8b9e83db6f52678b4e0865668a79bcf53f5
Signed-off-by: Zhou Zheng Sheng <zhshzhou(a)linux.vnet.ibm.com>
---
M Makefile.am
M vdsm/storage/hsm.py
2 files changed, 546 insertions(+), 366 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/30/4530/1
--
To view, visit http://gerrit.ovirt.org/4530
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia9b2f8b9e83db6f52678b4e0865668a79bcf53f5
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Zhou Zheng Sheng <zhshzhou(a)linux.vnet.ibm.com>
11 years, 6 months