def _path(self):
    if hasattr(self, '_parent'):
        return (self._parent._path() + [self._yang_name])
    else:
        return [u'routing-system', u'router', u'router-bgp', u'address-family', u'ipv4', u'ipv4-unicast', u'default-vrf', u'neighbor', u'af-ipv4-neighbor-peergroup-holder', u'af-ipv4-neighbor-peergroup', u'prefix-list', u'direction-out']
def _path(self):
    if hasattr(self, '_parent'):
        return (self._parent._path() + [self._yang_name])
    else:
        return [u'routing-system', u'router', u'router-bgp', u'address-family', u'ipv4', u'ipv4-unicast', u'default-vrf', u'neighbor', u'af-ipv4-neighbor-peergroup-holder', u'af-ipv4-neighbor-peergroup', u'prefix-list', u'direction-out']