def get_ptf_port_list(ptfhost):
    """
    Get list of ports of the PTF

    Args:
        ptfhost: PTF host object

    Returns:
        List with ports available on the PTF
    """
    out = ptfhost.shell("ls /sys/class/net")['stdout']
    return out.split('\n')