Re: [netmod] some comments on revised-datastores-01

Kent Watsen <kwatsen@juniper.net> Sun, 19 March 2017 18:11 UTC

Return-Path: <kwatsen@juniper.net>
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 F267B1294A8 for <netmod@ietfa.amsl.com>; Sun, 19 Mar 2017 11:11:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.922
X-Spam-Level:
X-Spam-Status: No, score=-1.922 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=junipernetworks.onmicrosoft.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 e5CON3XldN8N for <netmod@ietfa.amsl.com>; Sun, 19 Mar 2017 11:11:38 -0700 (PDT)
Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0116.outbound.protection.outlook.com [104.47.33.116]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 51E9F128CB9 for <netmod@ietf.org>; Sun, 19 Mar 2017 11:11:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=junipernetworks.onmicrosoft.com; s=selector1-juniper-net; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=gH5S3Cs7zXlNr7trz2pcrafXbMr4Dh5imNQE9PvRzWk=; b=LBrh85HathYgrZhiIizR9AFjhFPz7WBvel9jfvSGlTjY4Hcs7p9Zvg0WC4ZDTHJRICRRdabfvmGwVsQsq+s3z4FIMo2hgOlk0Xnb91sxG1qsLsMuDVggR+rEu3sw2LiYybHd+yJMZWdLR9EM1R21QDplyhu2u5uW/oAWwk68KPI=
Received: from BN3PR0501MB1442.namprd05.prod.outlook.com (10.160.117.151) by BN3PR0501MB1443.namprd05.prod.outlook.com (10.160.117.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.991.4; Sun, 19 Mar 2017 18:11:35 +0000
Received: from BN3PR0501MB1442.namprd05.prod.outlook.com ([10.160.117.151]) by BN3PR0501MB1442.namprd05.prod.outlook.com ([10.160.117.151]) with mapi id 15.01.0991.010; Sun, 19 Mar 2017 18:11:35 +0000
From: Kent Watsen <kwatsen@juniper.net>
To: Martin Bjorklund <mbj@tail-f.com>
CC: "andy@yumaworks.com" <andy@yumaworks.com>, "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: [netmod] some comments on revised-datastores-01
Thread-Index: AQHSoB0pC6yqRGsTNE2Jco/Jvjk1RKGb2quAgAA4bM+AAErBAIAAGmtH
Date: Sun, 19 Mar 2017 18:11:35 +0000
Message-ID: <E5EC05F0-F65A-4C2F-A3F5-99E0088D075A@juniper.net>
References: <CABCOCHQDWqDXtkVtQH4dsRRO4HFAJELU1_06TBvhjnZZtj9t8g@mail.gmail.com> <20170319.094733.1957440769000198080.mbj@tail-f.com> <CEDE2294-1BCB-451A-B79E-9E60294419FF@juniper.net>, <20170319.173702.1332458451679178380.mbj@tail-f.com>
In-Reply-To: <20170319.173702.1332458451679178380.mbj@tail-f.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: tail-f.com; dkim=none (message not signed) header.d=none;tail-f.com; dmarc=none action=none header.from=juniper.net;
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [96.231.191.4]
x-microsoft-exchange-diagnostics: 1; BN3PR0501MB1443; 7:UmKISI+NHmyQ5t02721zyRtOQqxGzWbF+xDeyXONWKDYW1md5qT8jGzkNAWL7wf5QmXC8ZuY60LWZfejVrkCBOK/Hy3Zai83+AzfkyESUJV45Ot5xY0z2gStBwtIOklNWkelZVfCJ0K8GLRtF00uLomYJcoZ9wCdneGBr24kJvJ64mf+h+2fnGMxRBk9LnKZxzjdEnLkhQMPHQeXQqcYKhARCySsQTcQWHVbqWzS0yPN0Zk9QLIfgr4j34UTVWDGjtjjdJbJXCjD1Tn0TqWAb/HIj67eD2Iy5TdBrUbIZipU5iz+MvRjSW6suhsnJF1eAsYVHvjKwnvvqFexVafA9g==
x-ms-office365-filtering-correlation-id: 47cc861d-329e-4873-46c4-08d46ef36191
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(48565401081); SRVR:BN3PR0501MB1443;
x-microsoft-antispam-prvs: <BN3PR0501MB1443F3EBFE9023C1561FA8B6A53B0@BN3PR0501MB1443.namprd05.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(158342451672863);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6055026)(6041248)(20161123562025)(20161123558025)(20161123564025)(20161123560025)(20161123555025)(6072148); SRVR:BN3PR0501MB1443; BCL:0; PCL:0; RULEID:; SRVR:BN3PR0501MB1443;
x-forefront-prvs: 025100C802
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(39850400002)(39410400002)(39860400002)(39450400003)(39840400002)(3280700002)(2900100001)(3660700001)(305945005)(2906002)(86362001)(7736002)(2950100002)(6916009)(8936002)(8676002)(81166006)(4326008)(33656002)(6246003)(77096006)(99286003)(54906002)(38730400002)(110136004)(6116002)(102836003)(3846002)(53936002)(36756003)(66066001)(5660300001)(230783001)(6436002)(93886004)(189998001)(229853002)(122556002)(6486002)(54356999)(6506006)(50986999)(76176999)(25786008)(6512007)(104396002); DIR:OUT; SFP:1102; SCL:1; SRVR:BN3PR0501MB1443; H:BN3PR0501MB1442.namprd05.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en;
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Mar 2017 18:11:35.6079 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0501MB1443
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/hDCv9u-bjna8nT454sDfsW54fPM>
Subject: Re: [netmod] some comments on revised-datastores-01
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: Sun, 19 Mar 2017 18:11:40 -0000

>> The new dynamic datastores are (per this draft) advertised by being
>> listed in YANG Library.  Only the "built in" datastores wouldn't have
>> a module-backing.
> 
> Actually, in the current draft, each module has a leaf-list of all
> datastores (not only dynamic) where the module is implemented.
> 
> We have discussed various variations on this theme, but the current
> leaf-list is probably the simplest.


Wait, I think you're mixing things up.  I'm not talking about using YANG Library to identify which datastores a module can be accessed in, so much as knowing which datastores are implemented in the first place.  

For instance, assuming the "ephemeral" datastore example example in the draft, a client knows a server implements it because ietf-ds-ephemeral is listed in YANG Library.   And so it is with all dynamic datastores, but not so for built-in (non-dynamic) datastores (e.g. intended) because there isn't a module to advertise for them (yet).

K.