[netmod] regarding draft-bierman-netmod-yang-data-ext-00

Kent Watsen <kwatsen@juniper.net> Fri, 01 September 2017 16:24 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 F1FED132F6A for <netmod@ietfa.amsl.com>; Fri, 1 Sep 2017 09:24:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.121
X-Spam-Level:
X-Spam-Status: No, score=-0.121 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=juniper.net
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 6reD8FAN-9cY for <netmod@ietfa.amsl.com>; Fri, 1 Sep 2017 09:24:06 -0700 (PDT)
Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0107.outbound.protection.outlook.com [104.47.42.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 13D0F132E51 for <netmod@ietf.org>; Fri, 1 Sep 2017 09:24:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=lgaiiGn1OTNQFDSsnzUxFZ+hSc4HYLYTlqzfk/Oo/Oc=; b=PsfOJ6/YzmVZ9Kll0flCa9i2aD8PrESJkmixEHM0mRrRjgocx+M6SEJUlZaAdT/8SgAjOujK9RErKHj3D93nsFiqSBeX6P73ziUdl9KNS/OmVD77SvHEYkRBDSafUaeIPGbPVv+Hzyb0FmJiome59at4oIXU8E/85M6zZ44iyL8=
Received: from CY1PR0501MB1450.namprd05.prod.outlook.com (10.160.149.11) by CY1PR0501MB1547.namprd05.prod.outlook.com (10.161.161.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.13.2; Fri, 1 Sep 2017 16:24:04 +0000
Received: from CY1PR0501MB1450.namprd05.prod.outlook.com ([10.160.149.11]) by CY1PR0501MB1450.namprd05.prod.outlook.com ([10.160.149.11]) with mapi id 15.20.0013.014; Fri, 1 Sep 2017 16:24:04 +0000
From: Kent Watsen <kwatsen@juniper.net>
To: "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: regarding draft-bierman-netmod-yang-data-ext-00
Thread-Index: AQHTIz66ZM/zAubP+UmCwbr4E6YP3w==
Date: Fri, 01 Sep 2017 16:24:04 +0000
Message-ID: <57AA997C-6E52-49D2-B6AF-7DDE8F13D7B3@juniper.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/f.20.0.170309
authentication-results: spf=none (sender IP is ) smtp.mailfrom=kwatsen@juniper.net;
x-originating-ip: [66.129.241.10]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; CY1PR0501MB1547; 6:rWqurRrfRsY30/9hbeCR6fthF0Id1OfA/QQteZk/OmETeph8fvJltIiqozXtygVAklgJ2IX2WZyORTEU8/KTrAdOCvWvy21m00ZoRNoNbFA35Mu231StJnh0iOOWz8qc9trXWf3WrU74vkv+HxY0np78llfGHc6UnyFgQx2LPCXRvLicOARb34u/YCI+xBMTr40lngRYnAjPEE7D9DQFFMxJNCV4BOiqdi1OGX+bPtyX5NjAN7+R4VXP65szDvNrKSMig4mNxnLosuB5HxJ0qDVciXxCgD+M0FgBEVWbVBP0NmLDCfXw3mQ2cHbU+caJ4QJabz/cea7IlV8zkyDPkw==; 5:zVlB1Wls9Ms7dFrmo57DNj798vAdfDAYsW9+IUAdpfHT8dDAhQBKja64cOIxR9bvrY1SmbplkDuvzOORokyQbxFK2Ktm1bYphwqQuXvxFcDFX9zc0TqSJwiKGyYtBOhtHTnG/65jKgUCGdpLO3laIA==; 24:hYxJoGwdZ2+UniL+6dmfNXWk2SeJ6LJhMBSMjumGEpKYtI1lIr5psbSwS5bok3OPRj9U/JrOVmueXtjULnRyCLNM6RmuMuQlfGYn4bfZ3v0=; 7:9YpdjOBtF7BTZg8yArBiK03L0/OxcgRJqwZaXummdWdKzC7UxZV7KkiDlGQ3PLuNBXeteo3P8x49rdmM+wdtKAOvLDrRd6Tvcb+ePs9MU3g597uDcMvv4virWFQiA1oQwzy7gjy2MIuaawPLrGNENW7rYHlFSdeuR+UgqamcCEO8j8DxnxXoW+j9IQfEwAjlHAzGV04DMXxgF7ehouFxaur0Ykng+OGKNj5jGgVRZ5Q=
x-ms-exchange-antispam-srfa-diagnostics: SSOS;
x-ms-office365-filtering-correlation-id: 753ae5ba-3dc3-4f2b-6de8-08d4f155dcf0
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(300000502095)(300135100095)(22001)(2017030254152)(48565401081)(300000503095)(300135400095)(2017052603199)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:CY1PR0501MB1547;
x-ms-traffictypediagnostic: CY1PR0501MB1547:
x-exchange-antispam-report-test: UriScan:;
x-microsoft-antispam-prvs: <CY1PR0501MB15475A959527C51DC160E118A5920@CY1PR0501MB1547.namprd05.prod.outlook.com>
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(3002001)(100000703101)(100105400095)(10201501046)(93006095)(93001095)(6055026)(6041248)(20161123555025)(20161123564025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123558100)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY1PR0501MB1547; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY1PR0501MB1547;
x-forefront-prvs: 0417A3FFD2
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(39860400002)(54094003)(189002)(199003)(230783001)(110136004)(14454004)(6512007)(99286003)(5640700003)(50986999)(2900100001)(54356999)(101416001)(97736004)(86362001)(82746002)(4001350100001)(2501003)(83716003)(36756003)(53936002)(5660300001)(6486002)(6506006)(6436002)(68736007)(77096006)(83506001)(305945005)(7736002)(3660700001)(33656002)(2351001)(66066001)(189998001)(81166006)(81156014)(8936002)(6916009)(8676002)(3846002)(25786009)(1730700003)(102836003)(2906002)(6116002)(105586002)(3280700002)(106356001)(478600001); DIR:OUT; SFP:1102; SCL:1; SRVR:CY1PR0501MB1547; H:CY1PR0501MB1450.namprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en;
received-spf: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-ID: <678AA1086CC4DA419E47FFD17B313367@namprd05.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Sep 2017 16:24:04.5934 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0501MB1547
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/nfPBtLvtFU8_HLuohHL8mkwHy3k>
Subject: [netmod] regarding draft-bierman-netmod-yang-data-ext-00
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: Fri, 01 Sep 2017 16:24:08 -0000

I'd like to start a discussion about adopting this draft...or something like it (see below).

The primary driver for wanting to expedite this draft is that it is being discussed as a required aspect of a chartered NETCONF WG effort to define a new encoding for YANG's 'notification' statement.

But I wonder if it would be better to define something like yd:uses-yang-data that can have both 'augment' and 'refine' as substatements.  The motivation for this is because the ANIMA WG wishes to define a "voucher-request" yang-data artifact that is essentially a "voucher" yang-data artifact that has had a leaf changed from "mandatory true" to "mandatory false" (via refinement) while also adding some new fields (via augmentation).  The current ANIMA solution defines a common grouping used by two yang-data statements, but this approach is neither intuitive nor lends itself to further downstream consumption.

Lastly, I wonder if it would be better to have a draft that [re-]defines a 'yang-data' statement outside of RFC8040.  This way drafts wanting to define yang-data wouldn't have to explain why they have an otherwise unexpected normative reference to RESTCONF.

Thoughts?

Kent // pick a hat