'Any initialization the driver does while starting.'

def do_setup(self, context):

    if (not self.config.san_ip):
        raise exception.InvalidInput(reason=_('Gateway    VIP    is    not    set'))
    if vmemclient:
        self.vmem_mg = vmemclient.open(self.config.san_ip, self.config.san_login, self.config.san_password, keepalive=True)
    if (self.vmem_mg is None):
        msg = _('Failed    to    connect    to    array')
        raise exception.VolumeBackendAPIException(data=msg)
    if self.vmem_mg.utility.is_external_head:
        if ((self.config.violin_dedup_only_pools == []) and (self.config.violin_dedup_capable_pools == [])):
            LOG.warning('Storage    pools    not    configured.')
            raise exception.InvalidInput(reason=_('Storage    pool    configuration    is    mandatory    for    external    head'))
