Subject: data model snippet for notification parameters

From: Andy Bierman <[email-masked]>
Date: Fri, 31 Mar 2006 08:02:11 -0800

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 [email-masked] with
the word 'unsubscribe' in a single line as the message text body.
archive: <http://ops.ietf.org/lists/netconf/>