'Set up LeftHand client.'

def do_setup(self, context):

    if (not hpelefthandclient):
        ex_msg = _("HPELeftHand    client    is    not    installed.    Please    install    using    'pip    install    python-lefthandclient'.")
        LOG.error(ex_msg)
        raise exception.VolumeDriverException(ex_msg)
    if (hpelefthandclient.version < MIN_CLIENT_VERSION):
        ex_msg = (_("Invalid    hpelefthandclient    version    found    (%(found)s).    Version    %(minimum)s    or    greater    required.    Run    'pip    install    --upgrade    python-lefthandclient'    to    upgrade    the    hpelefthandclient.") % {'found': hpelefthandclient.version, 'minimum': MIN_CLIENT_VERSION})
        LOG.error(ex_msg)
        raise exception.InvalidInput(reason=ex_msg)
    self._do_replication_setup()
