示例#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)
示例#2
0
def validate_tgen_traffic(**kwargs):
    return get_tgen_utils().validate_tgen_traffic(**kwargs)
示例#3
0
def port_traffic_control(action, *args, **kwargs):
    return get_tgen_utils().port_traffic_control(action, *args, **kwargs)
示例#4
0
def get_traffic_stats(tg_obj, **kwargs):
    return get_tgen_utils().get_traffic_stats(tg_obj, **kwargs)
示例#5
0
def tg_igmp_config(**kwargs):
    return get_tgen_utils().tg_igmp_config(**kwargs)
示例#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)
示例#7
0
def validate_packet_capture(**kwargs):
    return get_tgen_utils().validate_packet_capture(**kwargs)