[reducing distribution]

Hi Xufeng,

> Assume the following model:
>
> +--rw nodes
>   +--rw node [id]
>      +--rw id   string
>      +--rw under-lay-attribute-a ???
> +---ro nodes-state
>   +--ro node [id]
>      +--ro id   string
>      +--ro attribute-a string
>
> I cannot define the under-lay-attribute-a to reference attribute-a as:
>               type leafref {
>                 path "../node/attribute-a"'
>               }


True, but maybe it could be:

   type leafref {
      path "../node/attribute-a"
      require-instance false;
      description
        "In the case when the referenced instance is not a configured
         object, the system may resolve it by looking for it under the
         /nodes-state node.  As the referenced operational state data
         may have a lifecycle independent of configuration, this results
         in an effect much like pre-provisioning interfaces in RFC 7223.";
   }

This would be cleaner in a revised-datastores oriented model, as then
it would be obvious that the list's key space spanned across both
datastores.


Kent


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

Reply via email to