[netmod] Schema Mount with Inline Type

Rohit R Ranade <rohitrranade@huawei.com> Fri, 21 December 2018 05:56 UTC

Return-Path: <rohitrranade@huawei.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost []) by ietfa.amsl.com (Postfix) with ESMTP id 34629127B4C for <netmod@ietfa.amsl.com>; Thu, 20 Dec 2018 21:56:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([]) by localhost (ietfa.amsl.com []) (amavisd-new, port 10024) with ESMTP id RqWRj_HEIuLZ for <netmod@ietfa.amsl.com>; Thu, 20 Dec 2018 21:56:25 -0800 (PST)
Received: from huawei.com (lhrrgout.huawei.com []) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 36C6412D4E6 for <netmod@ietf.org>; Thu, 20 Dec 2018 21:56:24 -0800 (PST)
Received: from LHREML710-CAH.china.huawei.com (unknown []) by Forcepoint Email with ESMTP id D76A78CCAA462 for <netmod@ietf.org>; Fri, 21 Dec 2018 05:56:19 +0000 (GMT)
Received: from DGGEML401-HUB.china.huawei.com ( by LHREML710-CAH.china.huawei.com ( with Microsoft SMTP Server (TLS) id 14.3.408.0; Fri, 21 Dec 2018 05:56:20 +0000
Received: from DGGEML530-MBS.china.huawei.com ([]) by DGGEML401-HUB.china.huawei.com ([fe80::89ed:853e:30a9:2a79%31]) with mapi id 14.03.0415.000; Fri, 21 Dec 2018 13:56:08 +0800
From: Rohit R Ranade <rohitrranade@huawei.com>
To: "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: Schema Mount with Inline Type
Thread-Index: AdSY8QlqYjMVcg7lQlazR9ZWHav3JQ==
Date: Fri, 21 Dec 2018 05:56:08 +0000
Message-ID: <991B70D8B4112A4699D5C00DDBBF878A6BCB50C7@dggeml530-mbs.china.huawei.com>
Accept-Language: en-US
Content-Language: en-US
x-originating-ip: []
Content-Type: multipart/alternative; boundary="_000_991B70D8B4112A4699D5C00DDBBF878A6BCB50C7dggeml530mbschi_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/pDvxFiJHg9rcH0jFTb4QoI0-tvo>
Subject: [netmod] Schema Mount with Inline Type
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 21 Dec 2018 05:56:28 -0000

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)
              |  +--ro inline!
                 +--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 ?

With Regards,