Re: [netmod] Query about Schema Mount "config" leaf

Robert Wilton <rwilton@cisco.com> Fri, 21 December 2018 12:11 UTC

Return-Path: <rwilton@cisco.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 24EC9124408 for <netmod@ietfa.amsl.com>; Fri, 21 Dec 2018 04:11:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.565
X-Spam-Level:
X-Spam-Status: No, score=-14.565 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.065, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 8qlXoSjiWHev for <netmod@ietfa.amsl.com>; Fri, 21 Dec 2018 04:11:06 -0800 (PST)
Received: from aer-iport-4.cisco.com (aer-iport-4.cisco.com [173.38.203.54]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A9D3D12426A for <netmod@ietf.org>; Fri, 21 Dec 2018 04:11:05 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=10684; q=dns/txt; s=iport; t=1545394265; x=1546603865; h=subject:to:references:from:message-id:date:mime-version: in-reply-to; bh=6wAzdbbIdj0qVGopG/PoHI4bE2vkcIQXoSetntKAyQE=; b=cqGUlPplVm6d/xX4clQsCyf4hdjj6/E0TTfYEcBVOsidZSXKxmQ3H11c WFednWjOiTXMRQhKr/v7bUbBDgi+vy7HCL7ozmuTSAiVOGFeJ/HvMzLzB 3qYco+FFFzTxNDhviuUsDUyj7GrOCkGL3RmUMBt+2+dRPhb9+C99sJYl5 Q=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0AHAABO1xxc/xbLJq1jGgEBAQEBAgE?= =?us-ascii?q?BAQEHAgEBAQGBUgQBAQEBCwGBDYFccBInjHWMfS2SA4VcgXsNGAEKhANGAoM?= =?us-ascii?q?PNQgNAQMBAQIBAQJtHAyFSgEBAQMBAQErQRALCxguJzAGAQwGAgEBgx4BgXk?= =?us-ascii?q?ID6cuH4QiQD+EbwWMVoFAP4E4gmuDHgEBAwGHPAKhRQmHEopRBhiKC4dUiVO?= =?us-ascii?q?EfoRNhn6BRwE2gVYzGggbFTuCbIschT8/AzCPFgEB?=
X-IronPort-AV: E=Sophos;i="5.56,381,1539648000"; d="scan'208,217";a="8957511"
Received: from aer-iport-nat.cisco.com (HELO aer-core-2.cisco.com) ([173.38.203.22]) by aer-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Dec 2018 12:11:03 +0000
Received: from [10.63.23.68] (dhcp-ensft1-uk-vla370-10-63-23-68.cisco.com [10.63.23.68]) by aer-core-2.cisco.com (8.15.2/8.15.2) with ESMTP id wBLCB3eQ015861; Fri, 21 Dec 2018 12:11:03 GMT
To: Rohit R Ranade <rohitrranade@huawei.com>, "netmod@ietf.org" <netmod@ietf.org>
References: <991B70D8B4112A4699D5C00DDBBF878A6BCB5273@dggeml530-mbs.china.huawei.com>
From: Robert Wilton <rwilton@cisco.com>
Message-ID: <192a21f4-19e1-e40c-ec3f-294e0d348168@cisco.com>
Date: Fri, 21 Dec 2018 12:11:03 +0000
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.3
MIME-Version: 1.0
In-Reply-To: <991B70D8B4112A4699D5C00DDBBF878A6BCB5273@dggeml530-mbs.china.huawei.com>
Content-Type: multipart/alternative; boundary="------------4FFF8F7DFEECB8593248C251"
Content-Language: en-US
X-Outbound-SMTP-Client: 10.63.23.68, dhcp-ensft1-uk-vla370-10-63-23-68.cisco.com
X-Outbound-Node: aer-core-2.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/AVDmn2CFAHRgcGYKaNKRJOnfAM0>
Subject: Re: [netmod] Query about Schema Mount "config" leaf
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 12:11:08 -0000

Hi Rohit,

Are you familiar with either of the LNE or NI model drafts?

https://datatracker.ietf.org/doc/draft-ietf-rtgwg-lne-model/

https://datatracker.ietf.org/doc/draft-ietf-rtgwg-ni-model/

I believe both of these drafts were driving some of the key schema mount 
requirements, and may provide useful examples of the use cases.

On 21/12/2018 12:01, Rohit R Ranade wrote:
>
> Hi All,
>
>         +--ro mount-point* [module label]
>
>            +--ro module                 yang:yang-identifier
>
>            +--ro label                  yang:yang-identifier
>
>            +--ro *config*?                boolean
>
> 1..When reading the schema mount draft it is not clear for which 
> use-case, the “config” being false will be helpful for ?
>
Section 3 of the LNE draft writes about the use of this config leaf.


> 2..If there are modules with config true nodes mounted, how can the 
> data-nodes of those mounted modules be instantiated if the config leaf 
> is false ?
>
There will likely be separate direct YANG management protocol access to 
the mounted data (e.g. for a mounted LNE) that would allow the 
configuration to be manipulated.

Thanks,
Rob


> With Regards,
>
> Rohit
>
>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod