'Checks if setup occurred properly.'

def check_for_setup_error(self):

    api_version = self.zapi_client.get_ontapi_version()
    if api_version:
        (major, minor) = api_version
        if ((major == 1) and (minor < 9)):
            msg = _('Unsupported    Data    ONTAP    version.    Data    ONTAP    version    7.3.1    and    above    is    supported.')
            raise exception.VolumeBackendAPIException(data=msg)
    else:
        msg = _('Data    ONTAP    API    version    could    not    be    determined.')
        raise exception.VolumeBackendAPIException(data=msg)
    self._add_looping_tasks()
    super(NetApp7modeNfsDriver, self).check_for_setup_error()
