def device_driver(model):
    """
    Returns the information needed to parse switch CLI output

    model: The model name string

    returns: Dictionary with the CLI command the units and output format
    """
    return{
            'ubiquiti_edgeswitch' : ['ubiquiti_edgeswitch','show fiber-ports optics all','dBm',4,5],
            'dlink_dgs' : ['ubiquiti_edgeswitch','show interfaces transceiver','mW',4,5]
            }[model]