[libvirt] [test-API][PATCH] Add new cases for testing setSchedulerParametersFlags related API
Guannan Ren
gren at redhat.com
Thu Dec 12 09:59:01 UTC 2013
On 2013年12月12日 16:29, Xuesong Zhang wrote:
> ---
> cases/sched_params.conf | 120 +++++++++++++++++++++++++++++++
> repos/domain/sched_params.py | 136 ++++++++++++++++-------------------
> repos/domain/sched_params_flag.py | 148 ++++++++++++++++++++++++++++++++++++++
> 3 files changed, 330 insertions(+), 74 deletions(-)
> create mode 100755 cases/sched_params.conf
> create mode 100644 repos/domain/sched_params_flag.py
Both sched_params_flag.py and sched_params.py are used to test vcpu scheduler.
Most of their codes are duplicated.
setSchedulerParameters() is equivalent to setSchedulerParametersFlags with() flag VIR_DOMAIN_AFFECT_CURRENT
So we can only keep sched_params_flag.py.
Guannan
More information about the libvir-list
mailing list