Re: [netmod] schema mount and YANG library
Robert Wilton <rwilton@cisco.com> Tue, 16 January 2018 16:16 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 CEA3912DDD2 for <netmod@ietfa.amsl.com>; Tue, 16 Jan 2018 08:16:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.511
X-Spam-Level:
X-Spam-Status: No, score=-14.511 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, 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 ScNaRwYi-2Uw for <netmod@ietfa.amsl.com>; Tue, 16 Jan 2018 08:16:02 -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 6DE4312DB72 for <netmod@ietf.org>; Tue, 16 Jan 2018 08:16:01 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=5949; q=dns/txt; s=iport; t=1516119361; x=1517328961; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=NJbcYCgV4MnOgSvRmF5QUG/LlhtnOikPZ33tOTuBHbE=; b=nI4vAMKrTKJtoXy/LyQVIjCeTLPiMhHZFeLagOsqORTYxVazfryNtK4d 7QonKa5MFB8ISGyDLSiSMXj+KiM0V8hNNOPX8PT6NDXsCFunhURwM7ooT sGUMwVkQJCgs9tIq2fpi4QYP33E8HlMszaszQgonBaEo6KuWakJBVmGcS s=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CuAQACJV5a/xbLJq1cGQEBAQEBAQEBAQEBAQcBAQEBAYQndCeEE4sYjTeCN5lCChgLhElPAoUfFAEBAQEBAQEBAWsohSMBAQEBAgEBASEPAQU2CxALDgoCAiYCAicwBgEMBgIBARUCihAIEKVEgieJSgEBAQEBAQEBAQEBAQEBAQEBAQEBARgFgQ+HGYFpKYMFglFeAQEBAYFPAQEIgy2CZQWjZJVLjCWHa48ciAmBPDYigVAyGggbFT2CKoJUHIFnQTcBiwKCPAEBAQ
X-IronPort-AV: E=Sophos;i="5.46,369,1511827200"; d="scan'208";a="1431038"
Received: from aer-iport-nat.cisco.com (HELO aer-core-4.cisco.com) ([173.38.203.22]) by aer-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Jan 2018 16:15:57 +0000
Received: from [10.63.23.131] (dhcp-ensft1-uk-vla370-10-63-23-131.cisco.com [10.63.23.131]) by aer-core-4.cisco.com (8.14.5/8.14.5) with ESMTP id w0GGFvEC002837; Tue, 16 Jan 2018 16:15:57 GMT
To: Martin Bjorklund <mbj@tail-f.com>, lberger@labn.net
Cc: netmod@ietf.org
References: <53c046c7-bd41-4a4b-ef61-0d3bf9414269@labn.net> <20180116.161347.1518992717170489943.mbj@tail-f.com> <0d9b55b4-1377-34b9-442a-a94713e6ead1@labn.net> <20180116.165014.297580929914718463.mbj@tail-f.com>
From: Robert Wilton <rwilton@cisco.com>
Message-ID: <e2065948-f455-dfc7-b1ae-079331b6e626@cisco.com>
Date: Tue, 16 Jan 2018 16:15:57 +0000
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0
MIME-Version: 1.0
In-Reply-To: <20180116.165014.297580929914718463.mbj@tail-f.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/ySAIxmP4siwnTFCzT5u0Kt5k3T8>
Subject: Re: [netmod] schema mount and YANG library
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, 16 Jan 2018 16:16:04 -0000
On 16/01/2018 15:50, Martin Bjorklund wrote: > Lou Berger <lberger@labn.net> wrote: >> >> On 1/16/2018 10:13 AM, Martin Bjorklund wrote: >> ... (trimming to topic) >>>>>>>>>> rejectected by the WG multiple times. FWIW there are drafts already >>>>>>>>>> with >>>>>>>>> No at all. The first and last time I proposed this was on 15 December >>>>>>>>> 2017: >>>>>>>>> >>>>>>>>> https://www.ietf.org/mail-archive/web/netmod/current/msg19753.html >>>>>>>>> >>>>>>>> Oh, I certainly would call you proposing that the schema for inline be >>>>>>>> part of the rest of the schema Mount module well before that. I'm sure >>>>>>>> I can dig up mail / slides it really necessary... >>>>>>> I don't think this has been proposed before. All previous proposals >>>>>>> were basically variants on what is now "use-schema", which works fine >>>>>>> when all instances have the same schema. This new proposal solves the >>>>>>> issue with different schemas in different instances. >>>>>>> >>>>>> I thought the previous proposals that as well, so don't see material >>>>>> difference - at least from the usage standpoint. I also don't see why >>>>>> the previous arguments that resulted in consensus for using Yang >>>>>> Library underneath the an in line Mount Point don't apply. >>>>> B/c it doesn't work well with the NMDA. You can't mount yang library >>>>> in the configuration datastores; it has to be mounted in operational. >>>>> With meta-data, you can actually report the correct schema even in >>>>> running. (This is actually true also for pre-NMDA systems). >>>>> >>>> Understood and agree there is nothing new here and the current version >>>> of SM (including inline) has the same limitation as rfc7895, and I'd >>>> expect it to behave the same once we have rfc7985bis -- in fact the >>>> inline case "just works" with YL-bis as defined today. >> Martin, >> >> you didn't respond to this point. > I agree, it works for non-NMDA servers. But see below. > >>>> The argument I recall being the key point on inline was handling the >>>> large variety of possible different implementation approaches for >>>> modules using inline. >>> I think these still are covered. >>> >>>> For example an LNE that is implemented using >>>> VMs which can be managed by the host at different times of the VMs >>>> operational life cycle based on customer/provider requirements. I >>>> really don't see how YL-bis has any bearing on this point and >>> Using the new proposed meta data annotation together with the new YL >>> means that SM can support the use case above also in an NMDA server. >>> I think the new proposed solution covers more use cases than the >>> previous solution. >> how so? The inline mount point would contain YL-bis and have the same >> information there, just scoped for the mount point. It's true a >> client would need to understand the mount point's schema only upon >> parsing the YL under the mount point and this schema could not be >> shared across inline mount points. But this is as was discussed in >> the past and unchanged from YL. >> >>> Do you think that there is any use case that the proposed solution >>> cannot handle, but the previous solution did? >> yes. with VM/container technologies the YL / schema can change under >> the mount point from time to time during normal operation (i.e., >> during runtime, no reboot) and, in some implementations, may require >> some level of rpc operation to access even the schema. The new (and >> previously proposed approach) of having inline schema available from >> the top level greatly complicates these cases. Also keep in mind that >> there will be cases where the ability to access information under an >> inline mount point will dynamically change in operation (and top level >> YL would need to remove schema information for the inline mount >> point.) As before, from the usage standpoint, these changes don't >> provide a whole lot of value and seem to optimizing for something not >> needed in the inline case. > I think this is an implementation issue, rather than a problem with > the proposed mechanism, and it is present in the current solution as > well. An implementation that can handle dynamically changing mounted > YLs in the current solution can do that in the new solution as well. > >>>> I think >>>> it is incumbent upon those revisiting past/closed WG decisions (in >>>> this case, inline schema being represented by YL) to argue why the >>>> decision needs to be revisited. >>> I'm repeating my self: b/c the current solution doesn't work well with >>> the NMDA. >> I simply don't understand how YL-bis works at the root node but >> doesn't work equally at an inline mount point. Can you elaborate? > With NMDA, a server may have one schema for the config datastore and > another one for operational (one is a superset of the other). A > mounted YL can only be present in operational. Thus, there's no way a > client can learn the schema for config. If the LNE mounted the full YL-bis at the mount point then you would have the list of datastores, and the schema associated with each datastore. Of course, this would only be available in operational, but that is the same as a regular server support YL-bis. I thought that the problem with the current solution and NMDA, was that there is no way to find out what the LNE schema is if the LNE isn't booted, and hence isn't providing <operational>. But I'm not sure what issues that actually causes. E.g. does it cause issues with pre-configuration of the LNE? Thanks, Rob > > With the proposed solution, there can be different schema-ref pointers > in config and operational (if needed). > > > /martin > > _______________________________________________ > netmod mailing list > netmod@ietf.org > https://www.ietf.org/mailman/listinfo/netmod > . >
- [netmod] schema mount and YANG library Ladislav Lhotka
- Re: [netmod] schema mount and YANG library Ladislav Lhotka
- Re: [netmod] schema mount and YANG library Lou Berger
- Re: [netmod] schema mount and YANG library Ladislav Lhotka
- Re: [netmod] schema mount and YANG library Juergen Schoenwaelder
- Re: [netmod] schema mount and YANG library Ladislav Lhotka
- Re: [netmod] schema mount and YANG library Lou Berger
- Re: [netmod] schema mount and YANG library Ladislav Lhotka
- Re: [netmod] schema mount and YANG library Lou Berger
- Re: [netmod] schema mount and YANG library Lou Berger
- Re: [netmod] schema mount and YANG library Ladislav Lhotka
- Re: [netmod] schema mount and YANG library Lou Berger
- Re: [netmod] schema mount and YANG library Ladislav Lhotka
- Re: [netmod] schema mount and YANG library Lou Berger
- Re: [netmod] schema mount and YANG library Ladislav Lhotka
- Re: [netmod] schema mount and YANG library Lou Berger
- Re: [netmod] schema mount and YANG library Ladislav Lhotka
- Re: [netmod] schema mount and YANG library Martin Bjorklund
- Re: [netmod] schema mount and YANG library Martin Bjorklund
- Re: [netmod] schema mount and YANG library Lou Berger
- Re: [netmod] schema mount and YANG library Ladislav Lhotka
- Re: [netmod] schema mount and YANG library Robert Wilton
- Re: [netmod] schema mount and YANG library Martin Bjorklund
- Re: [netmod] schema mount and YANG library Lou Berger
- Re: [netmod] schema mount and YANG library Robert Wilton
- Re: [netmod] schema mount and YANG library Lou Berger
- Re: [netmod] schema mount and YANG library Martin Bjorklund
- Re: [netmod] schema mount and YANG library Lou Berger
- Re: [netmod] schema mount and YANG library Lou Berger
- Re: [netmod] schema mount and YANG library Ladislav Lhotka
- Re: [netmod] schema mount and YANG library Martin Bjorklund
- Re: [netmod] schema mount and YANG library Ladislav Lhotka
- Re: [netmod] schema mount and YANG library Lou Berger
- Re: [netmod] schema mount and YANG library Lou Berger
- Re: [netmod] schema mount and YANG library Martin Bjorklund
- Re: [netmod] schema mount and YANG library Ladislav Lhotka
- Re: [netmod] schema mount and YANG library Robert Wilton
- Re: [netmod] schema mount and YANG library Lou Berger
- Re: [netmod] schema mount and YANG library Lou Berger
- Re: [netmod] schema mount and YANG library Ladislav Lhotka
- Re: [netmod] schema mount and YANG library Ladislav Lhotka
- Re: [netmod] schema mount and YANG library Martin Bjorklund
- Re: [netmod] schema mount and YANG library Juergen Schoenwaelder
- Re: [netmod] schema mount and YANG library Ladislav Lhotka
- Re: [netmod] schema mount and YANG library Lou Berger
- Re: [netmod] schema mount and YANG library Lou Berger
- Re: [netmod] schema mount and YANG library Martin Bjorklund
- Re: [netmod] schema mount and YANG library Lou Berger
- Re: [netmod] schema mount and YANG library Ladislav Lhotka
- Re: [netmod] schema mount and YANG library Martin Bjorklund
- Re: [netmod] schema mount and YANG library Ladislav Lhotka
- Re: [netmod] schema mount and YANG library Ladislav Lhotka
- Re: [netmod] schema mount and YANG library Martin Bjorklund
- Re: [netmod] schema mount and YANG library Ladislav Lhotka
- Re: [netmod] schema mount and YANG library Lou Berger
- Re: [netmod] schema mount and YANG library Lou Berger
- Re: [netmod] schema mount and YANG library Lou Berger
- Re: [netmod] schema mount and YANG library Lou Berger
- Re: [netmod] schema mount and YANG library Ladislav Lhotka
- Re: [netmod] schema mount and YANG library Martin Bjorklund
- Re: [netmod] schema mount and YANG library Ladislav Lhotka
- Re: [netmod] schema mount and YANG library Lou Berger
- Re: [netmod] schema mount and YANG library Juergen Schoenwaelder
- Re: [netmod] schema mount and YANG library joel jaeggli
- Re: [netmod] schema mount and YANG library Juergen Schoenwaelder
- Re: [netmod] schema mount and YANG library Kent Watsen
- Re: [netmod] schema mount and YANG library Ladislav Lhotka
- Re: [netmod] schema mount and YANG library Martin Bjorklund
- Re: [netmod] schema mount and YANG library joel jaeggli
- Re: [netmod] schema mount and YANG library Ladislav Lhotka
- Re: [netmod] schema mount and YANG library Martin Bjorklund
- Re: [netmod] schema mount and YANG library Lou Berger
- Re: [netmod] schema mount and YANG library Martin Bjorklund
- Re: [netmod] schema mount and YANG library Ladislav Lhotka
- Re: [netmod] schema mount and YANG library Robert Wilton
- Re: [netmod] schema mount and YANG library Lou Berger
- Re: [netmod] schema mount and YANG library Dean Bogdanovic
- Re: [netmod] schema mount and YANG library Kent Watsen
- Re: [netmod] schema mount and YANG library Kent Watsen
- Re: [netmod] schema mount and YANG library Juergen Schoenwaelder
- Re: [netmod] schema mount and YANG library Ladislav Lhotka
- Re: [netmod] schema mount and YANG library Ladislav Lhotka
- Re: [netmod] schema mount and YANG library Ladislav Lhotka
- Re: [netmod] schema mount and YANG library Acee Lindem (acee)
- Re: [netmod] schema mount and YANG library Jeff Tantsura
- Re: [netmod] schema mount and YANG library Juergen Schoenwaelder
- Re: [netmod] schema mount and YANG library Acee Lindem (acee)
- Re: [netmod] schema mount and YANG library Juergen Schoenwaelder
- Re: [netmod] schema mount and YANG library Andy Bierman
- Re: [netmod] schema mount and YANG library Martin Bjorklund