On Thu, May 02, 2019 at 04:15:28PM -0700, Andy Bierman wrote:
> Hi,
> 
> The text about invoking actions in RFC 7950, sec. 7.15 is not clear
> about whether the ancestor data nodes have to exist.
> 
> sec 7.15.2, para 2:
> 
>    The <action> element contains a hierarchy of nodes that identifies
> the node in the datastore.
> 
> 
> The RFC does not say anything about if the data node is required to
> exist or not.  There is no distinction between NP-container, P-container,
> or list which are ancestors of the action node. It does not specify
> which datastore, and that is not supplied in the <action> RPC.
> The text specifies what must be in the <rpc> request, not in any datastore
> or state data.
> 
> It seems like the intent is that no instance test is specified at all and
> the corresponding ancestor nodes to the action node do not have to
> exist for the action to be invoked. (The action may succeed or fail).
> The issue is whether there is an existence-test before invoking the action.

We discussed actions during the work on NMDA. RFC 8342 has this text
in section 6, in particular 6.1 says:

   Actions are always invoked in the context of the operational state
   datastore.  The node for which the action is invoked MUST exist in
   the operational state datastore.

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

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

Reply via email to