Re: [netmod] Roman Danyliw's Discuss on draft-ietf-netmod-factory-default-14: (with DISCUSS and COMMENT)

2020-05-08 Thread Qin Wu
Thanks Roman. -Qin -邮件原件- 发件人: Roman Danyliw [mailto:r...@cert.org] 发送时间: 2020年5月9日 4:16 收件人: Qin Wu ; Rob Wilton (rwilton) 抄送: netmod-cha...@ietf.org; Kent Watsen ; draft-ietf-netmod-factory-defa...@ietf.org; netmod@ietf.org; The IESG 主题: RE: Roman Danyliw's Discuss on

Re: [netmod] Revision labels for submodules

2020-05-08 Thread Reshad Rahman (rrahman)
Hi, On 2020-05-08, 5:12 PM, "Martin Björklund" wrote: Hi, "Reshad Rahman (rrahman)" wrote: > Hi, > > This came up during this week's meeting. We briefly discussed whether > there's a need to version sub-modules or can we restrict versioning to > modules only.

Re: [netmod] Revision labels for submodules

2020-05-08 Thread Martin Björklund
Hi, "Reshad Rahman (rrahman)" wrote: > Hi, > > This came up during this week's meeting. We briefly discussed whether > there's a need to version sub-modules or can we restrict versioning to > modules only. We would like to hear from the WG on this, especially > those with experience managing

Re: [netmod] Roman Danyliw's Discuss on draft-ietf-netmod-factory-default-14: (with DISCUSS and COMMENT)

2020-05-08 Thread Roman Danyliw
Hi Qin! Top posting to say thanks for the updated texted that was added to -15. It addresses my DISCUSS points. Regards, Roman > -Original Message- > From: Qin Wu > Sent: Saturday, April 25, 2020 11:00 PM > To: Rob Wilton (rwilton) ; Roman Danyliw > Cc: netmod-cha...@ietf.org; Kent

Re: [netmod] [core] CBOR YANG encoding of union & bits [draft-ietf-core-yang-cbor-12]

2020-05-08 Thread Juergen Schoenwaelder
On Fri, May 08, 2020 at 10:48:06AM -0700, Jim Schaad wrote: > Does yang consider that there is a difference between a bit being > present and zero and a bit being absent? In YANG every bit in the bit set is either 0 or 1. The xml / json encodings send the position of the 1 bits (actually the

Re: [netmod] [core] CBOR YANG encoding of union & bits [draft-ietf-core-yang-cbor-12]

2020-05-08 Thread Andy Bierman
On Fri, May 8, 2020 at 10:48 AM Jim Schaad wrote: > Does yang consider that there is a difference between a bit being present > and zero and a bit being absent? > > > leaf bits-leaf { type bits { bit zero { position 0; } bit one { position 1; } bit two {

Re: [netmod] [core] CBOR YANG encoding of union & bits [draft-ietf-core-yang-cbor-12]

2020-05-08 Thread Jim Schaad
Does yang consider that there is a difference between a bit being present and zero and a bit being absent? From: core On Behalf Of Andy Bierman Sent: Friday, May 8, 2020 8:58 AM To: Carsten Bormann Cc: c...@ietf.org; netmod@ietf.org Subject: Re: [core] [netmod] CBOR YANG encoding of union &

Re: [netmod] [core] CBOR YANG encoding of union & bits [draft-ietf-core-yang-cbor-12]

2020-05-08 Thread Andy Bierman
On Fri, May 8, 2020 at 8:51 AM Andy Bierman wrote: > > > On Thu, May 7, 2020 at 11:22 PM Carsten Bormann wrote: > >> On 2020-05-08, at 05:27, Andy Bierman wrote: >> > >> > Why is the bit position allowed to be a uint32 in YANG? Who knows, but >> it has to be supported. >> >> If we think that

Re: [netmod] [core] CBOR YANG encoding of union & bits [draft-ietf-core-yang-cbor-12]

2020-05-08 Thread Andy Bierman
On Thu, May 7, 2020 at 11:22 PM Carsten Bormann wrote: > On 2020-05-08, at 05:27, Andy Bierman wrote: > > > > Why is the bit position allowed to be a uint32 in YANG? Who knows, but > it has to be supported. > > If we think that is the way to go, I like Kio’s proposal over in the CBOR > list: >

Re: [netmod] Question related to ietf-netconf-with-defaults

2020-05-08 Thread Bogaert, Bart (Nokia - BE/Antwerp)
Seems that I better address this subject to ietf-netmode. Sorry for the trouble. Regards, Bart From: netconf On Behalf Of Bogaert, Bart (Nokia - BE/Antwerp) Sent: Friday, May 8, 2020 4:55 PM To: netc...@ietf.org Subject: [netconf] Question related to ietf-netconf-with-defaults Hi, I have a

Re: [netmod] Revision label in filename

2020-05-08 Thread Reshad Rahman (rrahman)
Hi, We discussed using something along the lines of module-or-submodule-name['@'date]['#'revision-label].yang. Questions to the WG: 1) Is there a need for both date and revision-label or is one of them enough? 2) If we have both, what's the impact of having "#revision-label" on implementations

Re: [netmod] Revision labels for submodules

2020-05-08 Thread Reshad Rahman (rrahman)
Hi, This came up during this week's meeting. We briefly discussed whether there's a need to version sub-modules or can we restrict versioning to modules only. We would like to hear from the WG on this, especially those with experience managing sub-modules. For completeness, below is an update

Re: [netmod] [core] CBOR YANG encoding of union & bits [draft-ietf-core-yang-cbor-12]

2020-05-08 Thread Carsten Bormann
On 2020-05-08, at 05:27, Andy Bierman wrote: > > Why is the bit position allowed to be a uint32 in YANG? Who knows, but it has > to be supported. If we think that is the way to go, I like Kio’s proposal over in the CBOR list: