Re: [netmod] Question on how to design a Yang model to reflect auto-asignment of a give leaf

2020-02-24 Thread Sterne, Jason (Nokia - CA/Ottawa)
Agree that ideally we avoid (a) in running. Unfortunately I think we used (a) in ietf-interfaces though: leaf type { type identityref { base interface-type; } mandatory true; description "The type of the interface.

Re: [netmod] Question on how to design a Yang model to reflect auto-asignment of a give leaf

2020-02-11 Thread Martin Bjorklund
Oscar González de Dios wrote: > > > -Mensaje original- > De: Martin Bjorklund > Enviado el: martes, 11 de febrero de 2020 11:00 > Para: Oscar González de Dios > CC: ops...@ietf.org; netmod@ietf.org > Asunto: Re: [netmod] Question on how to design a Yang model to reflect >

Re: [netmod] Question on how to design a Yang model to reflect auto-asignment of a give leaf

2020-02-11 Thread Oscar González de Dios
-Mensaje original- De: Martin Bjorklund Enviado el: martes, 11 de febrero de 2020 11:00 Para: Oscar González de Dios CC: ops...@ietf.org; netmod@ietf.org Asunto: Re: [netmod] Question on how to design a Yang model to reflect auto-asignment of a give leaf Hi, Oscar González de Dios

Re: [netmod] Question on how to design a Yang model to reflect auto-asignment of a give leaf

2020-02-11 Thread Martin Bjorklund
Hi, Oscar González de Dios wrote: > Dear OPSAWG and Netmod colleagues, > > During last IETF Opsawg meeting we raised a question (and > there was some discussion during the meeting) that we have > found yet no good answer and we would like to

Re: [netmod] Question on how to design a Yang model to reflect auto-asignment of a give leaf

2020-02-11 Thread Adrian Farrel
Isn’t it possible to handle case b) by defining a value to have the meaning “no value has been assigned” and then the user an explicitly set that value? Adrian From: netmod On Behalf Of Oscar González de Dios Sent: 11 February 2020 02:40 To: ops...@ietf.org; netmod@ietf.org Subject:

[netmod] Question on how to design a Yang model to reflect auto-asignment of a give leaf

2020-02-10 Thread Oscar González de Dios
Dear OPSAWG and Netmod colleagues, During last IETF Opsawg meeting we raised a question (and there was some discussion during the meeting) that we have found yet no good answer and we would like to discuss it with operations and Yang experts. The use case is the