Esempio n. 1
0
def verify_ping(src_obj,
                port_handle,
                dev_handle,
                dst_ip,
                ping_count=5,
                exp_count=5):
    return get_tgen_utils().verify_ping(src_obj,
                                        port_handle,
                                        dev_handle,
                                        dst_ip,
                                        ping_count=5,
                                        exp_count=5)
Esempio n. 2
0
def validate_tgen_traffic(**kwargs):
    return get_tgen_utils().validate_tgen_traffic(**kwargs)
Esempio n. 3
0
def port_traffic_control(action, *args, **kwargs):
    return get_tgen_utils().port_traffic_control(action, *args, **kwargs)
Esempio n. 4
0
def get_traffic_stats(tg_obj, **kwargs):
    return get_tgen_utils().get_traffic_stats(tg_obj, **kwargs)
Esempio n. 5
0
def tg_igmp_config(**kwargs):
    return get_tgen_utils().tg_igmp_config(**kwargs)
Esempio n. 6
0
def get_counter_name(mode, tg_type, comp_type, direction):
    return get_tgen_utils().get_counter_name(mode, tg_type, comp_type,
                                             direction)
Esempio n. 7
0
def validate_packet_capture(**kwargs):
    return get_tgen_utils().validate_packet_capture(**kwargs)