[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [YANG] import statement



Ladislav Lhotka <lhotka at cesnet.cz> wrote:
> 
> Martin Bjorklund píše v So 03. 05. 2008 v 23:21 +0200:
> 
> > 
> > This is more an effect of how uses work than how augment works.
> 
> Yes and no - in this case augment makes very little sense without the
> corresponding use statement. Effectively, the semantics of the two cases
> are:
> 
> 1. Reuse a foreign grouping in the local module, with optional 
>    modifications.
> 
> 2. Modify a schema tree (non-grouping) node in the foreign model.
> 
> Is it right that with 1 the device normally wouldn't advertise the
> imported URI along with the local URI in hello?

Yes.

> In case 2 it has to
> since the absolute form of augment has otherwise no effect.

Yes.


/martin
_______________________________________________
YANG mailing list
YANG at ietf.org
https://www.ietf.org/mailman/listinfo/yang