def _rest_path(self):
    if hasattr(self, '_parent'):
        if self._rest_name:
            return (self._parent._rest_path() + [self._rest_name])
        else:
            return self._parent._rest_path()
    else:
        return [u'router', u'bgp', u'cluster-id']
def _rest_path(self):
    if hasattr(self, '_parent'):
        if self._rest_name:
            return (self._parent._rest_path() + [self._rest_name])
        else:
            return self._parent._rest_path()
    else:
        return [u'router', u'bgp', u'cluster-id']