コード例 #1
0
ファイル: cardiff.py プロジェクト: tremble/edeploy
def compare_performance(bench_values,
                        unique_id,
                        systems_groups,
                        detail,
                        rampup_value=0,
                        current_dir=""):
    for group in systems_groups:
        systems = utils.find_sub_element(bench_values, unique_id, 'disk',
                                         group)
        check.logical_disks_perf(systems, unique_id,
                                 systems_groups.index(group), detail,
                                 rampup_value, current_dir)

    for group in systems_groups:
        systems = utils.find_sub_element(bench_values, unique_id, 'cpu', group)
        check.cpu_perf(systems, unique_id, systems_groups.index(group), detail,
                       rampup_value, current_dir)

    for group in systems_groups:
        systems = utils.find_sub_element(bench_values, unique_id, 'cpu', group)
        check.memory_perf(systems, unique_id, systems_groups.index(group),
                          detail, rampup_value, current_dir)

    for group in systems_groups:
        systems = utils.find_sub_element(bench_values, unique_id, 'network',
                                         group)
        check.network_perf(systems, unique_id, systems_groups.index(group),
                           detail, rampup_value, current_dir)
コード例 #2
0
ファイル: cardiff.py プロジェクト: dsavineau/edeploy
def compare_performance(bench_values, systems_groups, detail):
    for group in systems_groups:
        systems = utils.find_sub_element(bench_values, 'disk', group)
        check.logical_disks_perf(systems, systems_groups.index(group), detail)

    for group in systems_groups:
        systems = utils.find_sub_element(bench_values, 'cpu', group)
        check.cpu_perf(systems, systems_groups.index(group), detail)

    for group in systems_groups:
        systems = utils.find_sub_element(bench_values, 'cpu', group)
        check.memory_perf(systems, systems_groups.index(group), detail)
コード例 #3
0
def compare_performance(bench_values, systems_groups, detail):
    for group in systems_groups:
        systems = utils.find_sub_element(bench_values, 'disk', group)
        check.logical_disks_perf(systems, systems_groups.index(group), detail)

    for group in systems_groups:
        systems = utils.find_sub_element(bench_values, 'cpu', group)
        check.cpu_perf(systems, systems_groups.index(group), detail)

    for group in systems_groups:
        systems = utils.find_sub_element(bench_values, 'cpu', group)
        check.memory_perf(systems, systems_groups.index(group), detail)
コード例 #4
0
ファイル: cardiff.py プロジェクト: fortara/edeploy
def compare_performance(bench_values, unique_id, systems_groups, detail, rampup_value=0, current_dir=""):
    for group in systems_groups:
        systems = utils.find_sub_element(bench_values, unique_id, 'disk', group)
        check.logical_disks_perf(systems, unique_id, systems_groups.index(group), detail, rampup_value, current_dir)

    for group in systems_groups:
        systems = utils.find_sub_element(bench_values, unique_id, 'cpu', group)
        check.cpu_perf(systems, unique_id, systems_groups.index(group), detail, rampup_value, current_dir)

    for group in systems_groups:
        systems = utils.find_sub_element(bench_values, unique_id, 'cpu', group)
        check.memory_perf(systems, unique_id, systems_groups.index(group), detail, rampup_value, current_dir)

    for group in systems_groups:
        systems = utils.find_sub_element(bench_values, unique_id, 'network', group)
        check.network_perf(systems, unique_id, systems_groups.index(group), detail, rampup_value, current_dir)