def _get_cisco_nsinfo(self, fabric):
    (fabric_ip, fabric_user, fabric_pwd, fabric_port, zoning_vsan) = self._get_cisco_config(fabric)
    try:
        conn = importutils.import_object(self.zm.driver.configuration.cisco_sb_connector, ipaddress=fabric_ip, username=fabric_user, password=fabric_pwd, port=fabric_port, vsan=zoning_vsan)
        nsinfo = conn.get_nameserver_info()
        LOG.debug('name server info from fabric: %s', nsinfo)
        conn.cleanup()
    except exception.CiscoZoningCliException:
        with excutils.save_and_reraise_exception():
            LOG.exception(_LE('Error getting show fcns database info.'))
    except Exception:
        msg = 'Failed to get show fcns database info.'
        LOG.exception(msg)
        raise exception.FCZoneDriverException(msg)
    return nsinfo
def _get_cisco_nsinfo(self, fabric):
    (fabric_ip, fabric_user, fabric_pwd, fabric_port, zoning_vsan) = self._get_cisco_config(fabric)
    try:
        conn = importutils.import_object(self.zm.driver.configuration.cisco_sb_connector, ipaddress=fabric_ip, username=fabric_user, password=fabric_pwd, port=fabric_port, vsan=zoning_vsan)
        nsinfo = conn.get_nameserver_info()
        LOG.debug('name server info from fabric: %s', nsinfo)
        conn.cleanup()
    except exception.CiscoZoningCliException:
        with excutils.save_and_reraise_exception():
            LOG.exception(_LE('Error getting show fcns database info.'))
    except Exception:
        msg = 'Failed to get show fcns database info.'
        LOG.exception(msg)
        raise exception.FCZoneDriverException(msg)
    return nsinfo