[netmod] Schema-mount question: Augmentation to the Mounted Module

"Xufeng Liu" <xufeng.liu.ietf@gmail.com> Tue, 13 June 2017 20:27 UTC

Return-Path: <xufeng.liu.ietf@gmail.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DEEB3129451; Tue, 13 Jun 2017 13:27:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cEsedtdTR4lE; Tue, 13 Jun 2017 13:27:30 -0700 (PDT)
Received: from mail-lf0-x241.google.com (mail-lf0-x241.google.com [IPv6:2a00:1450:4010:c07::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D7AA6128768; Tue, 13 Jun 2017 13:27:29 -0700 (PDT)
Received: by mail-lf0-x241.google.com with SMTP id v20so14508545lfa.2; Tue, 13 Jun 2017 13:27:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version:thread-index :content-language; bh=lgBBtBuxausWcfmggrmd7C3y7NKYUrZ9mIEsrx6Zrwk=; b=EEU+oUpMrc86W0ZaVkcO9EBUPN8fRF1H2Kngkpbu732ijyNlAfF7iKIQZfXAyOGheD DhqFZ6HkKSdhE+JMseFOdppsq4JHV6xybzDdEz3XBFnZUrOeV+AlmpXFGFT5OPTzyHiv yqxL2YDcwfVNUasG81yLICzAz231iNTZovMvS0oJ7P/h91Rn7paRUSwvuTDHRogPZn8L afUUgFr3yKEJ92cD7aMmiA5o7VluL6rLUBW14vMH7wHEng3CxWBkpwtb4yTAllaSFbfj vBqiq7LmcJqqGebxjH89R6hQbGYdOCi5q/H93TcoaUlLiDjzr2/8TMF5QuHKpdsueyo4 le0A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :thread-index:content-language; bh=lgBBtBuxausWcfmggrmd7C3y7NKYUrZ9mIEsrx6Zrwk=; b=fBhy0Ai/kc1WPXByEw74A2N44nj7+c3PdSINIl8uxDlg9+2DSYkTgUDEz1GzdPz40R u+uXY2r8bI8WFZxpp3xPS6OlFf97pLWXAtf7Jd0HT2CTrvh0oVi1+8s94isA2kAuQ42R aqkKkpvEHVnnJ2ncICyVsGYjfor7YT6hlcDrHds5Wo9WoBtoN8FEiubSToVl3beoThFP 2MFxVFU2cdKR8ZOKl7ol0f8V5CiCG8a/CJgRWZZFVLveh5eQ2SBqlwZlMqzGBV12SXx4 pLhNDhTG+E+Njb0i/qYuUcL/QWounpuNJNo59k6zncPCbKi+c+h1U9So0w7bF67Ab5Ws KsgA==
X-Gm-Message-State: AKS2vOyZJpcWwAdH6b2YJQLze6uzKVu3WfQiZ0GyOh6RFyJNy1e3We+9 MySbczyKSAm9et5+2nY=
X-Received: by 10.46.82.157 with SMTP id n29mr564557lje.58.1497385647867; Tue, 13 Jun 2017 13:27:27 -0700 (PDT)
Received: from xliuus (wsip-98-191-72-170.dc.dc.cox.net. [98.191.72.170]) by smtp.gmail.com with ESMTPSA id i20sm3656968lfh.53.2017.06.13.13.27.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Jun 2017 13:27:27 -0700 (PDT)
From: Xufeng Liu <xufeng.liu.ietf@gmail.com>
To: draft-ietf-netmod-schema-mount@ietf.org, netmod@ietf.org
Date: Tue, 13 Jun 2017 16:27:24 -0400
Message-ID: <01b901d2e483$792089f0$6b619dd0$@gmail.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_01BA_01D2E461.F213CBF0"
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AdLkgJUUcwSA0JfMRE26worjISEc0Q==
Content-Language: en-us
x-dg-ref: PG1ldGE+PGF0IG5tPSJib2R5Lmh0bWwiIHA9ImM6XHVzZXJzXHhsaXVcYXBwZGF0YVxyb2FtaW5nXDA5ZDg0OWI2LTMyZDMtNGE0MC04NWVlLTZiODRiYTI5ZTM1Ylxtc2dzXG1zZy1iM2RkNWFiYi01MDc2LTExZTctOWMxNC0xODVlMGZlM2M0NWNcYW1lLXRlc3RcYjNkZDVhYmMtNTA3Ni0xMWU3LTljMTQtMTg1ZTBmZTNjNDVjYm9keS5odG1sIiBzej0iNTE4OCIgdD0iMTMxNDE4NTkyNDM2MTg0MzAyIiBoPSJFZmtxSTlUaU9QZGpCL2k2Mjk3NnZtV2pzUW89IiBpZD0iIiBibD0iMCIgYm89IjEiLz48L21ldGE+
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/kf1Vxnjje-cHnJSLc5BjbFLovFk>
Subject: [netmod] Schema-mount question: Augmentation to the Mounted Module
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.22
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: Tue, 13 Jun 2017 20:27:32 -0000

Hi Lada,

 

We have got two questions on how to specify the module entries in a schema:

 

1.	Are augmentations of parent modules inherited when augmented module
is listed in schema-mounts schema?

For example, ietf-ospf module augments ietf-routing. When we include
ietf-routing to the schema entry, is ietf-ospf automatically included?

 

2.	When we have ietf-yang-library mounted under a parent (LNE), does
ietf-yang-library have to contain exactly the same list of Yang modules as
the list contained in the "schema" entry under "schema-mount"?

For example, ietf-ospf module augments ietf-routing. When we mount
ietf-routing ietf-yang-library to LNE, should we list ietf-ospf in the mount
module list? And also in ietf-yang-library?

 

It would be great if these can be clarified.

 

Thanks,

- Xufeng