[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
data model snippet for notification parameters
- To: "Netconf (E-mail)" <netconf@ops.ietf.org>
- Subject: data model snippet for notification parameters
- From: Andy Bierman <ietf@andybierman.com>
- Date: Fri, 31 Mar 2006 08:02:11 -0800
- User-agent: Thunderbird 1.5 (Windows/20051201)
Hi,
Here is the C/RelaxNG hack profile data structure
Juergen asked for: (XSD takes me too much time ;-)
struct profiles {
table profile [name] {
ProfileName name; # this is the key
EventClassList class-filter?;
filterInlineType data-filter?;
}
}
E.g:
<netconf>
<notifications>
<profiles>
<profile>
<name>faults</name>
<class-filter>fault</class-filter>
</profile>
<profile>
<name>fred-faults-config</name>
<class-filter>fault config</class-filter>
<data-filter type="xpath" select="/bowlers/bowler[name='fred']"/>
</profile>
</profiles>
</notifications>
</netconf>
In this model, the parameters from the <create-subscription> RPC
are moved to a NV data model on the agent, and the only parameter
passed in the RPC to start receiving notifications (however that
ends up being done) is the profile name.
Additional tables under <notifications> could be added to configure
the agent to connect to a notification receiver application using a
profile name as well.
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/>