Re: [netmod] Deviations and augmentations

2018-11-14 Thread Robert Wilton
On 13/11/2018 18:26, Juergen Schoenwaelder wrote: On Tue, Nov 13, 2018 at 05:54:27PM +, Robert Wilton wrote: I think that my main point regarding version numbers is:  - If we are going to use semver then we should define and follow the rules strictly.  I.e. assuming that the semver has

Re: [netmod] Deviations and augmentations

2018-11-13 Thread Andy Bierman
On Tue, Nov 13, 2018 at 5:46 AM, Balázs Lengyel wrote: > Hello, > > We also need a method for removing stuff. It does happen that some > functionality is deemed not important enough, outdated, too expensive to > maintain, so we want to remove it. > >- Augment is clearly not the tool for

Re: [netmod] Deviations and augmentations

2018-11-13 Thread Robert Wilton
On 13/11/2018 17:06, Juergen Schoenwaelder wrote: On Tue, Nov 13, 2018 at 03:54:11PM +, Robert Wilton wrote: Today, just using the status element alone to mark removed nodes means that a client would have to check for all changes in the module between two revisions to determine whether or

Re: [netmod] Deviations and augmentations

2018-11-13 Thread Juergen Schoenwaelder
On Tue, Nov 13, 2018 at 03:54:11PM +, Robert Wilton wrote: > Today, just using the status element alone to mark removed nodes means that > a client would have to check for all changes in the module between two > revisions to determine whether or not the new module revision is backwards >

Re: [netmod] Deviations and augmentations

2018-11-13 Thread Andy Bierman
On Tue, Nov 13, 2018 at 7:54 AM, Robert Wilton wrote: > > On 13/11/2018 15:32, Andy Bierman wrote: > > > > On Tue, Nov 13, 2018 at 7:28 AM, Robert Wilton wrote: > >> >> On 13/11/2018 15:17, Andy Bierman wrote: >> >> >> >> On Tue, Nov 13, 2018 at 5:46 AM, Balázs Lengyel < >>

Re: [netmod] Deviations and augmentations

2018-11-13 Thread Robert Wilton
On 13/11/2018 15:32, Andy Bierman wrote: On Tue, Nov 13, 2018 at 7:28 AM, Robert Wilton > wrote: On 13/11/2018 15:17, Andy Bierman wrote: On Tue, Nov 13, 2018 at 5:46 AM, Balázs Lengyel mailto:balazs.leng...@ericsson.com>> wrote: Hello,

Re: [netmod] Deviations and augmentations

2018-11-13 Thread Andy Bierman
On Tue, Nov 13, 2018 at 7:28 AM, Robert Wilton wrote: > > On 13/11/2018 15:17, Andy Bierman wrote: > > > > On Tue, Nov 13, 2018 at 5:46 AM, Balázs Lengyel < > balazs.leng...@ericsson.com> wrote: > >> Hello, >> >> We also need a method for removing stuff. It does happen that some >> functionality

Re: [netmod] Deviations and augmentations

2018-11-13 Thread Robert Wilton
On 13/11/2018 15:17, Andy Bierman wrote: On Tue, Nov 13, 2018 at 5:46 AM, Balázs Lengyel mailto:balazs.leng...@ericsson.com>> wrote: Hello, We also need a method for removing stuff. It does happen that some functionality is deemed not important enough, outdated, too

Re: [netmod] Deviations and augmentations

2018-11-13 Thread Andy Bierman
On Tue, Nov 13, 2018 at 5:46 AM, Balázs Lengyel wrote: > Hello, > > We also need a method for removing stuff. It does happen that some > functionality is deemed not important enough, outdated, too expensive to > maintain, so we want to remove it. > >- Augment is clearly not the tool for

Re: [netmod] Deviations and augmentations

2018-11-13 Thread Robert Wilton
Hi Balazs, On 13/11/2018 13:46, Balázs Lengyel wrote: Hello, We also need a method for removing stuff. It does happen that some functionality is deemed not important enough, outdated, too expensive to maintain, so we want to remove it. * Augment is clearly not the tool for that. *

Re: [netmod] Deviations and augmentations

2018-11-13 Thread Balázs Lengyel
Hello, We also need a method for removing stuff. It does happen that some functionality is deemed not important enough, outdated, too expensive to maintain, so we want to remove it. Augment is clearly not the tool for that. Deviations are not

Re: [netmod] Deviations and augmentations

2018-11-12 Thread Ebben Aries
On Nov 12 17:33 PM, Martin Bjorklund wrote: > Robert Wilton wrote: > > In the Thursday Netmod meeting, it was interesting to hear Rob Shakir > > describe how deviations and augmentations are used in OpenConfig to > > add functionality into an older YANG model where the semver rules > > prevent

Re: [netmod] Deviations and augmentations

2018-11-12 Thread Robert Wilton
On 12/11/2018 16:33, Martin Bjorklund wrote: Robert Wilton wrote: In the Thursday Netmod meeting, it was interesting to hear Rob Shakir describe how deviations and augmentations are used in OpenConfig to add functionality into an older YANG model where the semver rules prevent the version

Re: [netmod] Deviations and augmentations

2018-11-12 Thread Andy Bierman
On Mon, Nov 12, 2018 at 8:33 AM, Martin Bjorklund wrote: > Robert Wilton wrote: > > In the Thursday Netmod meeting, it was interesting to hear Rob Shakir > > describe how deviations and augmentations are used in OpenConfig to > > add functionality into an older YANG model where the semver rules

Re: [netmod] Deviations and augmentations

2018-11-12 Thread Martin Bjorklund
Robert Wilton wrote: > In the Thursday Netmod meeting, it was interesting to hear Rob Shakir > describe how deviations and augmentations are used in OpenConfig to > add functionality into an older YANG model where the semver rules > prevent the version number from being incremented. > > Further,

[netmod] Deviations and augmentations

2018-11-12 Thread Robert Wilton
In the Thursday Netmod meeting, it was interesting to hear Rob Shakir describe how deviations and augmentations are used in OpenConfig to add functionality into an older YANG model where the semver rules prevent the version number from being incremented. Further, I think that someone