[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Notification Decision Point: Named Profiles
----- Original Message -----
From: "Andy Bierman" <firstname.lastname@example.org>
To: "Netconf (E-mail)" <email@example.com>
Sent: Friday, June 22, 2007 4:18 PM
Subject: Notification Decision Point: Named Profiles
> Let's see if we can reach some decisions on named profiles on the
> mailing list.
> They were originally added as a way for sessions to store and share static
> filters on the agent, instead of passing the filter directly in the
> <create-subscription> RPC.
> The use of the 'any' data type is problematic for <edit-config>, and there
> is not consensus on any deterministic algorithm for processing this
> operation on a data node like this, such as <filter>. Two people
> have strongly objected to usage of the 'any' data type at all
> in NETCONF data models.
> Top Level Options:
> * Keep Named Profiles in this document and fix the problems
> * Defer named profiles until data modeling issues with <any> resolved
> * Remove named profiles from this document
> If decision is to keep named profiles:
> Clear Consensus:
> * add a <key> definition identifying 'name' as the index
> Proposed Consensus:
> * remove no-op 'stream' element
> * declare the <edit-config> operation on the contents of the <filter>
> parameter to be 'undefined'
Since you asked:-)
I think that named profiles are good to have and that we should fix the problems
now. But what are the problems? Trouble is, as your knowledge of XML has
increased over the past two years - which it markedly has - so has, for me, the
opacity of your comments. I do not know what problems you mean by any; I seem
to recall a post about this a while back saying that probably only Martin and
you would be interested - I read no further.
I know of anyType as the root of the XML type hierarchy but do not know XML well
enough to know if any also exists as something else or if it is anyType that you
And if anyType is meant, what is the problem? I imagine it is to do with
coercion, the refinement of the type of a variable by its context, so that a
consecutive number of characters could be a string, an array, an integer, float,
etc depending on the context. I am a believer in coercion when the language has
weak typing (as XML has) so I believe that such problems can be solved.
But here, as yet, I am unclear what needs solving.
> to unsubscribe send a message to firstname.lastname@example.org with
> the word 'unsubscribe' in a single line as the message text body.
> archive: <http://ops.ietf.org/lists/netconf/>
to unsubscribe send a message to email@example.com with
the word 'unsubscribe' in a single line as the message text body.