@staticmethod
def _parse_path_dn(dn):
    """
        Handles DNs that look like the following:
        topology/pod-1/paths-102/pathep-[eth1/12]
        topology/pod-1/paths-1012/pathep-[c01-nas-n06-IfPolGrp]
        """
    pod = dn.partition('/pod-')[-1].split('/')[0]
    node = dn.partition('/paths-')[-1].split('/')[0]
    port_name = dn.partition('/pathep-[')[-1].split(']')[0]
    if port_name[:3] == 'eth':
        module = port_name[3:].split('/')[0]
        port = port_name[3:].split('/')[1]
        interface_type = 'eth'
    else:
        module = ''
        port = port_name
        interface_type = 'pol'
    return interface_type, pod, node, module, port
