On Fri, Sep 26, 2014 at 11:30:00AM -0400, Susan Hares wrote:
> 
> Previous example: 
> 
>   list foo {
>     key id;
>     leaf id { type int32; }
>     leaf a { type int32; }
>   }
> 
> local config:
> 
>    foo 42
> 

Lets say more precisely, I assume this would be:

     <foo>
       <id>42</id>
     </foo>

Note that id is required (key) and a is optional.

> In ephemeral config we now do SET /foo[id=42]/a  to 4711.  Thus, in
> ephemeral we now have a single node (a) with value 4711.

I assume your mean ephemeral datastore now contains:

     <foo>
       <id>42</id>
       <a>4711</a>
     </foo>

I do not know what Alexander is proposal but open #4 would merge the
two and the resulting operational state would be:

     <foo>
       <id>42</id>
       <a>4711</a>
     </foo>

This is not a particularly interesting example though...

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

_______________________________________________
i2rs mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/i2rs

Reply via email to