Subject: Re: [netmod] strawman REJECT Y51 support for long running commands

From: Randy Presuhn <[email-masked]>
Date: Tue, 10 Jun 2014 12:57:51 -0700 (GMT-07:00)

Hi -

>From: Juergen Schoenwaelder <[email-masked]>
>Sent: Jun 10, 2014 12:25 PM
>To: "Peyman Owladi -X (powladi - Ensoft Ltd at Cisco)" <[email-masked]>
>Cc: "[email-masked]" <[email-masked]>
>Subject: Re: [netmod] strawman REJECT Y51 support for long running commands
>
>On Tue, Jun 10, 2014 at 02:58:05PM +0000, Peyman Owladi -X (powladi - Ensoft Ltd at Cisco) wrote:
>> Is it fair to say that with the current Yang (1.0) support, the design
>> pattern specified in the original mail (attached for reference) is the
>> best way to represent this construct?
>
>I can't say whether this is the best or just some way to do it.
> 
>> And to clarify:
>> 
>> > A proper (that is less complex) solution requires specific protocol
>> > support and thus this falls out of scope for YANG 1.1.
>> 
>> Does this mean that the suggested formulaic expansion in the attached mail
>> (which was intended to avoid the need for specific protocol support) is
>> missing some functionality or is limited in some way, or just that
>> performing the formulaic expansion is too complex?
>
>It is unclear whether notification channels are the proper way to
>deliver partial results. CMIP back in last century had something
>called linked responses, translated into NETCONF, you invoke an rpc
>but you receive not just one rpc-reply but multiple linked rpc-reply
>elements (which can also solve issues with very long rpc-replys).

A bit of additional background on linked replies -

In CMIP gets, sets, deletes, and actions may, through the use
of scoping and filtering, iterate over multiple object
instances.  Each linked reply conveys the result of
that operation when attempted on a particular object
instance as the managed system iterates through the
set of object instances selected by the scope/filter/etc
on the request.

Works well, but it's strongly tied to having a clear notion
of object instances in a containment hierarchy, and isn't
really applicable for long-running operations, and, FWIW,
did precipitate the addition of the cancel-get operation
to CMIP.

Randy