Re: [netmod] Output of /netconf-state/schemas in RFC 6022

Andy Bierman <andy@yumaworks.com> Tue, 06 June 2017 16:01 UTC

Return-Path: <andy@yumaworks.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 C0AF31293E8 for <netmod@ietfa.amsl.com>; Tue, 6 Jun 2017 09:01:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks-com.20150623.gappssmtp.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 1yNxBdmAwSnS for <netmod@ietfa.amsl.com>; Tue, 6 Jun 2017 09:01:56 -0700 (PDT)
Received: from mail-wr0-x22e.google.com (mail-wr0-x22e.google.com [IPv6:2a00:1450:400c:c0c::22e]) (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 5A70C1292F5 for <netmod@ietf.org>; Tue, 6 Jun 2017 09:01:56 -0700 (PDT)
Received: by mail-wr0-x22e.google.com with SMTP id v104so56275646wrb.0 for <netmod@ietf.org>; Tue, 06 Jun 2017 09:01:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=xYvWi6SboeditucMUQlfhJITlYlq3CsMPG24ySMVu30=; b=aeTsO1iVX1gNOYJ4UDm/6Z8Wwd5wBGRteU316+J5MJXbYsnaS5jz9SAwGWbFGQvanB 1dMnc9M55h5HeuS8LYsQBarobsX3EJIeuME0FBkm/lsTV36iJIVVzrjsdXOEue+6krWj GV6bNCg03rSKnI5EYB2+a0p7HwBzLkrDTv6mLAsAcRWlEBrLl2A1mVYWQbK0SsnkVnZ2 mwRvaP28tWYRCst2X+2MDEE6b0iD5eb3psQG4RB6Dijcm/uY8ftyUQsH5vkcN2igYTyV Ua229ktElZZjqYLGb2eE/sgI4W2rT4xTp8w7+yk6aK7xFmksgIvfpJ1lSYjunl68nMQB jfDg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=xYvWi6SboeditucMUQlfhJITlYlq3CsMPG24ySMVu30=; b=Pot4rhS3KUwvf2ZHduBna8Br9/RBe8kcAKDcKy+4gnit9Z3Bf+J4peTjYRYD+gpRT2 lC/jVpGWSg8EPMMCbRmWJKH5x2qDxuEzN/rtH8UP/REUH4vStBA8yfjcj4Q+1hT9EXOd ApFrkW7LBqkym8iuriFUJWAydt7SS9J1+V4GZKnEKiuLTS5Q0uQy1Wtk6Av0dq/+QrYX cOw/kADR7Cj/8q+UgltZBYfALHXosGN5klOQ94pq4X6mHm1LUUkTTsUWGCKz9nRFym17 kwxpNZbFaKKI9VKFet9lXNPO+PferhUF0rejEWyhRTj4SX2M0Cy4SYEHQihHTE6C3GG2 XhXg==
X-Gm-Message-State: AODbwcBzCOXMayCMN38Omu5sTU+gfuH3Y1ILVIkrK+Dwkcu7Ff0Qjxei OcSvIzddgng3dt1PYx1IOciRrj8f1GoS
X-Received: by 10.223.176.205 with SMTP id j13mr4566341wra.65.1496764914706; Tue, 06 Jun 2017 09:01:54 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.155.2 with HTTP; Tue, 6 Jun 2017 09:01:54 -0700 (PDT)
In-Reply-To: <991B70D8B4112A4699D5C00DDBBF878A6B094071@DGGEMA502-MBX.china.huawei.com>
References: <991B70D8B4112A4699D5C00DDBBF878A6B094071@DGGEMA502-MBX.china.huawei.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Tue, 06 Jun 2017 09:01:54 -0700
Message-ID: <CABCOCHQPrC_=WNmYvUjVq2u-82CGPUwvPfU8bPCw-vmasRRgvg@mail.gmail.com>
To: Rohit R Ranade <rohitrranade@huawei.com>
Cc: "netconf@ietf.org" <netconf@ietf.org>, "netmod@ietf.org" <netmod@ietf.org>
Content-Type: multipart/alternative; boundary="001a1141c6c00dc8fb05514cbdf1"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/il2aGtgpvPd-UHS0ndi6OZfyRFE>
Subject: Re: [netmod] Output of /netconf-state/schemas in RFC 6022
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, 06 Jun 2017 16:01:59 -0000

On Tue, Jun 6, 2017 at 8:02 AM, Rohit R Ranade <rohitrranade@huawei.com>
wrote:

> Hi All,
>
>
>
> In RFC 6022 :
>
>
>
> *2.1.3.  The /netconf-state/schemas Subtree*
>
>
>
>    The list of *supported schema* for the NETCONF server.
>


this usage is general meaning all modules used by the server -- not the
same as YANG



>
>
> In RFC 7950:
>
>       Section 5.6.4 *Announcing Conformance Information in NETCONF*
>
>
>
>    With this mechanism, a client can cache *the supported modules* for a
>
>    server and only update the cache if the "module-set-id" value in the
>
>    <hello> message changes.
>
>
>
> Whether “supported schema” , “supported module”, “implemented module” all
> mean the same thing for YANG?
>


This probably means all modules used by the server -- not the same as
implemented vs. imported.



>
> RFC 6022 need to list both modules and sub-modules. So whether we need to
> extend this rule to sub-modules? We need to list only those sub-modules of
> implemented modules ?
>


list all modules and submodules


>
>
> With Regards,
>
> Rohit
>
>
Andy


> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
>
>