@classmethod
def _get_name_from_dn(cls, dn):
    """
        Get the instance name from the dn

        :param dn: string containing the distinguished name URL
        :return: string containing the name or None if not present
        """
    if '/brc-' in dn:
        name = dn.split('/brc-')[1].split('/')[0]
    elif '/oobbrc-' in dn:
        name = dn.split('/oobbrc-')[1].split('/')[0]
    else:
        name = None
    return name
