def METHOD_NAME(ping_param):
    return [
        'ping', ping_param.host_or_ip,
        '-c', str(ping_param.num_packets or DEFAULT_NUM_PACKETS),
        '-I', str(ping_param.interface),
        '-w', str(ping_param.timeout_secs or DEFAULT_TIMEOUT_SECS),
    ]