예제 #1
0
def get_memory_leak_scenarios():
    if 'test_memory_leak' in cfme_performance.get('tests',
                                                  {}).get('workloads', []):
        if cfme_performance['tests']['workloads']['test_memory_leak'][
                'scenarios']:
            return cfme_performance['tests']['workloads']['test_memory_leak'][
                'scenarios']
    return []
예제 #2
0
def get_idle_scenarios():
    if 'test_idle' in cfme_performance.get('tests', {}).get('workloads', []):
        if (cfme_performance['tests']['workloads']['test_idle']['scenarios']
                and len(cfme_performance['tests']['workloads']['test_idle']
                        ['scenarios']) > 0):
            return cfme_performance['tests']['workloads']['test_idle'][
                'scenarios']
    return []
예제 #3
0
def get_ui_single_page_scenarios():
    if 'test_ui_single_page' in cfme_performance.get('tests', {}).get(
            'ui_workloads', []):
        if cfme_performance['tests']['ui_workloads']['test_ui_single_page'][
                'scenarios']:
            return cfme_performance['tests']['ui_workloads'][
                'test_ui_single_page']['scenarios']
    return []
예제 #4
0
def get_refresh_vms_scenarios():
    if 'test_refresh_vms' in cfme_performance.get('tests',
                                                  {}).get('workloads', []):
        if cfme_performance['tests']['workloads']['test_refresh_vms'][
                'scenarios']:
            return cfme_performance['tests']['workloads']['test_refresh_vms'][
                'scenarios']
    return []
예제 #5
0
def get_smartstate_analysis_scenarios():
    if 'test_smartstate' in cfme_performance.get('tests',
                                                 {}).get('workloads', []):
        if cfme_performance['tests']['workloads']['test_smartstate'][
                'scenarios']:
            return cfme_performance['tests']['workloads']['test_smartstate'][
                'scenarios']
    return []
예제 #6
0
def get_provisioning_scenarios():
    if 'test_provisioning' in cfme_performance.get('tests',
                                                   {}).get('workloads', []):
        if cfme_performance['tests']['workloads']['test_provisioning'][
                'scenarios']:
            return cfme_performance['tests']['workloads']['test_provisioning'][
                'scenarios']
    return []
예제 #7
0
def get_capacity_and_utilization_replication_scenarios():
    if 'test_cap_and_util_rep' in cfme_performance.get('tests', {}).get('workloads', []):
        if cfme_performance['tests']['workloads']['test_cap_and_util_rep']['scenarios']:
            # Add Replication Master into Scenario(s):
            for scn in cfme_performance['tests']['workloads']['test_cap_and_util_rep']['scenarios']:
                scn['replication_master'] = cfme_performance['replication_master']
            return cfme_performance['tests']['workloads']['test_cap_and_util_rep']['scenarios']
    return []
예제 #8
0
def get_capacity_and_utilization_scenarios():
    if 'test_cap_and_util' in cfme_performance.get('tests',
                                                   {}).get('workloads', []):
        if cfme_performance['tests']['workloads']['test_cap_and_util'][
                'scenarios']:
            return cfme_performance['tests']['workloads']['test_cap_and_util'][
                'scenarios']
    return []
예제 #9
0
def get_refresh_providers_scenarios():
    if 'test_refresh_providers' in cfme_performance.get('tests', {}).get(
            'workloads', []):
        if (cfme_performance['tests']['workloads']['test_refresh_providers']
            ['scenarios']
                and len(cfme_performance['tests']['workloads']
                        ['test_refresh_providers']['scenarios']) > 0):
            return cfme_performance['tests']['workloads'][
                'test_refresh_providers']['scenarios']
    return []
예제 #10
0
def get_capacity_and_utilization_replication_scenarios():
    if 'test_cap_and_util_rep' in cfme_performance.get('tests', {}).get(
            'workloads', []):
        if cfme_performance['tests']['workloads']['test_cap_and_util_rep'][
                'scenarios']:
            # Add Replication Master into Scenario(s):
            for scn in cfme_performance['tests']['workloads'][
                    'test_cap_and_util_rep']['scenarios']:
                scn['replication_master'] = cfme_performance[
                    'replication_master']
            return cfme_performance['tests']['workloads'][
                'test_cap_and_util_rep']['scenarios']
    return []
예제 #11
0
def get_ui_single_page_scenarios():
    if 'test_ui_single_page' in cfme_performance.get('tests', {}).get('ui_workloads', []):
        if cfme_performance['tests']['ui_workloads']['test_ui_single_page']['scenarios']:
            return cfme_performance['tests']['ui_workloads']['test_ui_single_page']['scenarios']
    return []
예제 #12
0
def get_memory_leak_scenarios():
    if 'test_memory_leak' in cfme_performance.get('tests', {}).get('workloads', []):
        if cfme_performance['tests']['workloads']['test_memory_leak']['scenarios']:
            return cfme_performance['tests']['workloads']['test_memory_leak']['scenarios']
    return []
예제 #13
0
def get_smartstate_analysis_scenarios():
    if 'test_smartstate' in cfme_performance.get('tests', {}).get('workloads', []):
        if cfme_performance['tests']['workloads']['test_smartstate']['scenarios']:
            return cfme_performance['tests']['workloads']['test_smartstate']['scenarios']
    return []
예제 #14
0
def get_refresh_vms_scenarios():
    if 'test_refresh_vms' in cfme_performance.get('tests', {}).get('workloads', []):
        if cfme_performance['tests']['workloads']['test_refresh_vms']['scenarios']:
            return cfme_performance['tests']['workloads']['test_refresh_vms']['scenarios']
    return []
예제 #15
0
def get_provisioning_scenarios():
    if 'test_provisioning' in cfme_performance.get('tests', {}).get('workloads', []):
        if cfme_performance['tests']['workloads']['test_provisioning']['scenarios']:
            return cfme_performance['tests']['workloads']['test_provisioning']['scenarios']
    return []
예제 #16
0
def get_idle_scenarios():
    if 'test_idle' in cfme_performance.get('tests', {}).get('workloads', []):
        if cfme_performance['tests']['workloads']['test_idle']['scenarios']:
            return cfme_performance['tests']['workloads']['test_idle']['scenarios']
    return []
예제 #17
0
def get_capacity_and_utilization_scenarios():
    if 'test_cap_and_util' in cfme_performance.get('tests', {}).get('workloads', []):
        if cfme_performance['tests']['workloads']['test_cap_and_util']['scenarios']:
            return cfme_performance['tests']['workloads']['test_cap_and_util']['scenarios']
    return []