[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Proposed Update to Netconf Charter
Juergen Schoenwaelder wrote:
On Tue, Jul 05, 2005 at 03:14:52PM -0700, Andy Bierman wrote:
3) tier 2 is data model access, and defined by the tuple:
{ operation-list, data-namespace, data-path, group-list }
where:
operation-list is zero or more of the following strings:
{ notify, read, create, merge, replace, delete }
[Shorthand: the term 'write' == create, merge, replace, delete]
data-namespace is the URI identifying the data model namespace
data-path is an absolute XPATH expression identifying the
top-level data model node that this access applies
group-list is a list of group names granted access
While all this sounds reasonable, I am really surprised that you
propose XPATH expressions given the lengthy discussion in the past
that XPATH expressions are too expensive for filtering. Or is it
because you expect access control on the 2nd tier not to be
mandatory to implement and an optional feature like XPATH
filtering?
I am envisioning that a simple absolute path expression be the mandatory
requirement and full XPATH expressions would be optional. This restricted
XPATH is what we have within the 'rpc-error' structure, and the WG
already agreed on this simple string format which happens to be a
particular subset of XPATH.
Sorry, I could not resist to ask this question. But despite this
somewhat polemic question, I do like the 2 tier approach that you
have outlined.
I didn't really clarify the XPATH usage, but since you brought it up,
it would be a powerful way to specify access control filters.
I think this 2-tier approach makes sense because NETCONF is extensible,
and we can't hard-wire the tier-1 configuration. Even though the document
seems to make a special case out of NETCONF operations, all the protocol
really has are RPC methods defined within specific namespaces. We
need to deal with vendor (and maybe later standard) RPC extensions anyway.
/js
Andy
--
to unsubscribe send a message to netconf-request@ops.ietf.org with
the word 'unsubscribe' in a single line as the message text body.
archive: <http://ops.ietf.org/lists/netconf/>