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

Re: Review of draft-ietf-netconf-notification-06



Martin Bjorklund wrote:
"Kent Watsen" <kwatsen@juniper.net> wrote:
Section 3.4

It is very unfortunate that <createSubscriptionType> only allows
at most one stream at a time (i.e. its not maxOccurs=0)
Isn't this the same situation as above?
Not at all - the difference being that the above regards dynamic
subscriptions while this is still a single static subscription

I envision a "stream" for each logical module in a device (i.e. auth,
config, firewall, vpn, ids, etc.), which would cause a management
application wanting to receive notifications for all modules to have to
create a netconf session/subscription for each...

I agree with you.  I also think it would have been better to keep
subscription for multiple streams.  Maybe we'll see implementations
hack around this by making it possible to request the
"auth-vpn-syslog" stream ;)

I don't think this approach scales well at all.
Also, stream configuration is is out of scope for the first version of NETCONF Notifications, but that does not mean you cannot provide a data model for this purpose in your products. When you get it right, propose it as new work, and get other vendors to agree that
is how they want to configure their streams also.

Andy

Using SSH, the required mapping, each netconf session results in a
forked process on the device - enabling multiple streams in a
subscription would eliminate this overhead

You mean "using OpenSSH".  In our implementation we do not fork a new
UNIX process for each new session.  And if the new netconf session is
opened as a new ssh channel, the socket and encryption state overhead
is minimized.


In addition to the special replayCompleteNotification
notification, it would be nice for there to also be a special
eventsDroppedNotification (or something) that can be used
whenever a device drops an event (i.e.  buffer full, etc.)

To be sent when the write buffer towards the client is full ;)  ?

I think this makes sense to keep as a statistics counter in the "agent
mib".
Yes, it is ironic, I know...and it may not even be possible, but my
point is that an app should be able to find out where its missing
information - a single counter isn't quite enough...
Using the stream-per-module approach from above, a reasonable solution
to this would be for each module to mark each event with a sequence-id -
what do you think?

With the no-header approach we have, this is by design up to each
application/implementation to solve for itself.


/martin

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




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