[netmod] draft-ietf-netconf-rfc7895bis-06 deviation query

Rohit R Ranade <rohitrranade@huawei.com> Tue, 29 May 2018 09:35 UTC

Return-Path: <rohitrranade@huawei.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 D597D12E8CE for <netmod@ietfa.amsl.com>; Tue, 29 May 2018 02:35:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 IXzfP-AX2zpz for <netmod@ietfa.amsl.com>; Tue, 29 May 2018 02:35:24 -0700 (PDT)
Received: from huawei.com (lhrrgout.huawei.com [194.213.3.17]) (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 E145412E874 for <netmod@ietf.org>; Tue, 29 May 2018 02:35:23 -0700 (PDT)
Received: from LHREML713-CAH.china.huawei.com (unknown [172.18.7.108]) by Forcepoint Email with ESMTP id BC20FA6DF506C for <netmod@ietf.org>; Tue, 29 May 2018 10:35:18 +0100 (IST)
Received: from DGGEML422-HUB.china.huawei.com (10.1.199.39) by LHREML713-CAH.china.huawei.com (10.201.108.36) with Microsoft SMTP Server (TLS) id 14.3.382.0; Tue, 29 May 2018 10:35:19 +0100
Received: from DGGEML510-MBX.china.huawei.com ([169.254.2.161]) by dggeml422-hub.china.huawei.com ([10.1.199.39]) with mapi id 14.03.0382.000; Tue, 29 May 2018 17:35:09 +0800
From: Rohit R Ranade <rohitrranade@huawei.com>
To: "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: [netmod] draft-ietf-netconf-rfc7895bis-06 deviation query
Thread-Index: AdP3LxM2Qa00BJMETVeCiSY+xVpFuw==
Date: Tue, 29 May 2018 09:35:09 +0000
Message-ID: <991B70D8B4112A4699D5C00DDBBF878A6BBB23B2@dggeml510-mbx.china.huawei.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.18.150.121]
Content-Type: multipart/alternative; boundary="_000_991B70D8B4112A4699D5C00DDBBF878A6BBB23B2dggeml510mbxchi_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/bcEV_aUyatQFedAhBFjFHLJxzJI>
Subject: [netmod] draft-ietf-netconf-rfc7895bis-06 deviation query
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, 29 May 2018 09:35:26 -0000

Hi All,

Consider the below YANG tree, which contains both "rw" and "ro" nodes.

module: ietf-interfaces
    +--rw interfaces
    |  +--rw interface* [name]
    |     +--rw name                        string
    |     +--rw description?                string
    |     +--rw type                        identityref
    |     +--rw enabled?                    boolean
    |     +--rw link-up-down-trap-enable?   enumeration {if-mib}?
    |     +--ro admin-status                enumeration {if-mib}?
    |     +--ro oper-status                 enumeration
    |     +--ro last-change?                yang:date-and-time
    |     +--ro if-index                    int32 {if-mib}?
    |     +--ro phys-address?               yang:phys-address
    |     +--ro higher-layer-if*            interface-ref

>From what I understand, in the new yang-library structure the schema for <operational> data-store will have the complete YANG tree. The schema for <running> will need to add deviations with "not-supported" for all the "ro" nodes for this module ?

With Regards,
Rohit R Ranade