On Thu, Jan 12, 2023 at 8:10 AM Michael Richardson <mcr+i...@sandelman.ca>
wrote:

>
> Fengchong (frank) <frank.fengch...@huawei.com> wrote:
>     > Hi Michael,
>     > You can use augment-structure to extend a yang structure.
>
> You can't use augment-structure to extend in-place an existing yang
> structure
> Augment-structure produces a new structure with a new name that has been
> extended.
>
>
No. It just adds nodes to the specified parent, the same as a regular
augment.

https://www.rfc-editor.org/rfc/rfc8791.html#name-augmentstructure-example


Andy

Perhaps you'd like to go back in the archives and read my postings, and try
> out the pyang scripts labelled A/B/C/D.  Perhaps you have some insight that
> makes this process unneeded, and if so, great.
>
>     > TL;DR> we can not use augment to get the behaviour that we want of
> being to
>     > extend existing YANG modules with new attributes.  We have to revise
>     > 8366 each time we want extend things.  This email details the work to
>     > make that occur.
>
>
> --
> Michael Richardson <mcr+i...@sandelman.ca>   . o O ( IPv6 IøT consulting )
>            Sandelman Software Works Inc, Ottawa and Worldwide
>
>
>
>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
>
_______________________________________________
netmod mailing list
netmod@ietf.org
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to