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'show-mpls-lsp-extensive', u'output', u'lsp', u'sec-path', u'lsp-sec-path-config-admin-groups', u'lsp-admin-group-include-any']
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'show-mpls-lsp-extensive', u'output', u'lsp', u'sec-path', u'lsp-sec-path-config-admin-groups', u'lsp-admin-group-include-any']