Andy Bierman <[email protected]> wrote: >> Fengchong (frank) <[email protected]> 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 <[email protected]>
> 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.
signature.asc
Description: PGP signature
_______________________________________________ Anima mailing list [email protected] https://www.ietf.org/mailman/listinfo/anima
