Hi Rohit,

Rohit R Ranade <[email protected]> writes:

> Hi All,
>
>    module: ietf-yang-schema-mount
>      +--ro schema-mounts
>         +--ro namespace* [prefix]
>         |  +--ro prefix    yang:yang-identifier
>         |  +--ro uri?      inet:uri
>         +--ro mount-point* [module label]
>            +--ro module                 yang:yang-identifier
>            +--ro label                  yang:yang-identifier
>            +--ro config?                boolean
>            +--ro (schema-ref)
>               +--:(inline)
>               |  +--ro inline!
>               +--:(shared-schema)
>                  +--ro shared-schema!
>                     +--ro parent-reference*   yang:xpath1.0
>
> Any reason for not adding "parent-reference" for "inline" type ? What
> is the solution for the modules defined under such mount points to
> refer to parent schema ?

The inline case was intentionally designed with an impenetrable "mount
jail". Do you see any use case where parent references are needed and
the "shared-schema" strategy cannot be used?

Lada

>
> With Regards,
> Rohit
> _______________________________________________
> netmod mailing list
> [email protected]
> https://www.ietf.org/mailman/listinfo/netmod

-- 
Ladislav Lhotka
Head, CZ.NIC Labs
PGP Key ID: 0xB8F92B08A9F76C67

_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to