[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Separation of configuration and control - good or bad?



Larry Menten writes:
>I am partial to the XPath subset approach, too.  It solves a lot of
>problems.

The biggest cons to using xpath are:

- Lack of schema-ability: Since xpath strings are just strings, you
can't validate a request against a schema to know that your request
is valid.

- Distinct syntax: While it's certainly possible to convert from
a configuration hierarchy into the xpath expression that represents
it, it's not trivial. Converting the other way (xpath -> element)
is even more difficult, though it would likely be rarely required.

- Assymetric syntax: Using a different syntax for rpc input parameters
than rpc output parameters seems unnatural and will make applications
that what to perform simple data transforms more difficult.

Thanks,
 Phil

--
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/>