Hi ,
Separating out the issue regarding which datastore action and RPC apply
to, we propose the following NEW text to the datastores draft:
6.2 Invocation of Actions and RPC Operations
This section updates section 7.15. of RFC 7950.
In YANG data models, the "action" statement may appear under "config
true" and "config false" schema nodes. While instances of both
schema nodes may appear in <operational>, instances of "config true"
schema nodes may also appear in other datastores.
An NMDA compliant server MUST execute all actions in the context of
<operational>. Likewise, an NMDA compliant server MUST invoke all RPC
operations in the context of <operational>, unless the RPC is explicitly
defined as affecting other datastores (e.g., <edit-config>).
OK?
Thanks,
Rob
On 25/10/2017 16:54, Andy Bierman wrote:
> >
> > > (2) Define <action2>:
> > > >
> > > > I'm not convinced that this is really required/helpful,
given that most
> > > > actions are likely to only apply to operational. If it
turns out that
> > this
> > > > is particularly useful then I would propose that this is
deferred
> > until a
> > > > future revision of NETCONF, particularly because we are
trying to keep
> > the
> > > > NETCONF NMDA and RESTCONF NMDA drafts as small as possible.
> > > >
> > > > Is this OK?
> > > >
> > >
> > > The NMDA theme has been to declare things that are possible
in pre-NMDA
> > > but not supported in post-NMDA to be not useful, so this can
be left to
> > > vendors I guess.
> >
> > Not sure I understand this either.
> >
> > If you have a concrete change proposal, perhaps the discussion
becomes
> > more concrete and productive.
> >
>
>
> I already said to declare that <action> is invoked in
<operational>. Period.
> No description-stmt exceptions.
>
> If another datastore is needed, use rpc-stmt instead of action-stmt.
So you are fine if for RPCs description statements can define which
datastores are affected by an RPC? I probably did not get that you
make a distinction between actions and RPCs here.
/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/
<http://www.jacobs-university.de/>>
_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod