Andy Bierman <a...@yumaworks.com> 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.

I think that you are mixing up my terminology, which is probably my fault:

from 
https://mailarchive.ietf.org/arch/msg/yang-doctors/rsstdJegAaDPIhHdgXNfCwOCwgo/

From: Andy Bierman <a...@yumaworks.com>

> But, I think that sx:augment-structure, if done by "B", and then done in a
> different document by "C" would result in duplicate data nodes if "D" were
> to
> import both.

There is nothing in YANG that does what you want, which (I think) is to
add schema nodes to the module A namespace from module B.

Attachment: signature.asc
Description: PGP signature

_______________________________________________
netmod mailing list
netmod@ietf.org
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to