[netmod] Fwd: Reminder: Survey on planning for possible online IETF meetings

2020-05-05 Thread Kent Watsen
NETMOD WG, Please fill out this survey. Thanks! > Begin forwarded message: > > From: Alissa Cooper > Subject: Fwd: Reminder: Survey on planning for possible online IETF meetings > Date: May 5, 2020 at 7:48:03 AM EDT > To: IETF WG Chairs > > Please circulate this to your working group lists.

Re: [netmod] RFC 8349 action input augment

2020-05-05 Thread tom petch
From: Martin Björklund Sent: 05 May 2020 12:39 Cc: lho...@nic.cz; netmod@ietf.org tom petch wrote: > RFC8349 specifies an action with no input and says that modules that > use this MUST augment the input with a leaf and that the leaf must > be named destination-address. > > Is there any way that

[netmod] Module-name + revision-label identifies a YANG module version

2020-05-05 Thread Balázs Lengyel
Hello, I added a new issue about draft-ietf-netmod-yang-module-versioning at https://github.com/netmod-wg/yang-ver-dt/issues/58. A specific revision-label identifies a specific version (variant) of the module. If two files contain YANG modules with the same module name and the same revision-label

Re: [netmod] RFC 8349 action input augment

2020-05-05 Thread Martin Björklund
tom petch wrote: > RFC8349 specifies an action with no input and says that modules that > use this MUST augment the input with a leaf and that the leaf must > be named destination-address. > > Is there any way that YANG can enforce either constraint? This may look correct: action activate-rou

Re: [netmod] YANG action not allowed at root?

2020-05-05 Thread Juergen Schoenwaelder
On Tue, May 05, 2020 at 12:06:34PM +0200, Per Hedeland wrote: > On 2020-05-05 11:55, Juergen Schoenwaelder wrote: > > On Tue, May 05, 2020 at 11:45:41AM +0200, Per Hedeland wrote: > >> On 2020-05-05 11:00, Martin Björklund wrote: > >>> Hi, > >>> > >>> If we were to redo YANG, I would prefer to have

Re: [netmod] YANG action not allowed at root?

2020-05-05 Thread Martin Björklund
"Rob Wilton (rwilton)" wrote: > > > > -Original Message- > > From: netmod On Behalf Of Martin Björklund > > Sent: 05 May 2020 11:30 > > To: p...@hedeland.org > > Cc: netmod@ietf.org > > Subject: Re: [netmod] YANG action not allowed at root? > > > > Per Hedeland wrote: > > > On 2020-05

[netmod] RFC 8349 action input augment

2020-05-05 Thread tom petch
RFC8349 specifies an action with no input and says that modules that use this MUST augment the input with a leaf and that the leaf must be named destination-address. Is there any way that YANG can enforce either constraint? Tom Petch ___ netmod mail

Re: [netmod] YANG action not allowed at root?

2020-05-05 Thread Rob Wilton (rwilton)
> -Original Message- > From: netmod On Behalf Of Martin Björklund > Sent: 05 May 2020 11:30 > To: p...@hedeland.org > Cc: netmod@ietf.org > Subject: Re: [netmod] YANG action not allowed at root? > > Per Hedeland wrote: > > On 2020-05-05 11:55, Juergen Schoenwaelder wrote: > > > On Tue

Re: [netmod] YANG action not allowed at root?

2020-05-05 Thread Martin Björklund
"Rob Wilton (rwilton)" wrote: > [As an individual contributor] > > Is this something that we should try and improve in a future revision > of YANG? > > E.g., deprecating either rpc or action, and allow the other one to be > specified more flexibly? Looking at the encodings it might make more >

Re: [netmod] YANG action not allowed at root?

2020-05-05 Thread Martin Björklund
Per Hedeland wrote: > On 2020-05-05 11:55, Juergen Schoenwaelder wrote: > > On Tue, May 05, 2020 at 11:45:41AM +0200, Per Hedeland wrote: > >> On 2020-05-05 11:00, Martin Björklund wrote: > >>> Hi, > >>> > >>> If we were to redo YANG, I would prefer to have a single statement > >>> "operation", ei

Re: [netmod] YANG action not allowed at root?

2020-05-05 Thread Per Hedeland
On 2020-05-05 11:55, Juergen Schoenwaelder wrote: > On Tue, May 05, 2020 at 11:45:41AM +0200, Per Hedeland wrote: >> On 2020-05-05 11:00, Martin Björklund wrote: >>> Hi, >>> >>> If we were to redo YANG, I would prefer to have a single statement >>> "operation", either on the top-level, or tied to a

Re: [netmod] status-description

2020-05-05 Thread Rob Wilton (rwilton)
[As an individual contributor] I'm not keen on the idea of adding information related to deprecation/obsoletion to the data node description. I think that this will cause problems for schema comparison, since tooling cannot easily understand the semantic difference in changes in description and

Re: [netmod] YANG action not allowed at root?

2020-05-05 Thread Juergen Schoenwaelder
On Tue, May 05, 2020 at 11:45:41AM +0200, Per Hedeland wrote: > On 2020-05-05 11:00, Martin Björklund wrote: > > Hi, > > > > If we were to redo YANG, I would prefer to have a single statement > > "operation", either on the top-level, or tied to a node. > > So, no rpc statement, and thereby no poss

Re: [netmod] YANG action not allowed at root?

2020-05-05 Thread Rob Wilton (rwilton)
[As an individual contributor] Is this something that we should try and improve in a future revision of YANG? E.g., deprecating either rpc or action, and allow the other one to be specified more flexibly? Looking at the encodings it might make more sense to make rpc more generic and deprecate

Re: [netmod] YANG action not allowed at root?

2020-05-05 Thread Per Hedeland
On 2020-05-05 11:00, Martin Björklund wrote: > Hi, > > If we were to redo YANG, I would prefer to have a single statement > "operation", either on the top-level, or tied to a node. So, no rpc statement, and thereby no possibility to extend NETCONF with new RPCs? (Or to be precise, YANG would exten

Re: [netmod] YANG action not allowed at root?

2020-05-05 Thread Robert Varga
On 05/05/2020 11:00, Martin Björklund wrote: > Hi, > > If we were to redo YANG, I would prefer to have a single statement > "operation", either on the top-level, or tied to a node. Yeah, and we could introduce 'operation' as a generalized concept and have rpc/action be just syntactic aliases for

Re: [netmod] YANG action not allowed at root?

2020-05-05 Thread Juergen Schoenwaelder
On Tue, May 05, 2020 at 11:00:11AM +0200, Martin Björklund wrote: > Hi, > > If we were to redo YANG, I would prefer to have a single statement > "operation", either on the top-level, or tied to a node. > +1 /js -- Juergen Schoenwaelder Jacobs University Bremen gGmbH Phone: +49 421 20

Re: [netmod] YANG action not allowed at root?

2020-05-05 Thread Martin Björklund
Hi, If we were to redo YANG, I would prefer to have a single statement "operation", either on the top-level, or tied to a node. /martin Christian Hopps wrote: > An action is defined as being something bound to a node. Talking about > actions that aren't bound to a node is talking about RPCs AF

Re: [netmod] YANG action not allowed at root?

2020-05-05 Thread Christian Hopps
An action is defined as being something bound to a node. Talking about actions that aren't bound to a node is talking about RPCs AFAICT. In the server it just comes down to passing the bound node data in to the function or not. Defining "unbound actions" to replace RPCs is just different syntax