*env.cfg define default uri
*generator.py add it into params dict
---
env.cfg |4
generator.py |8
2 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/env.cfg b/env.cfg
index 968e512..2cccbc7 100644
--- a/env.cfg
+++ b/env.cfg
@@ -107,6 +107,10 @@
On 03/27/2012 03:55 PM, Martin Kletzander wrote:
On 03/26/2012 03:15 PM, Guannan Ren wrote:
This will create a default option named uri on the framework
side like logger for all of testcases.
If we want all of testcases to test a remote server that
results in adding uri
On 03/27/2012 03:57 PM, Martin Kletzander wrote:
It's better not to use libvirt API to check the result of one
another API.
We should use native approach to do the checking. So I insist
on the original checking.
There was no lookupByName function, but I agree it's better
On 03/27/2012 05:42 PM, Martin Kletzander wrote:
On 03/27/2012 10:59 AM, Guannan Ren wrote:
On 03/27/2012 03:57 PM, Martin Kletzander wrote:
It's better not to use libvirt API to check the result of one
another API.
We should use native approach to do the checking. So I
+-
repos/storage/pool_name.py |2 +-
repos/storage/pool_uuid.py |2 +-
repos/storage/undefine_pool.py |2 +-
88 files changed, 100 insertions(+), 96 deletions(-)
Thanks
ACK and pushed
Guannan Ren
*libvirt_virDomainGetCPUStats
*setPyVirTypedParameter
---
python/libvirt-override-api.xml |4 +-
python/libvirt-override.c | 62 +-
2 files changed, 11 insertions(+), 55 deletions(-)
diff --git a/python/libvirt-override-api.xml
)
ret = check_domain_running(domobj, guestname, logger)
if ret:
-return return_close(conn, logger, 1)
+return return_close(conn, logger, 1)
try:
domobj.save(guestname, SAVE_FILE)
Thanks and pushed
Guannan Ren
--
libvir-list mailing list
libvir
, flags are in right files according to the API, I'd
definitely say ACK, depends on you if you want a second opinion.
Martin
thanks, pushed
Guannan Ren
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
On 03/25/2012 01:42 AM, Martin Kletzander wrote:
I added support for 'uri' parameter and moved some functions into
util/Python/utils.py in order not to lose them from the code and keep
them accessible for other tests.
---
repos/domain/define.py | 132
On 03/25/2012 01:42 AM, Martin Kletzander wrote:
Function usage() was called in the code but was missing.
Parameter 'flags' was defined as optional but it was still required in
the code, so I fixed the handling of it.
---
repos/domain/start.py | 15 +++
1 files changed, 11
On 03/25/2012 01:42 AM, Martin Kletzander wrote:
Tests should be able to run on various hypervisors and machines. Now
we have only two tests that have an option to do something
remotely. This commit allows tests to see 'uri' parameter that they
should connect to. However it doesn't have to be
Thanks, pushed
Guannan Ren
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
These two patches modify library modules and exsiting testcases for
disallowing the use of the objects of subclasses in libvirt.py directly.
The files in lib directory are the layer of encapsulated python APIs. we
should use methods in it for good error catching.
93 files changed, 292
This change make any instance of subclasses in libvirt.py
invisible to testcases in order to catch libvirtError.
connectAPI.py
domainAPI.py
interfaceAPI.py
networkAPI.py
nodedevAPI.py
nwfilterAPI.py
secretAPI.py
snapshotAPI.py
On 03/27/2012 07:11 AM, Eric Blake wrote:
On 03/26/2012 12:11 AM, Guannan Ren wrote:
*libvirt_virDomainGetCPUStats
*setPyVirTypedParameter
---
python/libvirt-override-api.xml |4 +-
python/libvirt-override.c | 62 +-
2 files changed
libvirt_boolUnwrap
will not have any checking for its type of arguments in bool wise.
The upper python code could pass a null list or dictionary as a False.
Maybe a little bit loose use here. but It's fine to blindly use
it actually.
Guannan Ren
--
libvir-list mailing list
libvir-list
|4 +-
9 files changed, 105 insertions(+), 78 deletions(-)
Hi Peter
I have pushed the set of patches after some small modifications
based on my comments.
If you have any comment, please be free to tell me.
Thanks your patches.
Guannan Ren
--
libvir-list
On 03/22/2012 03:02 PM, Martin Kletzander wrote:
I'd rather do it using the get() method for dictionaries with some
default, i.e. params.get('flags', None).
Just my $0.02
Martin
Thanks, This belongs to enhancement work, let us do it a little later.
Probably, we need a cleanup patch
.
Peter
Yeath, you are right, we can not cross the encapsulation line.
We have to operate above the abstraction layer.
Your patch is correct definitely.
Guannan Ren
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
should delete the newStream method in connectAPI.py.
Right now, the virConnect object from libvirt.py is exposed
directly in existing testcases,
that's not good way compared to what you did in openConsole. I
will clean them next.
What do you think?
Guannan Ren
--
libvir
VIR_DOMAIN_AFFECT_CONFIG = 2
+# virDomainConsoleFlags
+VIR_DOMAIN_CONSOLE_FORCE = 1
+VIR_DOMAIN_CONSOLE_SAFE = 2
Sorry I didn't find virDomainConsoleFlags in libvirt.py
Guannan Ren
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
On 03/20/2012 01:36 AM, Eric Blake wrote:
On 03/18/2012 04:41 AM, Guannan Ren wrote:
+if (totalbool == Py_False) {
Per other code in libvirt-override.c, you can't compare totalbool (type
PyObject) with Py_False, at least not on all compilers. You need
something like this instead
On 03/21/2012 08:07 PM, Eric Blake wrote:
Maybe we need a wrapper:
int libvirt_boolUnwrap(PyObject *obj, bool *value) {
int ret = PyObject_IsTrue(obj);
if (ret 0)
return ret;
*value = ret 0;
return 0;
}
and then callers become:
if
On 03/21/2012 09:23 PM, Eric Blake wrote:
On 03/21/2012 07:22 AM, Guannan Ren wrote:
On 03/21/2012 08:07 PM, Eric Blake wrote:
Maybe we need a wrapper:
int libvirt_boolUnwrap(PyObject *obj, bool *value) {
int ret = PyObject_IsTrue(obj);
if (ret 0)
return ret
than forcing
them to call dom.getCPUStats(False, 0), if that is the convention
allowed elsewhere in native python code.
Thanks for these ideas
I totally agree with them.
Guannan Ren
**
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo
the LibvirtAPI to raise
API error in try..catch clause rather
than catch all of other errors from python basic modules or
somewhere.
Guannan Ren
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
()
dom.openConsole(domname, None, st_obj)
receivedData = st_obj.recv(1024)
(the last statement probably resides in a registered
stream callback function via eventAddCallback API)
Thanks for the patch.
Guannan Ren
--
libvir-list mailing list
@@
-#!/usr/bin/evn python
+#!/usr/bin/env python
ACK, thanks
Guannan Ren
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
('(.*)libvirt-test-API', pwd)
+result = re.search('(.*)libvirt-test-API(.*)', pwd)
return result.group(0) + /utils
def mac_to_ip(self, mac, timeout):
ACK, thanks
Guannan Ren
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir
(Missing module name after
\:\)
Raising an exception here make parsing stronger, thanks.
BTW, It's better to use if component == :
Guannan Ren
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
flags to be mandatory in the
following code.
Add checking for it in check_params()
Guannan Ren
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
/ipget.sh
+++ b/utils/ipget.sh
@@ -6,8 +6,8 @@ if [[ -z $mac ]]; then
exit 1
fi
-if ! rpm -qa |grep -q nmap ;then
- echo need nmap rpmball installed.
+if ! type nmap/dev/null 21; then
+ echo nmap package needs to be installed.
exit 1
fi
ACK ,thanks
Guannan Ren
--
libvir
will do it soon
Guannan Ren
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
On 03/20/2012 11:42 PM, Eric Blake wrote:
On 03/19/2012 10:34 PM, Guannan Ren wrote:
dom.getCPUStats(True, 0)
[{'cpu_time': 24699446159L, 'system_time': 1087000L, 'user_time':
95000L}]
dom.getCPUStats(False, 0)
[{'cpu_time': 8535292289L}, {'cpu_time
dom.getCPUStats(True, 0)
[{'cpu_time': 24699446159L, 'system_time': 1087000L, 'user_time':
95000L}]
dom.getCPUStats(False, 0)
[{'cpu_time': 8535292289L}, {'cpu_time': 1005395355L}, {'cpu_time':
9351766377L}, {'cpu_time': 5813545649L}]
*generator.py Add a new
be reused to populate the correct return
value for ncpus regardless of whether nparams was 0.
Thanks for these good suggested points, the v3 has been sent out
based on them.
Guannan Ren
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir
When sending a Python integer as an argument to
PyLong_AsUnsignedLong or PyLong_AsUnsignedLongLong,
the following error occurs
SystemError: Objects/longobject.c:980:
bad argument to internal function
This error comes from the fact that
PyLong_AsUnsignedLong and
dom.getCPUStats(True, 0)
[{'cpu_time': 24699446159L, 'system_time': 1087000L, 'user_time':
95000L}]
dom.getCPUStats(False, 0)
[{'cpu_time': 8535292289L}, {'cpu_time': 1005395355L}, {'cpu_time':
9351766377L}, {'cpu_time': 5813545649L}]
*generator.py Add a new
On 03/17/2012 01:26 AM, Eric Blake wrote:
On 03/14/2012 07:03 AM, Guannan Ren wrote:
dom.getCPUStats(True, 0)
[{'cpu_time': 92913537401L, 'system_time': 547000L, 'user_time':
31000L}]
dom.getCPUStats(False, 0)
[{'cpu_time': 39476858499L}, {'cpu_time
On 03/16/2012 04:24 AM, Lucas Meneghel Rodrigues wrote:
On 03/14/2012 11:56 AM, Guannan Ren wrote:
On 03/14/2012 06:45 PM, Daniel Veillard wrote:
On Tue, Mar 13, 2012 at 11:05:31PM -0300, Lucas Meneghel Rodrigues
wrote:
Hi Guannan:
I've worked on your first version of the libvirt-test-api
Is there anyone who would like to review this :)
On 03/14/2012 09:03 PM, Guannan Ren wrote:
dom.getCPUStats(True, 0)
[{'cpu_time': 92913537401L, 'system_time': 547000L, 'user_time':
31000L}]
dom.getCPUStats(False, 0)
[{'cpu_time': 39476858499L}, {'cpu_time
dom.cPUStats(True, 0)
[{'cpu_time': 370942649768L, 'system_time': 1164000L, 'user_time':
89000L}]
dom.cPUStats(False, 0)
[{'cpu_time': 38378374721L}, {'cpu_time': 12475521087L}, {'cpu_time':
127388622598L}, {'cpu_time': 192720388324L}]
---
On 03/14/2012 05:10 PM, Eric Blake wrote:
On 03/14/2012 03:02 AM, Daniel Veillard wrote:
On Wed, Mar 14, 2012 at 03:06:38PM +0800, Alex Jia wrote:
On 03/14/2012 01:57 PM, Guannan Ren wrote:
dom.cPUStats(True, 0)
I'd like getVcpuStats or cpuStats function naming.
Based on existing
dom.getCPUStats(True, 0)
[{'cpu_time': 92913537401L, 'system_time': 547000L, 'user_time':
31000L}]
dom.getCPUStats(False, 0)
[{'cpu_time': 39476858499L}, {'cpu_time': 10627048370L}, {'cpu_time':
21270945682L}, {'cpu_time': 21556420641L}]
*generator.py Add a new
On 03/14/2012 06:45 PM, Daniel Veillard wrote:
On Tue, Mar 13, 2012 at 11:05:31PM -0300, Lucas Meneghel Rodrigues wrote:
Hi Guannan:
I've worked on your first version of the libvirt-test-api wrapper
for autotest. Could you please check if you like the modified
version?
---
src/qemu/qemu_hotplug.c | 14 +++---
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/qemu/qemu_hotplug.c b/src/qemu/qemu_hotplug.c
index 1e56354..e088a49 100644
--- a/src/qemu/qemu_hotplug.c
+++ b/src/qemu/qemu_hotplug.c
@@ -2081,13 +2081,6 @@
On 03/13/2012 03:24 AM, Laine Stump wrote:
On 03/12/2012 11:50 AM, Guannan Ren wrote:
---
src/qemu/qemu_hotplug.c | 14 +++---
1 files changed, 7 insertions(+), 7 deletions(-)
ACK (and I'll push it in a couple hours - I want to add some details to
the commit log message) Thanks
On 03/09/2012 04:28 PM, Daniel Veillard wrote:
On Fri, Mar 09, 2012 at 01:33:48PM +0800, Guannan Ren wrote:
On 03/09/2012 01:40 AM, Lucas Meneghel Rodrigues wrote:
Thanks Guannan:
https://github.com/autotest/autotest/commit/ba4b748e7b9a9bfe7898a97cdccdc9b867d5321c
Cheers,
Lucas
That's
will be sent to autotest mainling list, is that
right?
Guannan Ren
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
The XDR routine .c file generated by rpcgen includes the corresponding
Header file. however, the path in include directive of the header file
is picked up based on the path of .x file. In the situation of VPATH Builds
it will include full path of the header file rather than relative
On 03/07/2012 04:56 AM, Eric Blake wrote:
On 03/06/2012 10:07 AM, Guannan Ren wrote:
The XDR routine .c file generated by rpcgen includes the corresponding
Header file. however, the path in include directive of the header file
is picked up based on the path of .x file
If we don't explicitly specify the format of backing file,
it should use raw by default, if so, libvirt's security drivers
should *not* grant access to the last.img file the guest
should not see the last.img data. That is the purpose of testing.
---
On 02/24/2012 07:50 PM, Lucas Meneghel Rodrigues wrote:
On 02/23/2012 12:27 PM, Guannan Ren wrote:
Hi Lucas,
Thanks for your these good modifications.
There is one place I noticed where you output each testcase of *.t
into a separate file with .tap extension.
hence, it has a corresponding log
to check compared
to just one log file.
The rest of them is perfect for me.
Guannan Ren
On 02/23/2012 04:45 AM, Lucas Meneghel Rodrigues wrote:
Hi guys,
I was here looking at the autotest wrapper for libvirt TCK and then
decided to work on it, as I had the review fresh
work go well is using TAP parser to
parse the TAP file generated by TCK
and show the results to webpage, but right now, parser in autotest
doesn't support this idea as far as
I know.
Guannan Ren
///
/
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com
when calling block_stats() like $dom-block_stats(), it will reprot errors:
Attempt to free unreferenced scalar: SV 0x2598498, Perl interpreter:
0x11a0010.
Attempt to free unreferenced scalar: SV 0x258c498, Perl interpreter:
0x11a0010.
This patch fix it.
---
Virt.xs |1 +
1
When initializing libvirt shared library, calling virOnce
to make load hypervisor drivers and create thread local key
only once.
---
src/libvirt.c | 131 +++
src/util/threads-pthread.c |8 ++-
2 files changed, 64
On 02/13/2012 05:03 PM, Wayne Sun wrote:
* new APIs
get_parent(self, domname, snapname, flag = 0)
children_num(self, domname, snapname, flag)
children_names_list(self, domname, snapname, flag)
the flag in children_num and children_names_list could be in 0-7,
which is
On 02/11/2012 08:18 AM, Eric Blake wrote:
On 02/10/2012 03:17 AM, Guannan Ren wrote:
*libvirt_virDomainBlockStatsFlags
*libvirt_virDomainGetSchedulerParameters
*libvirt_virDomainGetSchedulerParametersFlags
*libvirt_virDomainSetSchedulerParameters
*libvirt_virDomainBlockStatsFlags
*libvirt_virDomainGetSchedulerParameters
*libvirt_virDomainGetSchedulerParametersFlags
*libvirt_virDomainSetSchedulerParameters
*libvirt_virDomainSetSchedulerParametersFlags
*libvirt_virDomainSetBlkioParameters
On 02/10/2012 07:22 AM, Eric Blake wrote:
On 02/08/2012 09:29 PM, Guannan Ren wrote:
On 02/09/2012 09:41 AM, Eric Blake wrote:
From: Guannan Reng...@redhat.com
*getPyVirTypedParameter
*setPyVirTypedParameter
*virDomainSetNumaParameters
On 02/08/2012 04:28 PM, Wayne Sun wrote:
* add 8 new APIs
get_sys_info(self, flag = 0)
get_memory_stats(self, cellNum, flag = 0)
get_cpu_stats(self, cpuNum, flag = 0)
is_alive(self)
change_begin(self, flag = 0)
change_commit(self, flag = 0)
*getPyVirTypedParameter
*setPyVirTypedParameter
*virDomainSetNumaParameters
*virDomainGetNumaParameters
---
python/libvirt-override-api.xml | 13 ++
python/libvirt-override.c | 385 +++
2 files changed, 398
On 02/08/2012 08:37 AM, Eric Blake wrote:
On 02/02/2012 04:57 AM, Guannan Ren wrote:
src/qemu/qemu_driver.c
When run virsh blkiotune dom --device-weights /dev/sda,400 --config
it couldn't be persistent after dom restart.
The patch fix it.
---
src/qemu/qemu_driver.c | 53
*) virDomainPinVcpu, libvirt_virDomainPinVcpu, METH_VARARGS,
NULL},
{(char *) virDomainPinVcpuFlags, libvirt_virDomainPinVcpuFlags,
METH_VARARGS, NULL},
Thanks for these comments, ACK.
Guannan Ren
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman
On 02/07/2012 05:35 PM, Daniel P. Berrange wrote:
On Mon, Feb 06, 2012 at 03:59:19PM +0100, Michal Privoznik wrote:
On 06.02.2012 10:08, Guannan Ren wrote:
Hi,
The Makefile.am in python forget to add probes.o if WITH_DTRACE
but after I added it and tried to connect
On 02/07/2012 08:41 PM, Michal Privoznik wrote:
As we already link with libvirt.la which contains libvirt_utils.la.
Double linking causes global symbols to be presented twice and
thus confusion. This partially reverts c700613b8d463212d142c97108b7a2352e23e559
---
python/Makefile.am |2 --
() from
/usr/lib64/libpython2.7.so.1.0
#13 0x003c6530e745 in Py_Main () from
/usr/lib64/libpython2.7.so.1.0
#14 0x003c62a2169d in __libc_start_main () from /lib64/libc.so.6
#15 0x00400651 in _start ()
Guannan Ren
--
libvir-list mailing list
libvir-list
ping :)
On 02/02/2012 07:57 PM, Guannan Ren wrote:
src/qemu/qemu_driver.c
When run virsh blkiotune dom --device-weights /dev/sda,400 --config
it couldn't be persistent after dom restart.
The patch fix it.
---
src/qemu/qemu_driver.c | 53
On 02/03/2012 01:48 AM, Eric Blake wrote:
On 01/28/2012 07:53 AM, Guannan Ren wrote:
*virDomainSetNumaParameters
*virDomainGetNumaParameters
---
python/Makefile.am |4 +-
python/libvirt-override-api.xml | 13 ++
python/libvirt-override.c | 314
On 02/03/2012 01:48 AM, Eric Blake wrote:
On 01/28/2012 07:53 AM, Guannan Ren wrote:
*virDomainSetNumaParameters
*virDomainGetNumaParameters
---
python/Makefile.am |4 +-
python/libvirt-override-api.xml | 13 ++
python/libvirt-override.c | 314
Could anyone please help to review these patchset?
Thanks :)
On 01/28/2012 10:53 PM, Guannan Ren wrote:
*virDomainSetNumaParameters
*virDomainGetNumaParameters
---
python/Makefile.am |4 +-
python/libvirt-override-api.xml | 13 ++
python/libvirt
)
+except libvirt.libvirtError, e:
+message = e.get_error_message()
+code = e.get_error_code()
+raise exception.LibvirtAPI(message, code)
ACK
Guannan Ren
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
*virDomainSetNumaParameters
*virDomainGetNumaParameters
---
python/Makefile.am |4 +-
python/libvirt-override-api.xml | 13 ++
python/libvirt-override.c | 314 +++
3 files changed, 330 insertions(+), 1 deletions(-)
*libvirt_virDomainBlockStatsFlags
*libvirt_virDomainGetSchedulerParameters
*libvirt_virDomainGetSchedulerParametersFlags
*libvirt_virDomainSetSchedulerParameters
*libvirt_virDomainSetSchedulerParametersFlags
*libvirt_virDomainSetBlkioParameters
On 01/29/2012 01:39 PM, Alex Jia wrote:
On 01/28/2012 10:53 PM, Guannan Ren wrote:
*virDomainSetNumaParameters
*virDomainGetNumaParameters
---
python/Makefile.am |4 +-
python/libvirt-override-api.xml | 13 ++
python/libvirt-override.c | 314
*virDomainSetNumaParameters
*virDomainGetNumaParameters
---
python/libvirt-override-api.xml | 13 +++
python/libvirt-override.c | 186 +++
2 files changed, 199 insertions(+), 0 deletions(-)
diff --git a/python/libvirt-override-api.xml
*virDomainSetNumaParameters
*virDomainGetNumaParameters
---
python/libvirt-override-api.xml | 13 +++
python/libvirt-override.c | 186 +++
2 files changed, 199 insertions(+), 0 deletions(-)
diff --git a/python/libvirt-override-api.xml
),
( Paused, Migrated, IOError, Watchdog ),
( Unpaused, Migrated),
( Shutdown, Destroyed, Crashed, Migrated, Saved, Failed,
Snapshot)
+( Finished, )
)
return eventStrings[event][detail]
After fixing it, ack and pushed.
Guannan Ren
On 12/14/2011 02:59 PM, Wayne Sun wrote:
On 12/13/2011 11:45 AM, Nan Zhang wrote:
* repos/domain/get_cpu_shares.py: get the value of cpu_shares
property of the guest.
---
lib/domainAPI.py |2 +-
repos/domain/get_cpu_shares.py | 117
On 12/14/2011 02:59 PM, Wayne Sun wrote:
On 12/13/2011 11:45 AM, Nan Zhang wrote:
* repos/domain/set_cpu_shares.py: set the value of cpu_shares
property of the guest.
---
repos/domain/set_cpu_shares.py | 121
1 files changed, 121 insertions(+),
On 11/21/2011 03:23 PM, Wayne Sun wrote:
* add clean function for missing ones
* clean the system configuration files which been touched
---
repos/domain/balloon_memory.py |2 ++
repos/domain/cpu_topology.py |5 +
repos/domain/ownership_test.py | 10
On 11/10/2011 11:25 AM, Guannan Sun wrote:
NACK
- Original Message -
From: Guannan Reng...@redhat.com
To: libvir-list@redhat.com
Sent: Wednesday, November 9, 2011 12:38:38 PM
Subject: [libvirt] [test-API][PATCH 2/3] clean keyword update in
libvirt-test-api, mapper, proxy part
---
---
env_clear.py | 23 ++-
1 files changed, 10 insertions(+), 13 deletions(-)
diff --git a/env_clear.py b/env_clear.py
index 302ff62..5e78ab5 100644
--- a/env_clear.py
+++ b/env_clear.py
@@ -14,7 +14,7 @@
# distribution and at http://www.gnu.org/licenses.
#
# This module
---
mapper.py | 19 +++
proxy.py | 11 +--
2 files changed, 28 insertions(+), 2 deletions(-)
diff --git a/mapper.py b/mapper.py
index affc510..f0b675a 100644
--- a/mapper.py
+++ b/mapper.py
@@ -55,3 +55,22 @@ class Mapper(object):
prev_testcases_params =
---
parser.py | 21 +++--
1 files changed, 15 insertions(+), 6 deletions(-)
diff --git a/parser.py b/parser.py
index 085a1f2..883de89 100644
--- a/parser.py
+++ b/parser.py
@@ -391,12 +391,21 @@ class CaseFileParser(object):
if len(tripped_caselist) == 2 and
testcase1
option1
avalue
option2
bvalue
clean
testcase2
option1
cvalue
option2
dvalue
clean
---
generator.py | 44
1 files changed, 32 insertions(+), 12 deletions(-)
diff --git a/generator.py
---
libvirt-test-api.py |7 +++
mapper.py | 24 +++-
proxy.py| 13 +
3 files changed, 35 insertions(+), 9 deletions(-)
diff --git a/libvirt-test-api.py b/libvirt-test-api.py
index 8a4bacd..171e13c 100644
--- a/libvirt-test-api.py
)
env_clean(src, dst, srcdom, dstdom, target_machine, guestname,
logger)
return 1
-
try:
if(migflags VIR_MIGRATE_PEER2PEER):
logger.info(use migrate_to_uri() API to migrate)
ACK and pushed.
Guannan Ren
--
libvir-list mailing list
need to change define.py as well as other domain related
testcases to
use the uuid in env.cfg.
It's better to add an additional option to theses testcases,
such as uuid.
ACK and pushed.
Guannan Ren
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com
+username
+$target_user
+password
+$target_password
domain:start
guestname
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
ACK and pushed
Guannan Ren
--
libvir-list mailing list
libvir-list@redhat.com
https
to modify the last testcase instead of all of the
previous.
It solved the parsing bug which two or more testcases with the
same name but different options caused.
ACK and pushed.
Guannan Ren
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo
')
if params.has_key('memory'):
ACK and pushed
Guannan Ren
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
On 09/26/2011 05:58 PM, Nan Zhang wrote:
---
repos/domain/update_devflag.py | 276
1 files changed, 276 insertions(+), 0 deletions(-)
create mode 100644 repos/domain/update_devflag.py
diff --git a/repos/domain/update_devflag.py
restart % guestname)
+
+return 0
+
+def restart_clean(params):
+ clean testing environment
+pass
+
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
ACK and pushed with this fixed.
Guannan Ren
--
libvir-list mailing list
'.
+if ret !=0:
Same as above.
+logger.error(failed to set chkconfig)
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
ACK with these code problem fixed.
Guannan Ren
--
libvir-list mailing list
libvir-list@redhat.com
https
On 09/14/2011 06:31 PM, Wayne Sun wrote:
* repos/libvirtd/qemu_hang.py
qemu process get hang should not cause libvirtd hang or dead
---
repos/libvirtd/qemu_hang.py | 142 +++
1 files changed, 142 insertions(+), 0 deletions(-)
create mode
and pushed with these small modification.
Guannan Ren
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
and pushed
Guannan Ren
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
)):
+logger.error(out[i])
+
+filepath = TEMP_FILE
+elif use_nfs == 'disable':
+filepath = SAVE_FILE
+
+if os.path.exists(filepath):
+os.remove(filepath)
+
ACK and pushed
Guannan Ren
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo
701 - 800 of 863 matches
Mail list logo