On Mon, Feb 08, 2016 at 04:59:42PM +0000, Robert Wilton wrote:

> >So if in my 1 million XML elements one has not been applied, how do I
> >find out efficiently in your encoding?
> By using 'diff-cfg-only' option of the <with-config-state> parameter, 
> you would get 3 or 4 leaves per mismatching node: (intended value, 
> applied value, status, and optionally error reason).  Only nodes with 
> differences would be returned.
> 
> A more complete example is in 
> https://tools.ietf.org/html/draft-wilton-netmod-opstate-yang-02, "A.2.  
> NETCONF get-config request using with-config-state with diff-cfg-only 
> option", about page 16.
> 
> Yes, this data would be larger than the patch, but it also contains more 
> information (i.e. reason why they differ, and error string).
> 

OK. Next question: How do I get the diff between <startup/> and
<running/>? How do I get the diff between <candidate/> and <running/>?
We can try to build generic primitives or we can choose to create many
point solutions.

> The client is also able to process this data straight away.  With the 
> patch, they may need to generate the before and after values to make it 
> easier to process.

I fail to get the message, what is easier to process for a client is
largely subjective or a function of the particular client environment
or what I want to do with the data.

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>

_______________________________________________
netmod mailing list
netmod@ietf.org
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to