
From nobody Wed Aug  1 08:41:09 2018
Return-Path: <evoit@cisco.com>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3F6A8130DC1; Wed,  1 Aug 2018 08:41:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.509
X-Spam-Level: 
X-Spam-Status: No, score=-14.509 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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, T_DKIMWL_WL_MED=-0.01, URIBL_BLOCKED=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 ipRT-lmGUkWV; Wed,  1 Aug 2018 08:41:04 -0700 (PDT)
Received: from rcdn-iport-6.cisco.com (rcdn-iport-6.cisco.com [173.37.86.77]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9AAFC130E34; Wed,  1 Aug 2018 08:41:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=17988; q=dns/txt; s=iport; t=1533138064; x=1534347664; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=v+voaDMgYIzjj8vzVDCKes+lRAGtc+gvkt/fUvqE+kU=; b=VmgI3kWtt1172kCaY7KSG3MERryQ1LBllVVT2KVwHcqqtolgNjp/DcoH E7i5O2Oph9XO+1xeI2K8/gzwXdvQ0K176eerT33pZECpC2ovekKhukg8d 1pOlvMiLqu1Hja4oXTVH+fGRduCI8IHwALb0Qvzrt4/94EBuHQUlyw12h Y=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0CVAQBL1GFb/5hdJa1SBgMZAQEBAQE?= =?us-ascii?q?BAQEBAQEBBwEBAQEBgld3Y38oCoN0lESCDZA+hRqBegsfhE0CF4MsITUXAQI?= =?us-ascii?q?BAQIBAQJtHAyFNgEBAQMBIwpMBQkCAgEIEAUDDRoDAgICGRcUEQIEDgUIgxm?= =?us-ascii?q?BG1wIsR6BLopSBQWJAxeBQT+BEoMShFQUJAkKFRGCOoI1IAKMcI0uCQKPMoF?= =?us-ascii?q?QhxCFOZIbAhEUgSQfAjSBUnAVgySGNIofb45SgRsBAQ?=
X-IronPort-AV: E=Sophos;i="5.51,432,1526342400";  d="scan'208,217";a="432200418"
Received: from rcdn-core-1.cisco.com ([173.37.93.152]) by rcdn-iport-6.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Aug 2018 15:40:44 +0000
Received: from XCH-RTP-015.cisco.com (xch-rtp-015.cisco.com [64.101.220.155]) by rcdn-core-1.cisco.com (8.15.2/8.15.2) with ESMTPS id w71Feic8012978 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Wed, 1 Aug 2018 15:40:44 GMT
Received: from xch-rtp-013.cisco.com (64.101.220.153) by XCH-RTP-015.cisco.com (64.101.220.155) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Wed, 1 Aug 2018 11:40:43 -0400
Received: from xch-rtp-013.cisco.com ([64.101.220.153]) by XCH-RTP-013.cisco.com ([64.101.220.153]) with mapi id 15.00.1320.000; Wed, 1 Aug 2018 11:40:43 -0400
From: "Eric Voit (evoit)" <evoit@cisco.com>
To: Andy Bierman <andy@yumaworks.com>
CC: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, "Martin Bjorklund" <mbj@tail-f.com>, "yang-doctors@ietf.org" <yang-doctors@ietf.org>, "netconf@ietf.org" <netconf@ietf.org>
Thread-Topic: [yang-doctors] YANG Doctor question: empty mandatory choice?
Thread-Index: AQHUJ1ReOwlfbH+3hkGPLp9Bm3apCaSn4DUwgAB+GwCAAYN0gP//xXiQgABoMwCAAPqzIA==
Date: Wed, 1 Aug 2018 15:40:43 +0000
Message-ID: <0fcd4458ea874fd39f384d847353970e@XCH-RTP-013.cisco.com>
References: <727ae35abd394a85812168615acce2d3@XCH-RTP-013.cisco.com> <20180729.175356.1841285666617255654.mbj@tail-f.com> <77080682bf90495caec48436453e4750@XCH-RTP-013.cisco.com> <20180730.204142.1505732335534077415.mbj@tail-f.com> <20180731174827.n5r2jebon45s2cxy@anna.jacobs.jacobs-university.de> <b8dc903dc04a46088bcca106ac45c4fc@XCH-RTP-013.cisco.com> <CABCOCHQPYyWgXS8Y_n5PN-AEQ5myQXX5s0KvkjQnfAh4VOMbrA@mail.gmail.com>
In-Reply-To: <CABCOCHQPYyWgXS8Y_n5PN-AEQ5myQXX5s0KvkjQnfAh4VOMbrA@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.118.56.234]
Content-Type: multipart/alternative; boundary="_000_0fcd4458ea874fd39f384d847353970eXCHRTP013ciscocom_"
MIME-Version: 1.0
X-Outbound-SMTP-Client: 64.101.220.155, xch-rtp-015.cisco.com
X-Outbound-Node: rcdn-core-1.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/1P9YEI_ZjDODRJTaDqIOctUDPnI>
Subject: Re: [yang-doctors] YANG Doctor question: empty mandatory choice?
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: Email list of the yang-doctors directorate  <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 01 Aug 2018 15:41:07 -0000

--_000_0fcd4458ea874fd39f384d847353970eXCHRTP013ciscocom_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64

RnJvbTogQW5keSBCaWVybWFuLCBKdWx5IDMxLCAyMDE4IDQ6MzIgUE0NCg0KT24gVHVlLCBKdWwg
MzEsIDIwMTggYXQgMTI6MzkgUE0sIEVyaWMgVm9pdCAoZXZvaXQpIDxldm9pdEBjaXNjby5jb208
bWFpbHRvOmV2b2l0QGNpc2NvLmNvbT4+IHdyb3RlOg0KPiBGcm9tOiBKdWVyZ2VuIFNjaG9lbndh
ZWxkZXIsIEp1bHkgMzEsIDIwMTggMTo0OCBQTQ0KPg0KPiBPbiBNb24sIEp1bCAzMCwgMjAxOCBh
dCAwODo0MTo0MlBNICswMjAwLCBNYXJ0aW4gQmpvcmtsdW5kIHdyb3RlOg0KPiA+DQo+ID4gVGhl
IGVtcHR5IG1hbmRhdG9yeSBjaG9pY2UgZG9lcyBwcm92aWRlIHZhbHVlIHNpbmNlIGl0IHJlcXVp
cmVzIHRoYXQNCj4gPiBzb21lIHRyYW5zcG9ydC1zcGVjaWZpYyBwYXJhbWV0ZXJzIGFyZSBjb25m
aWd1cmVkLiAgSG93ZXZlciwgY2FuIHdlDQo+ID4gYXNzdW1lIHRoYXQgYWxsIHRyYW5zcG9ydHMg
cmVxdWlyZSBjb25maWd1cmF0aW9uIHBhcmFtZXRlcnMgaGVyZT8NCj4NCj4gQ2FuIHlvdSBoYXZl
IGEgcmVjZWl2ZXIgd2l0aG91dCBhbnkgdHJhbnNwb3J0IHBhcmFtZXRlcnM/DQo+DQo+ID4g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ZSBjbGllbnQgd2hpY2ggbmVlZCB0byBpbml0aWF0ZSB0
aGUgTkVUQ09ORiB0cmFuc3BvcnQgaWYNCiAgICAgICAgYW4gZXhpc3RpbmcgTkVUQ09ORiBzZXNz
aW9uIGZyb20gdGhhdCBjbGllbnQgaXMgbm90IGF2YWlsYWJsZS4iOw0KICAgIH0NCiAgfQ0KfQ0K
DQpXaGljaCByZXN1bHRzIGluOg0KICArLS1ydyBzdWJzY3JpcHRpb25zDQogICAgICstLXJ3IHN1
YnNjcmlwdGlvbioNCiAgICAgICAgKy0tcncgdHJhbnNwb3J0ICAgICAgICAgdHJhbnNwb3J0ICB7
Y29uZmlndXJlZH0/DQogICAgICAgICstLXJ3IHJlY2VpdmVycw0KICAgICAgICAgICArLS1ydyBy
ZWNlaXZlcioNCiAgICAgICAgICAgICAgKy0tcncgbnNuOm5ldGNvbmYtZW5kcG9pbnQgICAgbGVh
ZnJlZg0KDQpFcmljDQoNCg0KPiAvanMNCj4NCj4gLS0NCj4gSnVlcmdlbiBTY2hvZW53YWVsZGVy
ICAgICAgICAgICBKYWNvYnMgVW5pdmVyc2l0eSBCcmVtZW4gZ0dtYkgNCj4gUGhvbmU6ICs0OSA0
MjEgMjAwIDM1ODcgICAgICAgICBDYW1wdXMgUmluZyAxIHwgMjg3NTkgQnJlbWVuIHwgR2VybWFu
eQ0KPiBGYXg6ICAgKzQ5IDQyMSAyMDAgMzEwMyAgICAgICAgIDxodHRwczovL3d3dy5qYWNvYnMt
dW5pdmVyc2l0eS5kZS8+DQoNCg==

--_000_0fcd4458ea874fd39f384d847353970eXCHRTP013ciscocom_
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: base64

PGh0bWwgeG1sbnM6dj0idXJuOnNjaGVtYXMtbWljcm9zb2Z0LWNvbTp2bWwiIHhtbG5zOm89InVy
bjpzY2hlbWFzLW1pY3Jvc29mdC1jb206b2ZmaWNlOm9mZmljZSIgeG1sbnM6dz0idXJuOnNjaGVt
YXMtbWljcm9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amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EC87E130E44; Wed,  1 Aug 2018 09:01:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.509
X-Spam-Level: 
X-Spam-Status: No, score=-14.509 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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, T_DKIMWL_WL_HIGH=-0.01, URIBL_BLOCKED=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 zr3SklOcJPEA; Wed,  1 Aug 2018 09:01:42 -0700 (PDT)
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 CF979130E2E; Wed,  1 Aug 2018 09:01:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=15436; q=dns/txt; s=iport; t=1533139302; x=1534348902; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to; bh=5T/5MYJj3E7nE+R41tBel8fthXnWcJsc+GN1wnUqsKo=; b=TTBo5gGw5tWoIAx80AcSRc819gXrFHuPfUrAuTzC0RuibDhscqS3gDcU kk5SbZiRyWwlL4t8AclqT1RntVcQbLxqHpV3zcSur3wasNF3Nr5hvw5lc SB7Ujhl4RY/hclwmcalCRJqLN+5wFbsmiRDK4cDZGLRjymdGKCSOSK4AN Q=;
X-IronPort-AV: E=Sophos;i="5.51,432,1526342400"; d="scan'208,217";a="5501195"
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; 01 Aug 2018 16:01:40 +0000
Received: from [10.63.23.106] (dhcp-ensft1-uk-vla370-10-63-23-106.cisco.com [10.63.23.106]) by aer-core-2.cisco.com (8.15.2/8.15.2) with ESMTP id w71G1dFT008733; Wed, 1 Aug 2018 16:01:40 GMT
To: Andy Bierman <andy@yumaworks.com>, "Eric Voit (evoit)" <evoit@cisco.com>
Cc: "yang-doctors@ietf.org" <yang-doctors@ietf.org>, "netconf@ietf.org" <netconf@ietf.org>
References: <727ae35abd394a85812168615acce2d3@XCH-RTP-013.cisco.com> <20180729.175356.1841285666617255654.mbj@tail-f.com> <77080682bf90495caec48436453e4750@XCH-RTP-013.cisco.com> <20180730.204142.1505732335534077415.mbj@tail-f.com> <20180731174827.n5r2jebon45s2cxy@anna.jacobs.jacobs-university.de> <b8dc903dc04a46088bcca106ac45c4fc@XCH-RTP-013.cisco.com> <CABCOCHQPYyWgXS8Y_n5PN-AEQ5myQXX5s0KvkjQnfAh4VOMbrA@mail.gmail.com>
From: Robert Wilton <rwilton@cisco.com>
Message-ID: <05ee68cd-ccc0-6803-6c71-b3952ee5608d@cisco.com>
Date: Wed, 1 Aug 2018 17:01:39 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
MIME-Version: 1.0
In-Reply-To: <CABCOCHQPYyWgXS8Y_n5PN-AEQ5myQXX5s0KvkjQnfAh4VOMbrA@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------C7247EADB1E0C867CE1A1D37"
Content-Language: en-US
X-Outbound-SMTP-Client: 10.63.23.106, dhcp-ensft1-uk-vla370-10-63-23-106.cisco.com
X-Outbound-Node: aer-core-2.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/zoI0mQHTPOOrx_fZsBd6kvaanD8>
Subject: Re: [yang-doctors] YANG Doctor question: empty mandatory choice?
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: Email list of the yang-doctors directorate  <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 01 Aug 2018 16:01:45 -0000

This is a multi-part message in MIME format.
--------------C7247EADB1E0C867CE1A1D37
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit



On 31/07/2018 21:31, Andy Bierman wrote:
>
>
> On Tue, Jul 31, 2018 at 12:39 PM, Eric Voit (evoit) <evoit@cisco.com 
> <mailto:evoit@cisco.com>> wrote:
>
>     > From: Juergen Schoenwaelder, July 31, 2018 1:48 PM
>     >
>     > On Mon, Jul 30, 2018 at 08:41:42PM +0200, Martin Bjorklund wrote:
>     > >
>     > > The empty mandatory choice does provide value since it
>     requires that
>     > > some transport-specific parameters are configured.  However,
>     can we
>     > > assume that all transports require configuration parameters here?
>     >
>     > Can you have a receiver without any transport parameters?
>     >
>     > > It is probably safest to not have a mandatory choice, and instead
>     > > ensure that each transport augements the proper params -- and
>     since
>     > > this is YANG 1.1, the transport params that are augmented can
>     actually
>     > > be marked as mandatory.
>     >
>     > Frankly, an empty mandatory choice quite clearly says "this is
>     incomplete and
>     > unusable without an augmentation".
>
>     My read above is the YANG doctor's position is that we should
>     *not* use the empty mandatory choice.  Let me know if I got this
>     wrong.
>
>
> I do not think a consensus call has been done yet, but I agree with 
> Juergen
> and already raised the point that YANG conformance does not handle a
> "MUST augment" use-case very well.
I think that "empty choice + mandatory true" it is OK from a conformance 
perspective.  The concept seems similar to an programmatic interface, 
abstract class, or even the abstract identity idea that has been 
proposed for YANG.  If a server implements the module but no augments of 
the choice then it cannot be configured because the constraint will 
always fail.  Andy, is your concern that tooling will warn that part of 
the model is unusable?

I have to say that much prefer the option of putting "mandatory: true" 
in the choice than "MUST provide an implementation" in the description 
because the former is machine readable whilst the latter is not.

However, I would also be fine not to have the "mandatory: true", but 
with the choice description to state something along the lines that the 
empty choice is to allow for augmentations of different transports, and 
configured subscriptions may not be usable unless at least one transport 
case statement is available."  But perhaps some implementation will 
provide the flexibility of defining a single transport for all 
subscriptions (if this is feasible).

One other observation that could affect the decision here is that YANG 
allows "mandatory: true" to be removed in a future revision in a 
backwards compatible way, but doesn't allow it to be added.

Thanks,
Rob


>
> I prefer the MUST be in the description-stmt for the choice,
> instead of "mandatory true". (I prefer SHOULD but if the WG wants MUST)
>
>
> Andy
>
>
>
>     That would mean that each transport document supporting configured
>     subscriptions would then augment transport specific parameters to
>     "/subscriptions/subscription/receivers/receiver".  And (assuming
>     the "single transport" decision of IETF100 isn't changed), that
>     the identity "transport" could be leveraged to enforce that only a
>     single transport specific set of credentials are associated with a
>     receiver.
>
>     A sample YANG augmentation for NETCONF would then look like:
>
>     module ietf-netconf-subscribed-notifications {
>
>       prefix nsn;
>
>       import ietf-netconf-client { prefix ncc; }
>       import ietf-subscribed-notifications { prefix sn; }
>
>       identity netconf {
>         base sn:transport;
>         base sn:inline-address;
>         description
>           "NETCONF is used as a transport for notification messages and
>            state change notifications.";
>       }
>
>       augment
>     "/sn:subscriptions/sn:subscription/sn:receivers/sn:receiver" {
>        when 'derived-from(../../../transport, "nsn:netconf")';
>        description
>           "This augmentation allows NETCONF specific parameters to be
>           exposed for a receiver.";
>         leaf netconf-endpoint {
>           type leafref {
>             path "/ncc:netconf-client/ncc:initiate/ncc:netconf-server" +
>                     "/ncc:endpoints/ncc:endpoint/ncc:name";
>           }
>           mandatory true;
>           description
>             "Remote client which need to initiate the NETCONF
>     transport if
>             an existing NETCONF session from that client is not
>     available.";
>         }
>       }
>     }
>
>     Which results in:
>       +--rw subscriptions
>          +--rw subscription*
>             +--rw transport         transport  {configured}?
>             +--rw receivers
>                +--rw receiver*
>                   +--rw nsn:netconf-endpoint    leafref
>
>     Eric
>
>
>     > /js
>     > 
>     > --
>     > Juergen Schoenwaelder           Jacobs University Bremen gGmbH
>     > Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen |
>     Germany
>     > Fax:   +49 421 200 3103       
>      <https://www.jacobs-university.de/
>     <https://www.jacobs-university.de/>>
>
>
>
>
> _______________________________________________
> yang-doctors mailing list
> yang-doctors@ietf.org
> https://www.ietf.org/mailman/listinfo/yang-doctors


--------------C7247EADB1E0C867CE1A1D37
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 31/07/2018 21:31, Andy Bierman
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CABCOCHQPYyWgXS8Y_n5PN-AEQ5myQXX5s0KvkjQnfAh4VOMbrA@mail.gmail.com">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <div dir="ltr"><br>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Tue, Jul 31, 2018 at 12:39 PM,
            Eric Voit (evoit) <span dir="ltr">&lt;<a
                href="mailto:evoit@cisco.com" target="_blank"
                moz-do-not-send="true">evoit@cisco.com</a>&gt;</span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">&gt;
              From: Juergen Schoenwaelder, July 31, 2018 1:48 PM<br>
              &gt; <br>
              &gt; On Mon, Jul 30, 2018 at 08:41:42PM +0200, Martin
              Bjorklund wrote:<br>
              &gt; &gt;<br>
              &gt; &gt; The empty mandatory choice does provide value
              since it requires that<br>
              &gt; &gt; some transport-specific parameters are
              configured.  However, can we<br>
              &gt; &gt; assume that all transports require configuration
              parameters here?<br>
              &gt; <br>
              &gt; Can you have a receiver without any transport
              parameters?<br>
              &gt; <br>
              &gt; &gt; It is probably safest to not have a mandatory
              choice, and instead<br>
              &gt; &gt; ensure that each transport augements the proper
              params -- and since<br>
              &gt; &gt; this is YANG 1.1, the transport params that are
              augmented can actually<br>
              &gt; &gt; be marked as mandatory.<br>
              &gt; <br>
              &gt; Frankly, an empty mandatory choice quite clearly says
              "this is incomplete and<br>
              &gt; unusable without an augmentation".<br>
              <br>
              My read above is the YANG doctor's position is that we
              should *not* use the empty mandatory choice.  Let me know
              if I got this wrong.<br>
              <br>
            </blockquote>
            <div><br>
            </div>
            <div>I do not think a consensus call has been done yet, but
              I agree with Juergen</div>
            <div>and already raised the point that YANG conformance does
              not handle a</div>
            <div>"MUST augment" use-case very well.</div>
          </div>
        </div>
      </div>
    </blockquote>
    I think that "empty choice + mandatory true" it is OK from a
    conformance perspective.  The concept seems similar to an
    programmatic interface, abstract class, or even the abstract
    identity idea that has been proposed for YANG.  If a server
    implements the module but no augments of the choice then it cannot
    be configured because the constraint will always fail.  Andy, is
    your concern that tooling will warn that part of the model is
    unusable?<br>
    <br>
    I have to say that much prefer the option of putting "mandatory:
    true" in the choice than "MUST provide an implementation" in the
    description because the former is machine readable whilst the latter
    is not. <br>
    <br>
    However, I would also be fine not to have the "mandatory: true", but
    with the choice description to state something along the lines that
    the empty choice is to allow for augmentations of different
    transports, and configured subscriptions may not be usable unless at
    least one transport case statement is available."  But perhaps some
    implementation will provide the flexibility of defining a single
    transport for all subscriptions (if this is feasible).<br>
    <br>
    One other observation that could affect the decision here is that
    YANG allows "mandatory: true" to be removed in a future revision in
    a backwards compatible way, but doesn't allow it to be added.<br>
    <br>
    Thanks,<br>
    Rob<br>
    <br>
    <br>
    <blockquote type="cite"
cite="mid:CABCOCHQPYyWgXS8Y_n5PN-AEQ5myQXX5s0KvkjQnfAh4VOMbrA@mail.gmail.com">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <div><br>
            </div>
            <div>I prefer the MUST be in the description-stmt for the
              choice,</div>
            <div>instead of "mandatory true". (I prefer SHOULD but if
              the WG wants MUST)</div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div>Andy</div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div> </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              That would mean that each transport document supporting
              configured subscriptions would then augment transport
              specific parameters to "/subscriptions/subscription/<wbr>receivers/receiver". 
               And (assuming the "single transport" decision of IETF100
              isn't changed), that the identity "transport" could be
              leveraged to enforce that only a single transport specific
              set of credentials are associated with a receiver.   <br>
              <br>
              A sample YANG augmentation for NETCONF would then look
              like:<br>
              <br>
              module ietf-netconf-subscribed-<wbr>notifications {<br>
              <br>
                prefix nsn;<br>
              <br>
                import ietf-netconf-client { prefix ncc; }<br>
                import ietf-subscribed-notifications { prefix sn; }<br>
              <br>
                identity netconf {<br>
                  base sn:transport;<br>
                  base sn:inline-address;<br>
                  description<br>
                    "NETCONF is used as a transport for notification
              messages and<br>
                     state change notifications.";<br>
                }<br>
              <br>
                augment "/sn:subscriptions/sn:<wbr>subscription/sn:receivers/sn:<wbr>receiver"
              {<br>
                 when 'derived-from(../../../<wbr>transport,
              "nsn:netconf")';   <br>
                 description<br>
                    "This augmentation allows NETCONF specific
              parameters to be <br>
                    exposed for a receiver.";<br>
                  leaf netconf-endpoint {<br>
                    type leafref {<br>
                      path "/ncc:netconf-client/ncc:<wbr>initiate/ncc:netconf-server"
              + <br>
                              "/ncc:endpoints/ncc:endpoint/<wbr>ncc:name";<br>
                    }<br>
                    mandatory true;<br>
                    description<br>
                      "Remote client which need to initiate the NETCONF
              transport if <br>
                      an existing NETCONF session from that client is
              not available.";<br>
                  }<br>
                }  <br>
              }<br>
              <br>
              Which results in:<br>
                +--rw subscriptions<br>
                   +--rw subscription* <br>
                      +--rw transport         transport  {configured}?<br>
                      +--rw receivers<br>
                         +--rw receiver* <br>
                            +--rw nsn:netconf-endpoint    leafref<br>
              <br>
              Eric<br>
              <br>
              <br>
              &gt; /js<br>
              <span class="HOEnZb"><font color="#888888">&gt; <br>
                  &gt; --<br>
                  &gt; Juergen Schoenwaelder           Jacobs University
                  Bremen gGmbH<br>
                  &gt; Phone: +49 421 200 3587         Campus Ring 1 |
                  28759 Bremen | Germany<br>
                  &gt; Fax:   +49 421 200 3103         &lt;<a
                    href="https://www.jacobs-university.de/"
                    rel="noreferrer" target="_blank"
                    moz-do-not-send="true">https://www.jacobs-<wbr>university.de/</a>&gt;<br>
                </font></span></blockquote>
          </div>
          <br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
yang-doctors mailing list
<a class="moz-txt-link-abbreviated" href="mailto:yang-doctors@ietf.org">yang-doctors@ietf.org</a>
<a class="moz-txt-link-freetext" href="https://www.ietf.org/mailman/listinfo/yang-doctors">https://www.ietf.org/mailman/listinfo/yang-doctors</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>

--------------C7247EADB1E0C867CE1A1D37--


From nobody Wed Aug  1 09:09:50 2018
Return-Path: <andy@yumaworks.com>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DC694130E2E for <yang-doctors@ietfa.amsl.com>; Wed,  1 Aug 2018 09:09:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.909
X-Spam-Level: 
X-Spam-Status: No, score=-1.909 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, T_DKIMWL_WL_MED=-0.01, URIBL_BLOCKED=0.001] autolearn=unavailable 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 FAQeag_jbN_U for <yang-doctors@ietfa.amsl.com>; Wed,  1 Aug 2018 09:09:39 -0700 (PDT)
Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) (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 EDA5613109B for <yang-doctors@ietf.org>; Wed,  1 Aug 2018 09:09:38 -0700 (PDT)
Received: by mail-lf1-x135.google.com with SMTP id g6-v6so13685027lfb.11 for <yang-doctors@ietf.org>; Wed, 01 Aug 2018 09:09:38 -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=YAbcCIBUfFKC6cusfI2/OfEEmBYAcThOdPmNvq78E9c=; b=XZe9dCgGUsWi3vB/LH6bYtRtdHCB5/nx/2S4+6BSbqv3MmampJBzFEZReivzGKN5mU rgaShdhm6w06io0AaxuWuozkUkITA32h8629wAuibegEf8IXilRP8M2I0NrX6jQLRgIv mtYOGGXeF2yrCEdeAEODHZD+rnVMLeylEVnsI/cZVFpoy6PZHIBj79xcIRp9mFb610Lf vzCL1rK0JBqqxaJ1BFqFmLAVmF5aNriNGPS40DlzQab76CZb7aNAvPXrBdnH5FFIsSVc Xc8agKHoKIbRhI9ZKuNhI04AoiaXv/fa4fuvSdlXFYb5xAx63Kw2goGQ/0jMXXiJN1Cw LKqA==
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=YAbcCIBUfFKC6cusfI2/OfEEmBYAcThOdPmNvq78E9c=; b=ILq5hRko5AWihy1rS4umXxKxpyGCyNLInT138hWXsNE/pfqHtLFTbG4WteCOwX/PPO 1/bpKQlg1HXCtRxvoh0GuQUa/x2AILfV8eUbadLxt7wvC4SFlk1gnfS3bF90NH2Q9xca dM1B/Hr313qZjCfD1DqHII60TmGrvFUxXia31k8wVv+NC+NQomWqm/mHMRFz8XfzICk3 xk9ZYgI3UBhenp3sN4CfdG7UmXe+bxL20Pc7WizOm+uzOVaS0oBQ9Oen5J9467ib2y/4 RUAno8L9WoNblr08jEtkUJPjVFpizLbtJiGNYudSF0aIevJlIYcbeHKXGqrRUVijg1pm TbRQ==
X-Gm-Message-State: AOUpUlEsvMi7JlKhma83bjKBO/wTo+i0dF6wlRgxZ79sS4t6qUNw7NQq BEOjMPxwpe1V97W4RAZMI6gNcMzEo3dyr865QMaNjw==
X-Google-Smtp-Source: AAOMgpfda2QPz/XiroxWwZRigAp/dmI0/I6KvAyuORt1Qjyme+t+yQe62IHYw/2bUaQqsLDZDrQKAxFX35/JgmFy1/A=
X-Received: by 2002:a19:b598:: with SMTP id g24-v6mr16687478lfk.129.1533139777093;  Wed, 01 Aug 2018 09:09:37 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:a19:aa46:0:0:0:0:0 with HTTP; Wed, 1 Aug 2018 09:09:35 -0700 (PDT)
In-Reply-To: <05ee68cd-ccc0-6803-6c71-b3952ee5608d@cisco.com>
References: <727ae35abd394a85812168615acce2d3@XCH-RTP-013.cisco.com> <20180729.175356.1841285666617255654.mbj@tail-f.com> <77080682bf90495caec48436453e4750@XCH-RTP-013.cisco.com> <20180730.204142.1505732335534077415.mbj@tail-f.com> <20180731174827.n5r2jebon45s2cxy@anna.jacobs.jacobs-university.de> <b8dc903dc04a46088bcca106ac45c4fc@XCH-RTP-013.cisco.com> <CABCOCHQPYyWgXS8Y_n5PN-AEQ5myQXX5s0KvkjQnfAh4VOMbrA@mail.gmail.com> <05ee68cd-ccc0-6803-6c71-b3952ee5608d@cisco.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Wed, 1 Aug 2018 09:09:35 -0700
Message-ID: <CABCOCHRtg9jB0=b5bPPT3MS0QJcwgAY24Fg0RewXhPMR8Y+O0w@mail.gmail.com>
To: Robert Wilton <rwilton@cisco.com>
Cc: "Eric Voit (evoit)" <evoit@cisco.com>, "yang-doctors@ietf.org" <yang-doctors@ietf.org>,  "netconf@ietf.org" <netconf@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000ce1dfb057261ebc7"
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/cILFKeMdI-aw6u65QF-Brb5AFBo>
Subject: Re: [yang-doctors] YANG Doctor question: empty mandatory choice?
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: Email list of the yang-doctors directorate  <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 01 Aug 2018 16:09:43 -0000

--000000000000ce1dfb057261ebc7
Content-Type: text/plain; charset="UTF-8"

On Wed, Aug 1, 2018 at 9:01 AM, Robert Wilton <rwilton@cisco.com> wrote:

>
>
> On 31/07/2018 21:31, Andy Bierman wrote:
>
>
>
> On Tue, Jul 31, 2018 at 12:39 PM, Eric Voit (evoit) <evoit@cisco.com>
> wrote:
>
>> > From: Juergen Schoenwaelder, July 31, 2018 1:48 PM
>> >
>> > On Mon, Jul 30, 2018 at 08:41:42PM +0200, Martin Bjorklund wrote:
>> > >
>> > > The empty mandatory choice does provide value since it requires that
>> > > some transport-specific parameters are configured.  However, can we
>> > > assume that all transports require configuration parameters here?
>> >
>> > Can you have a receiver without any transport parameters?
>> >
>> > > It is probably safest to not have a mandatory choice, and instead
>> > > ensure that each transport augements the proper params -- and since
>> > > this is YANG 1.1, the transport params that are augmented can actually
>> > > be marked as mandatory.
>> >
>> > Frankly, an empty mandatory choice quite clearly says "this is
>> incomplete and
>> > unusable without an augmentation".
>>
>> My read above is the YANG doctor's position is that we should *not* use
>> the empty mandatory choice.  Let me know if I got this wrong.
>>
>>
> I do not think a consensus call has been done yet, but I agree with Juergen
> and already raised the point that YANG conformance does not handle a
> "MUST augment" use-case very well.
>
> I think that "empty choice + mandatory true" it is OK from a conformance
> perspective.  The concept seems similar to an programmatic interface,
> abstract class, or even the abstract identity idea that has been proposed
> for YANG.  If a server implements the module but no augments of the choice
> then it cannot be configured because the constraint will always fail.
> Andy, is your concern that tooling will warn that part of the model is
> unusable?
>

That is possible.
I agree with Juergen that a mandatory empty choice clearly indicates that
the module is incomplete
and unusable on its own.  Is that a feature?

Andy


>
> I have to say that much prefer the option of putting "mandatory: true" in
> the choice than "MUST provide an implementation" in the description because
> the former is machine readable whilst the latter is not.
>
> However, I would also be fine not to have the "mandatory: true", but with
> the choice description to state something along the lines that the empty
> choice is to allow for augmentations of different transports, and
> configured subscriptions may not be usable unless at least one transport
> case statement is available."  But perhaps some implementation will provide
> the flexibility of defining a single transport for all subscriptions (if
> this is feasible).
>
> One other observation that could affect the decision here is that YANG
> allows "mandatory: true" to be removed in a future revision in a backwards
> compatible way, but doesn't allow it to be added.
>
> Thanks,
> Rob
>
>
>
> I prefer the MUST be in the description-stmt for the choice,
> instead of "mandatory true". (I prefer SHOULD but if the WG wants MUST)
>
>
> Andy
>
>
>
>
>
>> That would mean that each transport document supporting configured
>> subscriptions would then augment transport specific parameters to
>> "/subscriptions/subscription/receivers/receiver".   And (assuming the
>> "single transport" decision of IETF100 isn't changed), that the identity
>> "transport" could be leveraged to enforce that only a single transport
>> specific set of credentials are associated with a receiver.
>>
>> A sample YANG augmentation for NETCONF would then look like:
>>
>> module ietf-netconf-subscribed-notifications {
>>
>>   prefix nsn;
>>
>>   import ietf-netconf-client { prefix ncc; }
>>   import ietf-subscribed-notifications { prefix sn; }
>>
>>   identity netconf {
>>     base sn:transport;
>>     base sn:inline-address;
>>     description
>>       "NETCONF is used as a transport for notification messages and
>>        state change notifications.";
>>   }
>>
>>   augment "/sn:subscriptions/sn:subscription/sn:receivers/sn:receiver" {
>>    when 'derived-from(../../../transport, "nsn:netconf")';
>>    description
>>       "This augmentation allows NETCONF specific parameters to be
>>       exposed for a receiver.";
>>     leaf netconf-endpoint {
>>       type leafref {
>>         path "/ncc:netconf-client/ncc:initiate/ncc:netconf-server" +
>>                 "/ncc:endpoints/ncc:endpoint/ncc:name";
>>       }
>>       mandatory true;
>>       description
>>         "Remote client which need to initiate the NETCONF transport if
>>         an existing NETCONF session from that client is not available.";
>>     }
>>   }
>> }
>>
>> Which results in:
>>   +--rw subscriptions
>>      +--rw subscription*
>>         +--rw transport         transport  {configured}?
>>         +--rw receivers
>>            +--rw receiver*
>>               +--rw nsn:netconf-endpoint    leafref
>>
>> Eric
>>
>>
>> > /js
>> >
>> > --
>> > Juergen Schoenwaelder           Jacobs University Bremen gGmbH
>> > Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
>> > Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>
>>
>
>
>
> _______________________________________________
> yang-doctors mailing listyang-doctors@ietf.orghttps://www.ietf.org/mailman/listinfo/yang-doctors
>
>
>

--000000000000ce1dfb057261ebc7
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Wed, Aug 1, 2018 at 9:01 AM, Robert Wilton <span dir=3D"ltr">&lt;<a =
href=3D"mailto:rwilton@cisco.com" target=3D"_blank">rwilton@cisco.com</a>&g=
t;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0=
 .8ex;border-left:1px #ccc solid;padding-left:1ex">
 =20
   =20
 =20
  <div text=3D"#000000" bgcolor=3D"#FFFFFF">
    <p><br>
    </p>
    <br>
    <div class=3D"m_992716397197609027moz-cite-prefix">On 31/07/2018 21:31,=
 Andy Bierman
      wrote:<br>
    </div>
    <blockquote type=3D"cite">
     =20
      <div dir=3D"ltr"><br>
        <div class=3D"gmail_extra"><br>
          <div class=3D"gmail_quote">On Tue, Jul 31, 2018 at 12:39 PM,
            Eric Voit (evoit) <span dir=3D"ltr">&lt;<a href=3D"mailto:evoit=
@cisco.com" target=3D"_blank">evoit@cisco.com</a>&gt;</span>
            wrote:<br>
            <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo=
rder-left:1px #ccc solid;padding-left:1ex">&gt;
              From: Juergen Schoenwaelder, July 31, 2018 1:48 PM<br>
              &gt; <br>
              &gt; On Mon, Jul 30, 2018 at 08:41:42PM +0200, Martin
              Bjorklund wrote:<br>
              &gt; &gt;<br>
              &gt; &gt; The empty mandatory choice does provide value
              since it requires that<br>
              &gt; &gt; some transport-specific parameters are
              configured.=C2=A0 However, can we<br>
              &gt; &gt; assume that all transports require configuration
              parameters here?<br>
              &gt; <br>
              &gt; Can you have a receiver without any transport
              parameters?<br>
              &gt; <br>
              &gt; &gt; It is probably safest to not have a mandatory
              choice, and instead<br>
              &gt; &gt; ensure that each transport augements the proper
              params -- and since<br>
              &gt; &gt; this is YANG 1.1, the transport params that are
              augmented can actually<br>
              &gt; &gt; be marked as mandatory.<br>
              &gt; <br>
              &gt; Frankly, an empty mandatory choice quite clearly says
              &quot;this is incomplete and<br>
              &gt; unusable without an augmentation&quot;.<br>
              <br>
              My read above is the YANG doctor&#39;s position is that we
              should *not* use the empty mandatory choice.=C2=A0 Let me kno=
w
              if I got this wrong.<br>
              <br>
            </blockquote>
            <div><br>
            </div>
            <div>I do not think a consensus call has been done yet, but
              I agree with Juergen</div>
            <div>and already raised the point that YANG conformance does
              not handle a</div>
            <div>&quot;MUST augment&quot; use-case very well.</div>
          </div>
        </div>
      </div>
    </blockquote>
    I think that &quot;empty choice + mandatory true&quot; it is OK from a
    conformance perspective.=C2=A0 The concept seems similar to an
    programmatic interface, abstract class, or even the abstract
    identity idea that has been proposed for YANG.=C2=A0 If a server
    implements the module but no augments of the choice then it cannot
    be configured because the constraint will always fail.=C2=A0 Andy, is
    your concern that tooling will warn that part of the model is
    unusable?<br></div></blockquote><div><br></div><div>That is possible.</=
div><div>I agree with Juergen that a mandatory empty choice clearly indicat=
es that the module is incomplete</div><div>and unusable on its own.=C2=A0 I=
s that a feature? =C2=A0</div><div><br></div><div>Andy</div><div>=C2=A0</di=
v><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:=
1px #ccc solid;padding-left:1ex"><div text=3D"#000000" bgcolor=3D"#FFFFFF">
    <br>
    I have to say that much prefer the option of putting &quot;mandatory:
    true&quot; in the choice than &quot;MUST provide an implementation&quot=
; in the
    description because the former is machine readable whilst the latter
    is not. <br>
    <br>
    However, I would also be fine not to have the &quot;mandatory: true&quo=
t;, but
    with the choice description to state something along the lines that
    the empty choice is to allow for augmentations of different
    transports, and configured subscriptions may not be usable unless at
    least one transport case statement is available.&quot;=C2=A0 But perhap=
s some
    implementation will provide the flexibility of defining a single
    transport for all subscriptions (if this is feasible).<br>
    <br>
    One other observation that could affect the decision here is that
    YANG allows &quot;mandatory: true&quot; to be removed in a future revis=
ion in
    a backwards compatible way, but doesn&#39;t allow it to be added.<br>
    <br>
    Thanks,<br>
    Rob<br>
    <br>
    <br>
    <blockquote type=3D"cite">
      <div dir=3D"ltr">
        <div class=3D"gmail_extra">
          <div class=3D"gmail_quote">
            <div><br>
            </div>
            <div>I prefer the MUST be in the description-stmt for the
              choice,</div>
            <div>instead of &quot;mandatory true&quot;. (I prefer SHOULD bu=
t if
              the WG wants MUST)</div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div>Andy</div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div>=C2=A0</div>
            <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo=
rder-left:1px #ccc solid;padding-left:1ex">
              That would mean that each transport document supporting
              configured subscriptions would then augment transport
              specific parameters to &quot;/subscriptions/subscription/r<wb=
r>eceivers/receiver&quot;.=C2=A0
              =C2=A0And (assuming the &quot;single transport&quot; decision=
 of IETF100
              isn&#39;t changed), that the identity &quot;transport&quot; c=
ould be
              leveraged to enforce that only a single transport specific
              set of credentials are associated with a receiver.=C2=A0 =C2=
=A0<br>
              <br>
              A sample YANG augmentation for NETCONF would then look
              like:<br>
              <br>
              module ietf-netconf-subscribed-notifi<wbr>cations {<br>
              <br>
              =C2=A0 prefix nsn;<br>
              <br>
              =C2=A0 import ietf-netconf-client { prefix ncc; }<br>
              =C2=A0 import ietf-subscribed-notifications { prefix sn; }<br=
>
              <br>
              =C2=A0 identity netconf {<br>
              =C2=A0 =C2=A0 base sn:transport;<br>
              =C2=A0 =C2=A0 base sn:inline-address;<br>
              =C2=A0 =C2=A0 description<br>
              =C2=A0 =C2=A0 =C2=A0 &quot;NETCONF is used as a transport for=
 notification
              messages and<br>
              =C2=A0 =C2=A0 =C2=A0 =C2=A0state change notifications.&quot;;=
<br>
              =C2=A0 }<br>
              <br>
              =C2=A0 augment &quot;/sn:subscriptions/sn:subscrip<wbr>tion/s=
n:receivers/sn:receiver&quot;
              {<br>
              =C2=A0 =C2=A0when &#39;derived-from(../../../transpo<wbr>rt,
              &quot;nsn:netconf&quot;)&#39;;=C2=A0 =C2=A0<br>
              =C2=A0 =C2=A0description<br>
              =C2=A0 =C2=A0 =C2=A0 &quot;This augmentation allows NETCONF s=
pecific
              parameters to be <br>
              =C2=A0 =C2=A0 =C2=A0 exposed for a receiver.&quot;;<br>
              =C2=A0 =C2=A0 leaf netconf-endpoint {<br>
              =C2=A0 =C2=A0 =C2=A0 type leafref {<br>
              =C2=A0 =C2=A0 =C2=A0 =C2=A0 path &quot;/ncc:netconf-client/nc=
c:initi<wbr>ate/ncc:netconf-server&quot;
              + <br>
              =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 &quot=
;/ncc:endpoints/ncc:endpoint/n<wbr>cc:name&quot;;<br>
              =C2=A0 =C2=A0 =C2=A0 }<br>
              =C2=A0 =C2=A0 =C2=A0 mandatory true;<br>
              =C2=A0 =C2=A0 =C2=A0 description<br>
              =C2=A0 =C2=A0 =C2=A0 =C2=A0 &quot;Remote client which need to=
 initiate the NETCONF
              transport if <br>
              =C2=A0 =C2=A0 =C2=A0 =C2=A0 an existing NETCONF session from =
that client is
              not available.&quot;;<br>
              =C2=A0 =C2=A0 }<br>
              =C2=A0 }=C2=A0 <br>
              }<br>
              <br>
              Which results in:<br>
              =C2=A0 +--rw subscriptions<br>
              =C2=A0 =C2=A0 =C2=A0+--rw subscription* <br>
              =C2=A0 =C2=A0 =C2=A0 =C2=A0 +--rw transport=C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0transport=C2=A0 {configured}?<br>
              =C2=A0 =C2=A0 =C2=A0 =C2=A0 +--rw receivers<br>
              =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0+--rw receiver* <br>
              =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 +--rw nsn:ne=
tconf-endpoint=C2=A0 =C2=A0 leafref<br>
              <br>
              Eric<br>
              <br>
              <br>
              &gt; /js<br>
              <span class=3D"m_992716397197609027HOEnZb"><font color=3D"#88=
8888">&gt; <br>
                  &gt; --<br>
                  &gt; Juergen Schoenwaelder=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0Jacobs University
                  Bremen gGmbH<br>
                  &gt; Phone: +49 421 200 3587=C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0Campus Ring 1 |
                  28759 Bremen | Germany<br>
                  &gt; Fax:=C2=A0 =C2=A0+49 421 200 3103=C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0&lt;<a href=3D"https://www.jacobs-university.de/" rel=3D"n=
oreferrer" target=3D"_blank">https://www.jacobs-universit<wbr>y.de/</a>&gt;=
<br>
                </font></span></blockquote>
          </div>
          <br>
        </div>
      </div>
      <br>
      <fieldset class=3D"m_992716397197609027mimeAttachmentHeader"></fields=
et>
      <br>
      <pre>______________________________<wbr>_________________
yang-doctors mailing list
<a class=3D"m_992716397197609027moz-txt-link-abbreviated" href=3D"mailto:ya=
ng-doctors@ietf.org" target=3D"_blank">yang-doctors@ietf.org</a>
<a class=3D"m_992716397197609027moz-txt-link-freetext" href=3D"https://www.=
ietf.org/mailman/listinfo/yang-doctors" target=3D"_blank">https://www.ietf.=
org/mailman/<wbr>listinfo/yang-doctors</a>
</pre>
    </blockquote>
    <br>
  </div>

</blockquote></div><br></div></div>

--000000000000ce1dfb057261ebc7--


From nobody Wed Aug  1 09:48:19 2018
Return-Path: <rwilton@cisco.com>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 419FD130E44; Wed,  1 Aug 2018 09:48:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.509
X-Spam-Level: 
X-Spam-Status: No, score=-14.509 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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, T_DKIMWL_WL_MED=-0.01, URIBL_BLOCKED=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 14HOUC7CI7ab; Wed,  1 Aug 2018 09:48:15 -0700 (PDT)
Received: from aer-iport-1.cisco.com (aer-iport-1.cisco.com [173.38.203.51]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 40014130DDF; Wed,  1 Aug 2018 09:48:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=23474; q=dns/txt; s=iport; t=1533142094; x=1534351694; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to; bh=/JIpMCkvfuSwIZYnZeXR1Qxyymielas9RFer5XNg8nE=; b=Ob7dFzsx3z7Z+hM2NSqGKGWeK7EFgNIEcw7KGp2KIouiRy0RDtqPNUw+ Z9GDC5rkbxyBpIlsOrnwDXxxIrgctgjr/LSgg9XUNoEkMPlcLv7yeg65U syIUbGtS/YuwTEJ/2YWE5eZHs9cogDtVAT/PVw2jeU/XNcsb3iIwU+do4 4=;
X-IronPort-AV: E=Sophos;i="5.51,432,1526342400"; d="scan'208,217";a="5560737"
Received: from aer-iport-nat.cisco.com (HELO aer-core-4.cisco.com) ([173.38.203.22]) by aer-iport-1.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Aug 2018 16:48:12 +0000
Received: from [10.63.23.106] (dhcp-ensft1-uk-vla370-10-63-23-106.cisco.com [10.63.23.106]) by aer-core-4.cisco.com (8.15.2/8.15.2) with ESMTP id w71GmC8r021104; Wed, 1 Aug 2018 16:48:12 GMT
To: Andy Bierman <andy@yumaworks.com>, "Eric Voit (evoit)" <evoit@cisco.com>
Cc: "yang-doctors@ietf.org" <yang-doctors@ietf.org>, "netconf@ietf.org" <netconf@ietf.org>
References: <727ae35abd394a85812168615acce2d3@XCH-RTP-013.cisco.com> <20180729.175356.1841285666617255654.mbj@tail-f.com> <77080682bf90495caec48436453e4750@XCH-RTP-013.cisco.com> <20180730.204142.1505732335534077415.mbj@tail-f.com> <20180731174827.n5r2jebon45s2cxy@anna.jacobs.jacobs-university.de> <b8dc903dc04a46088bcca106ac45c4fc@XCH-RTP-013.cisco.com> <CABCOCHQPYyWgXS8Y_n5PN-AEQ5myQXX5s0KvkjQnfAh4VOMbrA@mail.gmail.com> <05ee68cd-ccc0-6803-6c71-b3952ee5608d@cisco.com> <CABCOCHRtg9jB0=b5bPPT3MS0QJcwgAY24Fg0RewXhPMR8Y+O0w@mail.gmail.com>
From: Robert Wilton <rwilton@cisco.com>
Message-ID: <958669b9-c523-3c43-eca4-fbc255fc1bc8@cisco.com>
Date: Wed, 1 Aug 2018 17:48:11 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
MIME-Version: 1.0
In-Reply-To: <CABCOCHRtg9jB0=b5bPPT3MS0QJcwgAY24Fg0RewXhPMR8Y+O0w@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------AC85DD210534FB1BC0C0994F"
Content-Language: en-US
X-Outbound-SMTP-Client: 10.63.23.106, dhcp-ensft1-uk-vla370-10-63-23-106.cisco.com
X-Outbound-Node: aer-core-4.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/evI3UREK-Cm2QceWDD-fcjQJ4b4>
Subject: Re: [yang-doctors] YANG Doctor question: empty mandatory choice?
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: Email list of the yang-doctors directorate  <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 01 Aug 2018 16:48:18 -0000

This is a multi-part message in MIME format.
--------------AC85DD210534FB1BC0C0994F
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit



On 01/08/2018 17:09, Andy Bierman wrote:
>
>
> On Wed, Aug 1, 2018 at 9:01 AM, Robert Wilton <rwilton@cisco.com 
> <mailto:rwilton@cisco.com>> wrote:
>
>
>
>     On 31/07/2018 21:31, Andy Bierman wrote:
>>
>>
>>     On Tue, Jul 31, 2018 at 12:39 PM, Eric Voit (evoit)
>>     <evoit@cisco.com <mailto:evoit@cisco.com>> wrote:
>>
>>         > From: Juergen Schoenwaelder, July 31, 2018 1:48 PM
>>         >
>>         > On Mon, Jul 30, 2018 at 08:41:42PM +0200, Martin Bjorklund
>>         wrote:
>>         > >
>>         > > The empty mandatory choice does provide value since it
>>         requires that
>>         > > some transport-specific parameters are configured. 
>>         However, can we
>>         > > assume that all transports require configuration
>>         parameters here?
>>         >
>>         > Can you have a receiver without any transport parameters?
>>         >
>>         > > It is probably safest to not have a mandatory choice, and
>>         instead
>>         > > ensure that each transport augements the proper params --
>>         and since
>>         > > this is YANG 1.1, the transport params that are augmented
>>         can actually
>>         > > be marked as mandatory.
>>         >
>>         > Frankly, an empty mandatory choice quite clearly says "this
>>         is incomplete and
>>         > unusable without an augmentation".
>>
>>         My read above is the YANG doctor's position is that we should
>>         *not* use the empty mandatory choice.  Let me know if I got
>>         this wrong.
>>
>>
>>     I do not think a consensus call has been done yet, but I agree
>>     with Juergen
>>     and already raised the point that YANG conformance does not handle a
>>     "MUST augment" use-case very well.
>     I think that "empty choice + mandatory true" it is OK from a
>     conformance perspective.  The concept seems similar to an
>     programmatic interface, abstract class, or even the abstract
>     identity idea that has been proposed for YANG.  If a server
>     implements the module but no augments of the choice then it cannot
>     be configured because the constraint will always fail.  Andy, is
>     your concern that tooling will warn that part of the model is
>     unusable?
>
>
> That is possible.
> I agree with Juergen that a mandatory empty choice clearly indicates 
> that the module is incomplete
> and unusable on its own.  Is that a feature?
Yes, making that indication is the whole purpose of adding the 
"mandatory: true" to the empty choice.  Note, that I see that the 
"mandatory true" is there to say that every configured subscription must 
have a transport configured, which if true, doesn't seem unreasonable.  
I.e. my main point is that I don't have an issue with this generic YANG 
design.

In this particular instance, I'm also fine if "mandatory: true" is left 
out, but I don't really agree with writing the equivalent of "mandatory: 
true" in the description, that seems like a poor compromise.

However, this is probably all bike-shedding.  I think that any of the 
discussed solutions is acceptable, as long as it is obvious to the 
readers of the YANG modules that a case statement must be provided for 
it to be useful, and I make the assumption that sane vendors won't 
enable the "configured" feature, if there is no actual way of 
configuring usable subscriptions.

Perhaps Eric can propose his preferred choice, and we can see if anyone 
still objects, otherwise maybe we can move on?

Thanks,
Rob


>
> Andy
>
>
>     I have to say that much prefer the option of putting "mandatory:
>     true" in the choice than "MUST provide an implementation" in the
>     description because the former is machine readable whilst the
>     latter is not.
>
>     However, I would also be fine not to have the "mandatory: true",
>     but with the choice description to state something along the lines
>     that the empty choice is to allow for augmentations of different
>     transports, and configured subscriptions may not be usable unless
>     at least one transport case statement is available."  But perhaps
>     some implementation will provide the flexibility of defining a
>     single transport for all subscriptions (if this is feasible).
>
>     One other observation that could affect the decision here is that
>     YANG allows "mandatory: true" to be removed in a future revision
>     in a backwards compatible way, but doesn't allow it to be added.
>
>     Thanks,
>     Rob
>
>
>>
>>     I prefer the MUST be in the description-stmt for the choice,
>>     instead of "mandatory true". (I prefer SHOULD but if the WG wants
>>     MUST)
>>
>>
>>     Andy
>>
>>
>>
>>         That would mean that each transport document supporting
>>         configured subscriptions would then augment transport
>>         specific parameters to
>>         "/subscriptions/subscription/receivers/receiver".  And
>>         (assuming the "single transport" decision of IETF100 isn't
>>         changed), that the identity "transport" could be leveraged to
>>         enforce that only a single transport specific set of
>>         credentials are associated with a receiver.
>>
>>         A sample YANG augmentation for NETCONF would then look like:
>>
>>         module ietf-netconf-subscribed-notifications {
>>
>>           prefix nsn;
>>
>>           import ietf-netconf-client { prefix ncc; }
>>           import ietf-subscribed-notifications { prefix sn; }
>>
>>           identity netconf {
>>             base sn:transport;
>>             base sn:inline-address;
>>             description
>>               "NETCONF is used as a transport for notification
>>         messages and
>>                state change notifications.";
>>           }
>>
>>           augment
>>         "/sn:subscriptions/sn:subscription/sn:receivers/sn:receiver" {
>>            when 'derived-from(../../../transport, "nsn:netconf")';
>>            description
>>               "This augmentation allows NETCONF specific parameters
>>         to be
>>               exposed for a receiver.";
>>             leaf netconf-endpoint {
>>               type leafref {
>>                 path
>>         "/ncc:netconf-client/ncc:initiate/ncc:netconf-server" +
>>                         "/ncc:endpoints/ncc:endpoint/ncc:name";
>>               }
>>               mandatory true;
>>               description
>>                 "Remote client which need to initiate the NETCONF
>>         transport if
>>                 an existing NETCONF session from that client is not
>>         available.";
>>             }
>>           }
>>         }
>>
>>         Which results in:
>>           +--rw subscriptions
>>              +--rw subscription*
>>                 +--rw transport         transport {configured}?
>>                 +--rw receivers
>>                    +--rw receiver*
>>                       +--rw nsn:netconf-endpoint leafref
>>
>>         Eric
>>
>>
>>         > /js
>>         > 
>>         > --
>>         > Juergen Schoenwaelder  Jacobs University Bremen gGmbH
>>         > Phone: +49 421 200 3587  Campus Ring 1 | 28759 Bremen | Germany
>>         > Fax:   +49 421 200 3103       
>>          <https://www.jacobs-university.de/
>>         <https://www.jacobs-university.de/>>
>>
>>
>>
>>
>>     _______________________________________________
>>     yang-doctors mailing list
>>     yang-doctors@ietf.org <mailto:yang-doctors@ietf.org>
>>     https://www.ietf.org/mailman/listinfo/yang-doctors
>>     <https://www.ietf.org/mailman/listinfo/yang-doctors>
>
>


--------------AC85DD210534FB1BC0C0994F
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 01/08/2018 17:09, Andy Bierman
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CABCOCHRtg9jB0=b5bPPT3MS0QJcwgAY24Fg0RewXhPMR8Y+O0w@mail.gmail.com">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <div dir="ltr"><br>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Wed, Aug 1, 2018 at 9:01 AM,
            Robert Wilton <span dir="ltr">&lt;<a
                href="mailto:rwilton@cisco.com" target="_blank"
                moz-do-not-send="true">rwilton@cisco.com</a>&gt;</span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div text="#000000" bgcolor="#FFFFFF">
                <p><br>
                </p>
                <br>
                <div class="m_992716397197609027moz-cite-prefix">On
                  31/07/2018 21:31, Andy Bierman wrote:<br>
                </div>
                <blockquote type="cite">
                  <div dir="ltr"><br>
                    <div class="gmail_extra"><br>
                      <div class="gmail_quote">On Tue, Jul 31, 2018 at
                        12:39 PM, Eric Voit (evoit) <span dir="ltr">&lt;<a
                            href="mailto:evoit@cisco.com"
                            target="_blank" moz-do-not-send="true">evoit@cisco.com</a>&gt;</span>
                        wrote:<br>
                        <blockquote class="gmail_quote" style="margin:0
                          0 0 .8ex;border-left:1px #ccc
                          solid;padding-left:1ex">&gt; From: Juergen
                          Schoenwaelder, July 31, 2018 1:48 PM<br>
                          &gt; <br>
                          &gt; On Mon, Jul 30, 2018 at 08:41:42PM +0200,
                          Martin Bjorklund wrote:<br>
                          &gt; &gt;<br>
                          &gt; &gt; The empty mandatory choice does
                          provide value since it requires that<br>
                          &gt; &gt; some transport-specific parameters
                          are configured.  However, can we<br>
                          &gt; &gt; assume that all transports require
                          configuration parameters here?<br>
                          &gt; <br>
                          &gt; Can you have a receiver without any
                          transport parameters?<br>
                          &gt; <br>
                          &gt; &gt; It is probably safest to not have a
                          mandatory choice, and instead<br>
                          &gt; &gt; ensure that each transport augements
                          the proper params -- and since<br>
                          &gt; &gt; this is YANG 1.1, the transport
                          params that are augmented can actually<br>
                          &gt; &gt; be marked as mandatory.<br>
                          &gt; <br>
                          &gt; Frankly, an empty mandatory choice quite
                          clearly says "this is incomplete and<br>
                          &gt; unusable without an augmentation".<br>
                          <br>
                          My read above is the YANG doctor's position is
                          that we should *not* use the empty mandatory
                          choice.  Let me know if I got this wrong.<br>
                          <br>
                        </blockquote>
                        <div><br>
                        </div>
                        <div>I do not think a consensus call has been
                          done yet, but I agree with Juergen</div>
                        <div>and already raised the point that YANG
                          conformance does not handle a</div>
                        <div>"MUST augment" use-case very well.</div>
                      </div>
                    </div>
                  </div>
                </blockquote>
                I think that "empty choice + mandatory true" it is OK
                from a conformance perspective.  The concept seems
                similar to an programmatic interface, abstract class, or
                even the abstract identity idea that has been proposed
                for YANG.  If a server implements the module but no
                augments of the choice then it cannot be configured
                because the constraint will always fail.  Andy, is your
                concern that tooling will warn that part of the model is
                unusable?<br>
              </div>
            </blockquote>
            <div><br>
            </div>
            <div>That is possible.</div>
            <div>I agree with Juergen that a mandatory empty choice
              clearly indicates that the module is incomplete</div>
            <div>and unusable on its own.  Is that a feature?</div>
          </div>
        </div>
      </div>
    </blockquote>
    Yes, making that indication is the whole purpose of adding the
    "mandatory: true" to the empty choice.  Note, that I see that the
    "mandatory true" is there to say that every configured subscription
    must have a transport configured, which if true, doesn't seem
    unreasonable.  I.e. my main point is that I don't have an issue with
    this generic YANG design.<br>
    <br>
    In this particular instance, I'm also fine if "mandatory: true" is
    left out, but I don't really agree with writing the equivalent of
    "mandatory: true" in the description, that seems like a poor
    compromise.<br>
    <br>
    However, this is probably all bike-shedding.  I think that any of
    the discussed solutions is acceptable, as long as it is obvious to
    the readers of the YANG modules that a case statement must be
    provided for it to be useful, and I make the assumption that sane
    vendors won't enable the "configured" feature, if there is no actual
    way of configuring usable subscriptions.<br>
    <br>
    Perhaps Eric can propose his preferred choice, and we can see if
    anyone still objects, otherwise maybe we can move on?<br>
    <br>
    Thanks,<br>
    Rob<br>
    <br>
    <br>
    <blockquote type="cite"
cite="mid:CABCOCHRtg9jB0=b5bPPT3MS0QJcwgAY24Fg0RewXhPMR8Y+O0w@mail.gmail.com">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <div>  </div>
            <div><br>
            </div>
            <div>Andy</div>
            <div> </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div text="#000000" bgcolor="#FFFFFF"> <br>
                I have to say that much prefer the option of putting
                "mandatory: true" in the choice than "MUST provide an
                implementation" in the description because the former is
                machine readable whilst the latter is not. <br>
                <br>
                However, I would also be fine not to have the
                "mandatory: true", but with the choice description to
                state something along the lines that the empty choice is
                to allow for augmentations of different transports, and
                configured subscriptions may not be usable unless at
                least one transport case statement is available."  But
                perhaps some implementation will provide the flexibility
                of defining a single transport for all subscriptions (if
                this is feasible).<br>
                <br>
                One other observation that could affect the decision
                here is that YANG allows "mandatory: true" to be removed
                in a future revision in a backwards compatible way, but
                doesn't allow it to be added.<br>
                <br>
                Thanks,<br>
                Rob<br>
                <br>
                <br>
                <blockquote type="cite">
                  <div dir="ltr">
                    <div class="gmail_extra">
                      <div class="gmail_quote">
                        <div><br>
                        </div>
                        <div>I prefer the MUST be in the
                          description-stmt for the choice,</div>
                        <div>instead of "mandatory true". (I prefer
                          SHOULD but if the WG wants MUST)</div>
                        <div><br>
                        </div>
                        <div><br>
                        </div>
                        <div>Andy</div>
                        <div><br>
                        </div>
                        <div><br>
                        </div>
                        <div><br>
                        </div>
                        <div> </div>
                        <blockquote class="gmail_quote" style="margin:0
                          0 0 .8ex;border-left:1px #ccc
                          solid;padding-left:1ex"> That would mean that
                          each transport document supporting configured
                          subscriptions would then augment transport
                          specific parameters to
                          "/subscriptions/subscription/r<wbr>eceivers/receiver". 
                           And (assuming the "single transport" decision
                          of IETF100 isn't changed), that the identity
                          "transport" could be leveraged to enforce that
                          only a single transport specific set of
                          credentials are associated with a receiver.   <br>
                          <br>
                          A sample YANG augmentation for NETCONF would
                          then look like:<br>
                          <br>
                          module ietf-netconf-subscribed-notifi<wbr>cations
                          {<br>
                          <br>
                            prefix nsn;<br>
                          <br>
                            import ietf-netconf-client { prefix ncc; }<br>
                            import ietf-subscribed-notifications {
                          prefix sn; }<br>
                          <br>
                            identity netconf {<br>
                              base sn:transport;<br>
                              base sn:inline-address;<br>
                              description<br>
                                "NETCONF is used as a transport for
                          notification messages and<br>
                                 state change notifications.";<br>
                            }<br>
                          <br>
                            augment "/sn:subscriptions/sn:subscrip<wbr>tion/sn:receivers/sn:receiver"
                          {<br>
                             when 'derived-from(../../../transpo<wbr>rt,
                          "nsn:netconf")';   <br>
                             description<br>
                                "This augmentation allows NETCONF
                          specific parameters to be <br>
                                exposed for a receiver.";<br>
                              leaf netconf-endpoint {<br>
                                type leafref {<br>
                                  path "/ncc:netconf-client/ncc:initi<wbr>ate/ncc:netconf-server"
                          + <br>
                                          "/ncc:endpoints/ncc:endpoint/n<wbr>cc:name";<br>
                                }<br>
                                mandatory true;<br>
                                description<br>
                                  "Remote client which need to initiate
                          the NETCONF transport if <br>
                                  an existing NETCONF session from that
                          client is not available.";<br>
                              }<br>
                            }  <br>
                          }<br>
                          <br>
                          Which results in:<br>
                            +--rw subscriptions<br>
                               +--rw subscription* <br>
                                  +--rw transport         transport 
                          {configured}?<br>
                                  +--rw receivers<br>
                                     +--rw receiver* <br>
                                        +--rw nsn:netconf-endpoint   
                          leafref<br>
                          <br>
                          Eric<br>
                          <br>
                          <br>
                          &gt; /js<br>
                          <span class="m_992716397197609027HOEnZb"><font
                              color="#888888">&gt; <br>
                              &gt; --<br>
                              &gt; Juergen Schoenwaelder         
                               Jacobs University Bremen gGmbH<br>
                              &gt; Phone: +49 421 200 3587       
                               Campus Ring 1 | 28759 Bremen | Germany<br>
                              &gt; Fax:   +49 421 200 3103         &lt;<a
                                href="https://www.jacobs-university.de/"
                                rel="noreferrer" target="_blank"
                                moz-do-not-send="true">https://www.jacobs-universit<wbr>y.de/</a>&gt;<br>
                            </font></span></blockquote>
                      </div>
                      <br>
                    </div>
                  </div>
                  <br>
                  <fieldset
                    class="m_992716397197609027mimeAttachmentHeader"></fieldset>
                  <br>
                  <pre>______________________________<wbr>_________________
yang-doctors mailing list
<a class="m_992716397197609027moz-txt-link-abbreviated" href="mailto:yang-doctors@ietf.org" target="_blank" moz-do-not-send="true">yang-doctors@ietf.org</a>
<a class="m_992716397197609027moz-txt-link-freetext" href="https://www.ietf.org/mailman/listinfo/yang-doctors" target="_blank" moz-do-not-send="true">https://www.ietf.org/mailman/<wbr>listinfo/yang-doctors</a>
</pre>
                </blockquote>
                <br>
              </div>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>

--------------AC85DD210534FB1BC0C0994F--


From nobody Wed Aug  1 11:42:11 2018
Return-Path: <andy@yumaworks.com>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BABD9130E4F for <yang-doctors@ietfa.amsl.com>; Wed,  1 Aug 2018 11:42:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.909
X-Spam-Level: 
X-Spam-Status: No, score=-1.909 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, T_DKIMWL_WL_MED=-0.01, URIBL_BLOCKED=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 WG3vfh57r03F for <yang-doctors@ietfa.amsl.com>; Wed,  1 Aug 2018 11:42:05 -0700 (PDT)
Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) (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 BF8E2130E47 for <yang-doctors@ietf.org>; Wed,  1 Aug 2018 11:42:04 -0700 (PDT)
Received: by mail-lj1-x233.google.com with SMTP id q127-v6so17736683ljq.11 for <yang-doctors@ietf.org>; Wed, 01 Aug 2018 11:42:04 -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=qerboX9+GO3Tfuya8o1IApSBrJaaulxlCfc+nXSbljE=; b=vzgVo3zghddIa/1f59oOUhSYH0ALT9j2qzIKl+4EysLaoB6blxoZg12gEm+Mwio2Uc s1g6DI9QSaigxLf6Nvf1MQtEFXzZhUc1S7XQDBWH5E5zhUnof0jloNAnbdRdGkJta1Bg jA635YXVnLgFGLdGrLatKWQ0AVDK493uPAKX9ypkVAsE2Ex3aZ+ZuxKZ4YshyX81sODg jIMQdomUwuRsCOCNatGTSq6560Ewdz3ijwoouITNXGhby3po64KZD+ZcoqVaIy2kLvqi 58z2zsL/JBuBm2aMvgY6kvIjf2nzPeUevfA/ubU2mXppXwnuvuxueNrGw6Oh0B5LBlEQ al9A==
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=qerboX9+GO3Tfuya8o1IApSBrJaaulxlCfc+nXSbljE=; b=bsllipmdVQk+9PNUFY4LVwEPUL8SS9lKXtQauhXnLuhmGt5tKP5+inFCVO32C9XkaQ q9N9Zi6p4nGPQV1R6sDb3YzqHmiP972cV56tJYkMfS/00UvMSH4KFjIeKtRJoL2nf0iy LIIFeB+cUTwF31vQgwcWbqFpI+jqRsoBkndARjh/gkIMG7207fPLfMrfhwkSbCu+fokP /Xm/cyel/gMg+KLWUI0cTU/7kqEIKtWUOq93XKh/1YNn5J1yEol3qbTfdy1QfxftR5VY CrskCsxt6RR3Sq3FOK9q1KHYX0LQBdvLEBUuWHhT+oULxjwgS1eK33ZnwunBY/ikXcVy mDBA==
X-Gm-Message-State: AOUpUlGkFXXOh4ZH7FBenQWhpgFomZeewPPtOigTas51E27Frf+wRcqc 4iH5qGgRy9qZ+k8rM4n5qsM3ox9xBkDLxYSjaMMUzA==
X-Google-Smtp-Source: AAOMgpcYB8BvJDxIFuvtFehlElVoXEH9ST9Z7WcsUZuh9d4zWhwlQcjQ/mPQpJzhKhyADD/1h5xJM219XA1B4EPvS00=
X-Received: by 2002:a2e:2ac3:: with SMTP id q186-v6mr19587584ljq.123.1533148922859;  Wed, 01 Aug 2018 11:42:02 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:a19:aa46:0:0:0:0:0 with HTTP; Wed, 1 Aug 2018 11:42:01 -0700 (PDT)
In-Reply-To: <958669b9-c523-3c43-eca4-fbc255fc1bc8@cisco.com>
References: <727ae35abd394a85812168615acce2d3@XCH-RTP-013.cisco.com> <20180729.175356.1841285666617255654.mbj@tail-f.com> <77080682bf90495caec48436453e4750@XCH-RTP-013.cisco.com> <20180730.204142.1505732335534077415.mbj@tail-f.com> <20180731174827.n5r2jebon45s2cxy@anna.jacobs.jacobs-university.de> <b8dc903dc04a46088bcca106ac45c4fc@XCH-RTP-013.cisco.com> <CABCOCHQPYyWgXS8Y_n5PN-AEQ5myQXX5s0KvkjQnfAh4VOMbrA@mail.gmail.com> <05ee68cd-ccc0-6803-6c71-b3952ee5608d@cisco.com> <CABCOCHRtg9jB0=b5bPPT3MS0QJcwgAY24Fg0RewXhPMR8Y+O0w@mail.gmail.com> <958669b9-c523-3c43-eca4-fbc255fc1bc8@cisco.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Wed, 1 Aug 2018 11:42:01 -0700
Message-ID: <CABCOCHRv9VGTwkvcnQz+VZDXK=+5pp-mdxQjdRmE=kXZPSDSXQ@mail.gmail.com>
To: Robert Wilton <rwilton@cisco.com>
Cc: "Eric Voit (evoit)" <evoit@cisco.com>, "yang-doctors@ietf.org" <yang-doctors@ietf.org>,  "netconf@ietf.org" <netconf@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000ef66410572640c70"
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/CrzET3nyL2KPtCMHGnIH73F1q2A>
Subject: Re: [yang-doctors] YANG Doctor question: empty mandatory choice?
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: Email list of the yang-doctors directorate  <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 01 Aug 2018 18:42:09 -0000

--000000000000ef66410572640c70
Content-Type: text/plain; charset="UTF-8"

On Wed, Aug 1, 2018 at 9:48 AM, Robert Wilton <rwilton@cisco.com> wrote:

>
>
> On 01/08/2018 17:09, Andy Bierman wrote:
>
>
>
> On Wed, Aug 1, 2018 at 9:01 AM, Robert Wilton <rwilton@cisco.com> wrote:
>
>>
>>
>> On 31/07/2018 21:31, Andy Bierman wrote:
>>
>>
>>
>> On Tue, Jul 31, 2018 at 12:39 PM, Eric Voit (evoit) <evoit@cisco.com>
>> wrote:
>>
>>> > From: Juergen Schoenwaelder, July 31, 2018 1:48 PM
>>> >
>>> > On Mon, Jul 30, 2018 at 08:41:42PM +0200, Martin Bjorklund wrote:
>>> > >
>>> > > The empty mandatory choice does provide value since it requires that
>>> > > some transport-specific parameters are configured.  However, can we
>>> > > assume that all transports require configuration parameters here?
>>> >
>>> > Can you have a receiver without any transport parameters?
>>> >
>>> > > It is probably safest to not have a mandatory choice, and instead
>>> > > ensure that each transport augements the proper params -- and since
>>> > > this is YANG 1.1, the transport params that are augmented can
>>> actually
>>> > > be marked as mandatory.
>>> >
>>> > Frankly, an empty mandatory choice quite clearly says "this is
>>> incomplete and
>>> > unusable without an augmentation".
>>>
>>> My read above is the YANG doctor's position is that we should *not* use
>>> the empty mandatory choice.  Let me know if I got this wrong.
>>>
>>>
>> I do not think a consensus call has been done yet, but I agree with
>> Juergen
>> and already raised the point that YANG conformance does not handle a
>> "MUST augment" use-case very well.
>>
>> I think that "empty choice + mandatory true" it is OK from a conformance
>> perspective.  The concept seems similar to an programmatic interface,
>> abstract class, or even the abstract identity idea that has been proposed
>> for YANG.  If a server implements the module but no augments of the choice
>> then it cannot be configured because the constraint will always fail.
>> Andy, is your concern that tooling will warn that part of the model is
>> unusable?
>>
>
> That is possible.
> I agree with Juergen that a mandatory empty choice clearly indicates that
> the module is incomplete
> and unusable on its own.  Is that a feature?
>
> Yes, making that indication is the whole purpose of adding the "mandatory:
> true" to the empty choice.  Note, that I see that the "mandatory true" is
> there to say that every configured subscription must have a transport
> configured, which if true, doesn't seem unreasonable.  I.e. my main point
> is that I don't have an issue with this generic YANG design.
>
>

It just seems strange that the model designers are positive the solution
belongs in a case-stmt inside
this choice.  So positive that MUST is in order, which means harm to the
Internet will
happen if this choice is not provided, with no possibility of any exception
ever.
That's why I suggested SHOULD in the first place, which would go in the
description-stmt.

I can imagine a vendor augmenting this choice with a <not-used/> leaf, just
to get rid of the
validation error.


Andy

In this particular instance, I'm also fine if "mandatory: true" is left
> out, but I don't really agree with writing the equivalent of "mandatory:
> true" in the description, that seems like a poor compromise.
>
> However, this is probably all bike-shedding.  I think that any of the
> discussed solutions is acceptable, as long as it is obvious to the readers
> of the YANG modules that a case statement must be provided for it to be
> useful, and I make the assumption that sane vendors won't enable the
> "configured" feature, if there is no actual way of configuring usable
> subscriptions.
>
> Perhaps Eric can propose his preferred choice, and we can see if anyone
> still objects, otherwise maybe we can move on?
>
> Thanks,
> Rob
>
>
>
>
> Andy
>
>
>>
>> I have to say that much prefer the option of putting "mandatory: true" in
>> the choice than "MUST provide an implementation" in the description because
>> the former is machine readable whilst the latter is not.
>>
>> However, I would also be fine not to have the "mandatory: true", but with
>> the choice description to state something along the lines that the empty
>> choice is to allow for augmentations of different transports, and
>> configured subscriptions may not be usable unless at least one transport
>> case statement is available."  But perhaps some implementation will provide
>> the flexibility of defining a single transport for all subscriptions (if
>> this is feasible).
>>
>> One other observation that could affect the decision here is that YANG
>> allows "mandatory: true" to be removed in a future revision in a backwards
>> compatible way, but doesn't allow it to be added.
>>
>> Thanks,
>> Rob
>>
>>
>>
>> I prefer the MUST be in the description-stmt for the choice,
>> instead of "mandatory true". (I prefer SHOULD but if the WG wants MUST)
>>
>>
>> Andy
>>
>>
>>
>>
>>
>>> That would mean that each transport document supporting configured
>>> subscriptions would then augment transport specific parameters to
>>> "/subscriptions/subscription/receivers/receiver".   And (assuming the
>>> "single transport" decision of IETF100 isn't changed), that the identity
>>> "transport" could be leveraged to enforce that only a single transport
>>> specific set of credentials are associated with a receiver.
>>>
>>> A sample YANG augmentation for NETCONF would then look like:
>>>
>>> module ietf-netconf-subscribed-notifications {
>>>
>>>   prefix nsn;
>>>
>>>   import ietf-netconf-client { prefix ncc; }
>>>   import ietf-subscribed-notifications { prefix sn; }
>>>
>>>   identity netconf {
>>>     base sn:transport;
>>>     base sn:inline-address;
>>>     description
>>>       "NETCONF is used as a transport for notification messages and
>>>        state change notifications.";
>>>   }
>>>
>>>   augment "/sn:subscriptions/sn:subscription/sn:receivers/sn:receiver" {
>>>    when 'derived-from(../../../transport, "nsn:netconf")';
>>>    description
>>>       "This augmentation allows NETCONF specific parameters to be
>>>       exposed for a receiver.";
>>>     leaf netconf-endpoint {
>>>       type leafref {
>>>         path "/ncc:netconf-client/ncc:initiate/ncc:netconf-server" +
>>>                 "/ncc:endpoints/ncc:endpoint/ncc:name";
>>>       }
>>>       mandatory true;
>>>       description
>>>         "Remote client which need to initiate the NETCONF transport if
>>>         an existing NETCONF session from that client is not available.";
>>>     }
>>>   }
>>> }
>>>
>>> Which results in:
>>>   +--rw subscriptions
>>>      +--rw subscription*
>>>         +--rw transport         transport  {configured}?
>>>         +--rw receivers
>>>            +--rw receiver*
>>>               +--rw nsn:netconf-endpoint    leafref
>>>
>>> Eric
>>>
>>>
>>> > /js
>>> >
>>> > --
>>> > Juergen Schoenwaelder           Jacobs University Bremen gGmbH
>>> > Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
>>> <https://maps.google.com/?q=Campus+Ring+1+%7C+28759+Bremen+%7C+Germany&entry=gmail&source=g>
>>> > Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>
>>>
>>
>>
>>
>> _______________________________________________
>> yang-doctors mailing listyang-doctors@ietf.orghttps://www.ietf.org/mailman/listinfo/yang-doctors
>>
>>
>>
>
>

--000000000000ef66410572640c70
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Wed, Aug 1, 2018 at 9:48 AM, Robert Wilton <span dir=3D"ltr">&lt;<a =
href=3D"mailto:rwilton@cisco.com" target=3D"_blank">rwilton@cisco.com</a>&g=
t;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0=
 .8ex;border-left:1px #ccc solid;padding-left:1ex">
 =20
   =20
 =20
  <div text=3D"#000000" bgcolor=3D"#FFFFFF">
    <p><br>
    </p>
    <br>
    <div class=3D"m_4856315593450744087moz-cite-prefix">On 01/08/2018 17:09=
, Andy Bierman
      wrote:<br>
    </div>
    <blockquote type=3D"cite">
     =20
      <div dir=3D"ltr"><br>
        <div class=3D"gmail_extra"><br>
          <div class=3D"gmail_quote">On Wed, Aug 1, 2018 at 9:01 AM,
            Robert Wilton <span dir=3D"ltr">&lt;<a href=3D"mailto:rwilton@c=
isco.com" target=3D"_blank">rwilton@cisco.com</a>&gt;</span>
            wrote:<br>
            <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo=
rder-left:1px #ccc solid;padding-left:1ex">
              <div text=3D"#000000" bgcolor=3D"#FFFFFF">
                <p><br>
                </p>
                <br>
                <div class=3D"m_4856315593450744087m_992716397197609027moz-=
cite-prefix">On
                  31/07/2018 21:31, Andy Bierman wrote:<br>
                </div>
                <blockquote type=3D"cite">
                  <div dir=3D"ltr"><br>
                    <div class=3D"gmail_extra"><br>
                      <div class=3D"gmail_quote">On Tue, Jul 31, 2018 at
                        12:39 PM, Eric Voit (evoit) <span dir=3D"ltr">&lt;<=
a href=3D"mailto:evoit@cisco.com" target=3D"_blank">evoit@cisco.com</a>&gt;=
</span>
                        wrote:<br>
                        <blockquote class=3D"gmail_quote" style=3D"margin:0=
 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">&gt; From: Juergen
                          Schoenwaelder, July 31, 2018 1:48 PM<br>
                          &gt; <br>
                          &gt; On Mon, Jul 30, 2018 at 08:41:42PM +0200,
                          Martin Bjorklund wrote:<br>
                          &gt; &gt;<br>
                          &gt; &gt; The empty mandatory choice does
                          provide value since it requires that<br>
                          &gt; &gt; some transport-specific parameters
                          are configured.=C2=A0 However, can we<br>
                          &gt; &gt; assume that all transports require
                          configuration parameters here?<br>
                          &gt; <br>
                          &gt; Can you have a receiver without any
                          transport parameters?<br>
                          &gt; <br>
                          &gt; &gt; It is probably safest to not have a
                          mandatory choice, and instead<br>
                          &gt; &gt; ensure that each transport augements
                          the proper params -- and since<br>
                          &gt; &gt; this is YANG 1.1, the transport
                          params that are augmented can actually<br>
                          &gt; &gt; be marked as mandatory.<br>
                          &gt; <br>
                          &gt; Frankly, an empty mandatory choice quite
                          clearly says &quot;this is incomplete and<br>
                          &gt; unusable without an augmentation&quot;.<br>
                          <br>
                          My read above is the YANG doctor&#39;s position i=
s
                          that we should *not* use the empty mandatory
                          choice.=C2=A0 Let me know if I got this wrong.<br=
>
                          <br>
                        </blockquote>
                        <div><br>
                        </div>
                        <div>I do not think a consensus call has been
                          done yet, but I agree with Juergen</div>
                        <div>and already raised the point that YANG
                          conformance does not handle a</div>
                        <div>&quot;MUST augment&quot; use-case very well.</=
div>
                      </div>
                    </div>
                  </div>
                </blockquote>
                I think that &quot;empty choice + mandatory true&quot; it i=
s OK
                from a conformance perspective.=C2=A0 The concept seems
                similar to an programmatic interface, abstract class, or
                even the abstract identity idea that has been proposed
                for YANG.=C2=A0 If a server implements the module but no
                augments of the choice then it cannot be configured
                because the constraint will always fail.=C2=A0 Andy, is you=
r
                concern that tooling will warn that part of the model is
                unusable?<br>
              </div>
            </blockquote>
            <div><br>
            </div>
            <div>That is possible.</div>
            <div>I agree with Juergen that a mandatory empty choice
              clearly indicates that the module is incomplete</div>
            <div>and unusable on its own.=C2=A0 Is that a feature?</div>
          </div>
        </div>
      </div>
    </blockquote>
    Yes, making that indication is the whole purpose of adding the
    &quot;mandatory: true&quot; to the empty choice.=C2=A0 Note, that I see=
 that the
    &quot;mandatory true&quot; is there to say that every configured subscr=
iption
    must have a transport configured, which if true, doesn&#39;t seem
    unreasonable.=C2=A0 I.e. my main point is that I don&#39;t have an issu=
e with
    this generic YANG design.<br>
    <br></div></blockquote><div><br></div><div><br></div><div>It just seems=
 strange that the model designers are positive the solution belongs in a ca=
se-stmt inside</div><div>this choice.=C2=A0 So positive that MUST is in ord=
er, which means harm to the Internet will</div><div>happen if this choice i=
s not provided, with no possibility of any exception ever.</div><div>That&#=
39;s why I suggested SHOULD in the first place, which would go in the descr=
iption-stmt.</div><div><br></div><div>I can imagine a vendor augmenting thi=
s choice with a &lt;not-used/&gt; leaf, just to get rid of the</div><div>va=
lidation error.</div><div><br></div><div><br></div><div>Andy</div><div><br>=
</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-l=
eft:1px #ccc solid;padding-left:1ex"><div text=3D"#000000" bgcolor=3D"#FFFF=
FF">
    In this particular instance, I&#39;m also fine if &quot;mandatory: true=
&quot; is
    left out, but I don&#39;t really agree with writing the equivalent of
    &quot;mandatory: true&quot; in the description, that seems like a poor
    compromise.<br>
    <br>
    However, this is probably all bike-shedding.=C2=A0 I think that any of
    the discussed solutions is acceptable, as long as it is obvious to
    the readers of the YANG modules that a case statement must be
    provided for it to be useful, and I make the assumption that sane
    vendors won&#39;t enable the &quot;configured&quot; feature, if there i=
s no actual
    way of configuring usable subscriptions.<br>
    <br>
    Perhaps Eric can propose his preferred choice, and we can see if
    anyone still objects, otherwise maybe we can move on?<br>
    <br>
    Thanks,<br>
    Rob<br>
    <br>
    <br>
    <blockquote type=3D"cite">
      <div dir=3D"ltr">
        <div class=3D"gmail_extra">
          <div class=3D"gmail_quote">
            <div> =C2=A0</div>
            <div><br>
            </div>
            <div>Andy</div>
            <div>=C2=A0</div>
            <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo=
rder-left:1px #ccc solid;padding-left:1ex">
              <div text=3D"#000000" bgcolor=3D"#FFFFFF"> <br>
                I have to say that much prefer the option of putting
                &quot;mandatory: true&quot; in the choice than &quot;MUST p=
rovide an
                implementation&quot; in the description because the former =
is
                machine readable whilst the latter is not. <br>
                <br>
                However, I would also be fine not to have the
                &quot;mandatory: true&quot;, but with the choice descriptio=
n to
                state something along the lines that the empty choice is
                to allow for augmentations of different transports, and
                configured subscriptions may not be usable unless at
                least one transport case statement is available.&quot;=C2=
=A0 But
                perhaps some implementation will provide the flexibility
                of defining a single transport for all subscriptions (if
                this is feasible).<br>
                <br>
                One other observation that could affect the decision
                here is that YANG allows &quot;mandatory: true&quot; to be =
removed
                in a future revision in a backwards compatible way, but
                doesn&#39;t allow it to be added.<br>
                <br>
                Thanks,<br>
                Rob<br>
                <br>
                <br>
                <blockquote type=3D"cite">
                  <div dir=3D"ltr">
                    <div class=3D"gmail_extra">
                      <div class=3D"gmail_quote">
                        <div><br>
                        </div>
                        <div>I prefer the MUST be in the
                          description-stmt for the choice,</div>
                        <div>instead of &quot;mandatory true&quot;. (I pref=
er
                          SHOULD but if the WG wants MUST)</div>
                        <div><br>
                        </div>
                        <div><br>
                        </div>
                        <div>Andy</div>
                        <div><br>
                        </div>
                        <div><br>
                        </div>
                        <div><br>
                        </div>
                        <div>=C2=A0</div>
                        <blockquote class=3D"gmail_quote" style=3D"margin:0=
 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> That would mean tha=
t
                          each transport document supporting configured
                          subscriptions would then augment transport
                          specific parameters to
                          &quot;/subscriptions/subscription/r<wbr>eceivers/=
receiver&quot;.=C2=A0
                          =C2=A0And (assuming the &quot;single transport&qu=
ot; decision
                          of IETF100 isn&#39;t changed), that the identity
                          &quot;transport&quot; could be leveraged to enfor=
ce that
                          only a single transport specific set of
                          credentials are associated with a receiver.=C2=A0=
 =C2=A0<br>
                          <br>
                          A sample YANG augmentation for NETCONF would
                          then look like:<br>
                          <br>
                          module ietf-netconf-subscribed-notifi<wbr>cations
                          {<br>
                          <br>
                          =C2=A0 prefix nsn;<br>
                          <br>
                          =C2=A0 import ietf-netconf-client { prefix ncc; }=
<br>
                          =C2=A0 import ietf-subscribed-notifications {
                          prefix sn; }<br>
                          <br>
                          =C2=A0 identity netconf {<br>
                          =C2=A0 =C2=A0 base sn:transport;<br>
                          =C2=A0 =C2=A0 base sn:inline-address;<br>
                          =C2=A0 =C2=A0 description<br>
                          =C2=A0 =C2=A0 =C2=A0 &quot;NETCONF is used as a t=
ransport for
                          notification messages and<br>
                          =C2=A0 =C2=A0 =C2=A0 =C2=A0state change notificat=
ions.&quot;;<br>
                          =C2=A0 }<br>
                          <br>
                          =C2=A0 augment &quot;/sn:subscriptions/sn:subscri=
p<wbr>tion/sn:receivers/sn:receiver&quot;
                          {<br>
                          =C2=A0 =C2=A0when &#39;derived-from(../../../tran=
spo<wbr>rt,
                          &quot;nsn:netconf&quot;)&#39;;=C2=A0 =C2=A0<br>
                          =C2=A0 =C2=A0description<br>
                          =C2=A0 =C2=A0 =C2=A0 &quot;This augmentation allo=
ws NETCONF
                          specific parameters to be <br>
                          =C2=A0 =C2=A0 =C2=A0 exposed for a receiver.&quot=
;;<br>
                          =C2=A0 =C2=A0 leaf netconf-endpoint {<br>
                          =C2=A0 =C2=A0 =C2=A0 type leafref {<br>
                          =C2=A0 =C2=A0 =C2=A0 =C2=A0 path &quot;/ncc:netco=
nf-client/ncc:initi<wbr>ate/ncc:netconf-server&quot;
                          + <br>
                          =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 &quot;/ncc:endpoints/ncc:endpoint/n<wbr>cc:name&quot;;<br>
                          =C2=A0 =C2=A0 =C2=A0 }<br>
                          =C2=A0 =C2=A0 =C2=A0 mandatory true;<br>
                          =C2=A0 =C2=A0 =C2=A0 description<br>
                          =C2=A0 =C2=A0 =C2=A0 =C2=A0 &quot;Remote client w=
hich need to initiate
                          the NETCONF transport if <br>
                          =C2=A0 =C2=A0 =C2=A0 =C2=A0 an existing NETCONF s=
ession from that
                          client is not available.&quot;;<br>
                          =C2=A0 =C2=A0 }<br>
                          =C2=A0 }=C2=A0 <br>
                          }<br>
                          <br>
                          Which results in:<br>
                          =C2=A0 +--rw subscriptions<br>
                          =C2=A0 =C2=A0 =C2=A0+--rw subscription* <br>
                          =C2=A0 =C2=A0 =C2=A0 =C2=A0 +--rw transport=C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0transport=C2=A0
                          {configured}?<br>
                          =C2=A0 =C2=A0 =C2=A0 =C2=A0 +--rw receivers<br>
                          =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0+--rw re=
ceiver* <br>
                          =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
+--rw nsn:netconf-endpoint=C2=A0 =C2=A0
                          leafref<br>
                          <br>
                          Eric<br>
                          <br>
                          <br>
                          &gt; /js<br>
                          <span class=3D"m_4856315593450744087m_99271639719=
7609027HOEnZb"><font color=3D"#888888">&gt; <br>
                              &gt; --<br>
                              &gt; Juergen Schoenwaelder=C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0
                              =C2=A0Jacobs University Bremen gGmbH<br>
                              &gt; Phone: +49 421 200 3587=C2=A0 =C2=A0 =C2=
=A0 =C2=A0
                              =C2=A0<a href=3D"https://maps.google.com/?q=
=3DCampus+Ring+1+%7C+28759+Bremen+%7C+Germany&amp;entry=3Dgmail&amp;source=
=3Dg">Campus Ring 1 | 28759 Bremen | Germany</a><br>
                              &gt; Fax:=C2=A0 =C2=A0+49 421 200 3103=C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0&lt;<a href=3D"https://www.jacobs-university.de/=
" rel=3D"noreferrer" target=3D"_blank">https://www.jacobs-universit<wbr>y.d=
e/</a>&gt;<br>
                            </font></span></blockquote>
                      </div>
                      <br>
                    </div>
                  </div>
                  <br>
                  <fieldset class=3D"m_4856315593450744087m_992716397197609=
027mimeAttachmentHeader"></fieldset>
                  <br>
                  <pre>______________________________<wbr>_________________
yang-doctors mailing list
<a class=3D"m_4856315593450744087m_992716397197609027moz-txt-link-abbreviat=
ed" href=3D"mailto:yang-doctors@ietf.org" target=3D"_blank">yang-doctors@ie=
tf.org</a>
<a class=3D"m_4856315593450744087m_992716397197609027moz-txt-link-freetext"=
 href=3D"https://www.ietf.org/mailman/listinfo/yang-doctors" target=3D"_bla=
nk">https://www.ietf.org/mailman/l<wbr>istinfo/yang-doctors</a>
</pre>
                </blockquote>
                <br>
              </div>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
    </blockquote>
    <br>
  </div>

</blockquote></div><br></div></div>

--000000000000ef66410572640c70--


From nobody Wed Aug  1 17:00:26 2018
Return-Path: <andy@yumaworks.com>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4731A130EE0 for <yang-doctors@ietfa.amsl.com>; Wed,  1 Aug 2018 17:00:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.909
X-Spam-Level: 
X-Spam-Status: No, score=-1.909 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, T_DKIMWL_WL_MED=-0.01, URIBL_BLOCKED=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 FOZrR21afX9G for <yang-doctors@ietfa.amsl.com>; Wed,  1 Aug 2018 17:00:21 -0700 (PDT)
Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) (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 5F0FC130EB8 for <yang-doctors@ietf.org>; Wed,  1 Aug 2018 17:00:19 -0700 (PDT)
Received: by mail-lj1-x22f.google.com with SMTP id f1-v6so288992ljc.9 for <yang-doctors@ietf.org>; Wed, 01 Aug 2018 17:00:19 -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=e5p4XMuyJqhDZJq5nXVFyLufnOvotus6FF9vZMdExsw=; b=HPGTchtvl+v//pqCtAql6bFYrlwsBHl9Z4BZ6wNfnyAxIuWK4C92qDAO94jUaLfD0f ftTUhxXPo3hSdeli702tm0pVhxALVSFYiY7wYPp9qzoLjnhQ8DddeuSaSTSoUkpsL0B4 g71uUCwsQqVJAXFJA3+8rRzniBblqfFA6kZgfgt2mudzGqhmbZAllzl8IO5DX0hRZsoM 5x3CWBocrazClpn1FO/nJqiWby4ArzUupTDnLr+1MBjKuftLAqbrO0OSsfh250puniMZ sa0J8a0WlLqy5BkKMsgW5/UUkVPPD7hCWlMfPJaWDGheS+d8V97Dx5rzT++hF7/LjdFU zgYA==
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=e5p4XMuyJqhDZJq5nXVFyLufnOvotus6FF9vZMdExsw=; b=T5i8p9t37hpfkVm6Gny7iWihJRvE4A+d1q8AupG4MjXbLiC8t4R9AuvnKIwH9bgvel 1VFoM1Zs1W5QvphvDmJ5gpOsp6kINqNttzFUEeOWhGdz/v+xJ7H7aka3xEYPb/xl1ONq kia8IU0IhC8SKO3gx3eGTXThYAZfTjzOg+FH8rw7BzAECraBfCBVXztzwDeb9+oly5dv ntz8pLZ8lgExg9xokF9E1cSutBo+4LWStGPkyLn761cUZJsbtHgqwIrY5HZlmnK4M3iC NBx4QsZIa9t7Y2Mn8887ceHQ7Zs88IQk+rF9CVDD2Bd5g9bdD7y2mCsMhp1uiotbansr /3IQ==
X-Gm-Message-State: AOUpUlEk2qD8yGNv05KNUOSyuSLIZtlO2QL2yQgLLrwE54RK6Y0GZyhZ gEU34mJy1UFnp4CZkRn2JjXztL9oQxn4lZ3KDZprdg==
X-Google-Smtp-Source: AAOMgpcXwe5zRtamMR0A68KKQkOvugHp78fNt2lOFkTArHDtr9oqBzl1Dwniqb9/3R6BX6aQFw08Hs+rfbgajG3NSis=
X-Received: by 2002:a2e:9a16:: with SMTP id o22-v6mr303229lji.17.1533168017534;  Wed, 01 Aug 2018 17:00:17 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:a19:aa46:0:0:0:0:0 with HTTP; Wed, 1 Aug 2018 17:00:16 -0700 (PDT)
In-Reply-To: <05ee68cd-ccc0-6803-6c71-b3952ee5608d@cisco.com>
References: <727ae35abd394a85812168615acce2d3@XCH-RTP-013.cisco.com> <20180729.175356.1841285666617255654.mbj@tail-f.com> <77080682bf90495caec48436453e4750@XCH-RTP-013.cisco.com> <20180730.204142.1505732335534077415.mbj@tail-f.com> <20180731174827.n5r2jebon45s2cxy@anna.jacobs.jacobs-university.de> <b8dc903dc04a46088bcca106ac45c4fc@XCH-RTP-013.cisco.com> <CABCOCHQPYyWgXS8Y_n5PN-AEQ5myQXX5s0KvkjQnfAh4VOMbrA@mail.gmail.com> <05ee68cd-ccc0-6803-6c71-b3952ee5608d@cisco.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Wed, 1 Aug 2018 17:00:16 -0700
Message-ID: <CABCOCHQn6aVV6iEL8pCUAf1QGNQM=1GNEtyX9iTV03Cm1tpivQ@mail.gmail.com>
To: Robert Wilton <rwilton@cisco.com>
Cc: "Eric Voit (evoit)" <evoit@cisco.com>, "yang-doctors@ietf.org" <yang-doctors@ietf.org>,  "netconf@ietf.org" <netconf@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000001100520572687fc2"
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/IGgAOxOfpOBFY-U_r5P3nq9GnCI>
Subject: Re: [yang-doctors] YANG Doctor question: empty mandatory choice?
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: Email list of the yang-doctors directorate  <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 02 Aug 2018 00:00:24 -0000

--0000000000001100520572687fc2
Content-Type: text/plain; charset="UTF-8"

On Wed, Aug 1, 2018 at 9:01 AM, Robert Wilton <rwilton@cisco.com> wrote:

>
>
> On 31/07/2018 21:31, Andy Bierman wrote:
>
>
>
> On Tue, Jul 31, 2018 at 12:39 PM, Eric Voit (evoit) <evoit@cisco.com>
> wrote:
>
>> > From: Juergen Schoenwaelder, July 31, 2018 1:48 PM
>> >
>> > On Mon, Jul 30, 2018 at 08:41:42PM +0200, Martin Bjorklund wrote:
>> > >
>> > > The empty mandatory choice does provide value since it requires that
>> > > some transport-specific parameters are configured.  However, can we
>> > > assume that all transports require configuration parameters here?
>> >
>> > Can you have a receiver without any transport parameters?
>> >
>> > > It is probably safest to not have a mandatory choice, and instead
>> > > ensure that each transport augements the proper params -- and since
>> > > this is YANG 1.1, the transport params that are augmented can actually
>> > > be marked as mandatory.
>> >
>> > Frankly, an empty mandatory choice quite clearly says "this is
>> incomplete and
>> > unusable without an augmentation".
>>
>> My read above is the YANG doctor's position is that we should *not* use
>> the empty mandatory choice.  Let me know if I got this wrong.
>>
>>
> I do not think a consensus call has been done yet, but I agree with Juergen
> and already raised the point that YANG conformance does not handle a
> "MUST augment" use-case very well.
>
> I think that "empty choice + mandatory true" it is OK from a conformance
> perspective.
>


It really is not OK, and has never been OK, which is why I think the next
version of YANG
should try to get this right.

As a client developer, I want to know the contract in advance, without any
missing clauses.
With a self-contained module (only internal + augment + uses) the entire
contract is clear
(at least module names are specified, maybe not revisions on imports  (Ver
DT will fix that)

A mandatory choice depending on 100% external augments is not
self-contained.
It is not a complete contract.

IMO, the way to fix it is to expand the conformance for YANG modules so
that packages
could be specified, or perhaps virtual external dependencies. YANG catalog
says what a vendor
does implement. YANG Conformance says what a vendor is supposed to
implement.
The client developer needs to know both.


Andy



> The concept seems similar to an programmatic interface, abstract class, or
> even the abstract identity idea that has been proposed for YANG.  If a
> server implements the module but no augments of the choice then it cannot
> be configured because the constraint will always fail.  Andy, is your
> concern that tooling will warn that part of the model is unusable?
>
>



> I have to say that much prefer the option of putting "mandatory: true" in
> the choice than "MUST provide an implementation" in the description because
> the former is machine readable whilst the latter is not.
>
> However, I would also be fine not to have the "mandatory: true", but with
> the choice description to state something along the lines that the empty
> choice is to allow for augmentations of different transports, and
> configured subscriptions may not be usable unless at least one transport
> case statement is available."  But perhaps some implementation will provide
> the flexibility of defining a single transport for all subscriptions (if
> this is feasible).
>
> One other observation that could affect the decision here is that YANG
> allows "mandatory: true" to be removed in a future revision in a backwards
> compatible way, but doesn't allow it to be added.
>
> Thanks,
> Rob
>
>
>
> I prefer the MUST be in the description-stmt for the choice,
> instead of "mandatory true". (I prefer SHOULD but if the WG wants MUST)
>
>
> Andy
>
>
>
>
>
>> That would mean that each transport document supporting configured
>> subscriptions would then augment transport specific parameters to
>> "/subscriptions/subscription/receivers/receiver".   And (assuming the
>> "single transport" decision of IETF100 isn't changed), that the identity
>> "transport" could be leveraged to enforce that only a single transport
>> specific set of credentials are associated with a receiver.
>>
>> A sample YANG augmentation for NETCONF would then look like:
>>
>> module ietf-netconf-subscribed-notifications {
>>
>>   prefix nsn;
>>
>>   import ietf-netconf-client { prefix ncc; }
>>   import ietf-subscribed-notifications { prefix sn; }
>>
>>   identity netconf {
>>     base sn:transport;
>>     base sn:inline-address;
>>     description
>>       "NETCONF is used as a transport for notification messages and
>>        state change notifications.";
>>   }
>>
>>   augment "/sn:subscriptions/sn:subscription/sn:receivers/sn:receiver" {
>>    when 'derived-from(../../../transport, "nsn:netconf")';
>>    description
>>       "This augmentation allows NETCONF specific parameters to be
>>       exposed for a receiver.";
>>     leaf netconf-endpoint {
>>       type leafref {
>>         path "/ncc:netconf-client/ncc:initiate/ncc:netconf-server" +
>>                 "/ncc:endpoints/ncc:endpoint/ncc:name";
>>       }
>>       mandatory true;
>>       description
>>         "Remote client which need to initiate the NETCONF transport if
>>         an existing NETCONF session from that client is not available.";
>>     }
>>   }
>> }
>>
>> Which results in:
>>   +--rw subscriptions
>>      +--rw subscription*
>>         +--rw transport         transport  {configured}?
>>         +--rw receivers
>>            +--rw receiver*
>>               +--rw nsn:netconf-endpoint    leafref
>>
>> Eric
>>
>>
>> > /js
>> >
>> > --
>> > Juergen Schoenwaelder           Jacobs University Bremen gGmbH
>> > Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
>> > Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>
>>
>
>
>
> _______________________________________________
> yang-doctors mailing listyang-doctors@ietf.orghttps://www.ietf.org/mailman/listinfo/yang-doctors
>
>
>

--0000000000001100520572687fc2
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Wed, Aug 1, 2018 at 9:01 AM, Robert Wilton <span dir=3D"ltr">&lt;<a =
href=3D"mailto:rwilton@cisco.com" target=3D"_blank">rwilton@cisco.com</a>&g=
t;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0=
 .8ex;border-left:1px #ccc solid;padding-left:1ex">
 =20
   =20
 =20
  <div text=3D"#000000" bgcolor=3D"#FFFFFF">
    <p><br>
    </p>
    <br>
    <div class=3D"m_-8663869857393228201moz-cite-prefix">On 31/07/2018 21:3=
1, Andy Bierman
      wrote:<br>
    </div>
    <blockquote type=3D"cite">
     =20
      <div dir=3D"ltr"><br>
        <div class=3D"gmail_extra"><br>
          <div class=3D"gmail_quote">On Tue, Jul 31, 2018 at 12:39 PM,
            Eric Voit (evoit) <span dir=3D"ltr">&lt;<a href=3D"mailto:evoit=
@cisco.com" target=3D"_blank">evoit@cisco.com</a>&gt;</span>
            wrote:<br>
            <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo=
rder-left:1px #ccc solid;padding-left:1ex">&gt;
              From: Juergen Schoenwaelder, July 31, 2018 1:48 PM<br>
              &gt; <br>
              &gt; On Mon, Jul 30, 2018 at 08:41:42PM +0200, Martin
              Bjorklund wrote:<br>
              &gt; &gt;<br>
              &gt; &gt; The empty mandatory choice does provide value
              since it requires that<br>
              &gt; &gt; some transport-specific parameters are
              configured.=C2=A0 However, can we<br>
              &gt; &gt; assume that all transports require configuration
              parameters here?<br>
              &gt; <br>
              &gt; Can you have a receiver without any transport
              parameters?<br>
              &gt; <br>
              &gt; &gt; It is probably safest to not have a mandatory
              choice, and instead<br>
              &gt; &gt; ensure that each transport augements the proper
              params -- and since<br>
              &gt; &gt; this is YANG 1.1, the transport params that are
              augmented can actually<br>
              &gt; &gt; be marked as mandatory.<br>
              &gt; <br>
              &gt; Frankly, an empty mandatory choice quite clearly says
              &quot;this is incomplete and<br>
              &gt; unusable without an augmentation&quot;.<br>
              <br>
              My read above is the YANG doctor&#39;s position is that we
              should *not* use the empty mandatory choice.=C2=A0 Let me kno=
w
              if I got this wrong.<br>
              <br>
            </blockquote>
            <div><br>
            </div>
            <div>I do not think a consensus call has been done yet, but
              I agree with Juergen</div>
            <div>and already raised the point that YANG conformance does
              not handle a</div>
            <div>&quot;MUST augment&quot; use-case very well.</div>
          </div>
        </div>
      </div>
    </blockquote>
    I think that &quot;empty choice + mandatory true&quot; it is OK from a
    conformance perspective.=C2=A0</div></blockquote><div><br></div><div><b=
r></div><div>It really is not OK, and has never been OK, which is why I thi=
nk the next version of YANG</div><div>should try to get this right.</div><d=
iv><br></div><div>As a client developer, I want to know the contract in adv=
ance, without any missing clauses.</div><div>With a self-contained module (=
only internal + augment + uses) the entire contract is clear</div><div>(at =
least module names are specified, maybe not revisions on imports =C2=A0(Ver=
 DT will fix that)</div><div><br></div><div>A mandatory choice depending on=
 100% external augments is not self-contained.</div><div>It is not a comple=
te contract.</div><div><br></div><div>IMO, the way to fix it is to expand t=
he conformance for YANG modules so that packages</div><div>could be specifi=
ed, or perhaps virtual external dependencies. YANG catalog says what a vend=
or</div><div>does implement. YANG Conformance says what a vendor is suppose=
d to implement.</div><div>The client developer needs to know both.</div><di=
v><br></div><div><br></div><div>Andy</div><div><br></div><div>=C2=A0</div><=
blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px=
 #ccc solid;padding-left:1ex"><div text=3D"#000000" bgcolor=3D"#FFFFFF"> Th=
e concept seems similar to an
    programmatic interface, abstract class, or even the abstract
    identity idea that has been proposed for YANG.=C2=A0 If a server
    implements the module but no augments of the choice then it cannot
    be configured because the constraint will always fail.=C2=A0 Andy, is
    your concern that tooling will warn that part of the model is
    unusable?<br>
    <br></div></blockquote><div><br></div><div><br></div><div>=C2=A0</div><=
blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px=
 #ccc solid;padding-left:1ex"><div text=3D"#000000" bgcolor=3D"#FFFFFF">
    I have to say that much prefer the option of putting &quot;mandatory:
    true&quot; in the choice than &quot;MUST provide an implementation&quot=
; in the
    description because the former is machine readable whilst the latter
    is not. <br>
    <br>
    However, I would also be fine not to have the &quot;mandatory: true&quo=
t;, but
    with the choice description to state something along the lines that
    the empty choice is to allow for augmentations of different
    transports, and configured subscriptions may not be usable unless at
    least one transport case statement is available.&quot;=C2=A0 But perhap=
s some
    implementation will provide the flexibility of defining a single
    transport for all subscriptions (if this is feasible).<br>
    <br>
    One other observation that could affect the decision here is that
    YANG allows &quot;mandatory: true&quot; to be removed in a future revis=
ion in
    a backwards compatible way, but doesn&#39;t allow it to be added.<br>
    <br>
    Thanks,<br>
    Rob<br>
    <br>
    <br>
    <blockquote type=3D"cite">
      <div dir=3D"ltr">
        <div class=3D"gmail_extra">
          <div class=3D"gmail_quote">
            <div><br>
            </div>
            <div>I prefer the MUST be in the description-stmt for the
              choice,</div>
            <div>instead of &quot;mandatory true&quot;. (I prefer SHOULD bu=
t if
              the WG wants MUST)</div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div>Andy</div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div>=C2=A0</div>
            <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo=
rder-left:1px #ccc solid;padding-left:1ex">
              That would mean that each transport document supporting
              configured subscriptions would then augment transport
              specific parameters to &quot;/subscriptions/subscription/r<wb=
r>eceivers/receiver&quot;.=C2=A0
              =C2=A0And (assuming the &quot;single transport&quot; decision=
 of IETF100
              isn&#39;t changed), that the identity &quot;transport&quot; c=
ould be
              leveraged to enforce that only a single transport specific
              set of credentials are associated with a receiver.=C2=A0 =C2=
=A0<br>
              <br>
              A sample YANG augmentation for NETCONF would then look
              like:<br>
              <br>
              module ietf-netconf-subscribed-notifi<wbr>cations {<br>
              <br>
              =C2=A0 prefix nsn;<br>
              <br>
              =C2=A0 import ietf-netconf-client { prefix ncc; }<br>
              =C2=A0 import ietf-subscribed-notifications { prefix sn; }<br=
>
              <br>
              =C2=A0 identity netconf {<br>
              =C2=A0 =C2=A0 base sn:transport;<br>
              =C2=A0 =C2=A0 base sn:inline-address;<br>
              =C2=A0 =C2=A0 description<br>
              =C2=A0 =C2=A0 =C2=A0 &quot;NETCONF is used as a transport for=
 notification
              messages and<br>
              =C2=A0 =C2=A0 =C2=A0 =C2=A0state change notifications.&quot;;=
<br>
              =C2=A0 }<br>
              <br>
              =C2=A0 augment &quot;/sn:subscriptions/sn:subscrip<wbr>tion/s=
n:receivers/sn:receiver&quot;
              {<br>
              =C2=A0 =C2=A0when &#39;derived-from(../../../transpo<wbr>rt,
              &quot;nsn:netconf&quot;)&#39;;=C2=A0 =C2=A0<br>
              =C2=A0 =C2=A0description<br>
              =C2=A0 =C2=A0 =C2=A0 &quot;This augmentation allows NETCONF s=
pecific
              parameters to be <br>
              =C2=A0 =C2=A0 =C2=A0 exposed for a receiver.&quot;;<br>
              =C2=A0 =C2=A0 leaf netconf-endpoint {<br>
              =C2=A0 =C2=A0 =C2=A0 type leafref {<br>
              =C2=A0 =C2=A0 =C2=A0 =C2=A0 path &quot;/ncc:netconf-client/nc=
c:initi<wbr>ate/ncc:netconf-server&quot;
              + <br>
              =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 &quot=
;/ncc:endpoints/ncc:endpoint/n<wbr>cc:name&quot;;<br>
              =C2=A0 =C2=A0 =C2=A0 }<br>
              =C2=A0 =C2=A0 =C2=A0 mandatory true;<br>
              =C2=A0 =C2=A0 =C2=A0 description<br>
              =C2=A0 =C2=A0 =C2=A0 =C2=A0 &quot;Remote client which need to=
 initiate the NETCONF
              transport if <br>
              =C2=A0 =C2=A0 =C2=A0 =C2=A0 an existing NETCONF session from =
that client is
              not available.&quot;;<br>
              =C2=A0 =C2=A0 }<br>
              =C2=A0 }=C2=A0 <br>
              }<br>
              <br>
              Which results in:<br>
              =C2=A0 +--rw subscriptions<br>
              =C2=A0 =C2=A0 =C2=A0+--rw subscription* <br>
              =C2=A0 =C2=A0 =C2=A0 =C2=A0 +--rw transport=C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0transport=C2=A0 {configured}?<br>
              =C2=A0 =C2=A0 =C2=A0 =C2=A0 +--rw receivers<br>
              =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0+--rw receiver* <br>
              =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 +--rw nsn:ne=
tconf-endpoint=C2=A0 =C2=A0 leafref<br>
              <br>
              Eric<br>
              <br>
              <br>
              &gt; /js<br>
              <span class=3D"m_-8663869857393228201HOEnZb"><font color=3D"#=
888888">&gt; <br>
                  &gt; --<br>
                  &gt; Juergen Schoenwaelder=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0Jacobs University
                  Bremen gGmbH<br>
                  &gt; Phone: +49 421 200 3587=C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0Campus Ring 1 |
                  28759 Bremen | Germany<br>
                  &gt; Fax:=C2=A0 =C2=A0+49 421 200 3103=C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0&lt;<a href=3D"https://www.jacobs-university.de/" rel=3D"n=
oreferrer" target=3D"_blank">https://www.jacobs-universit<wbr>y.de/</a>&gt;=
<br>
                </font></span></blockquote>
          </div>
          <br>
        </div>
      </div>
      <br>
      <fieldset class=3D"m_-8663869857393228201mimeAttachmentHeader"></fiel=
dset>
      <br>
      <pre>______________________________<wbr>_________________
yang-doctors mailing list
<a class=3D"m_-8663869857393228201moz-txt-link-abbreviated" href=3D"mailto:=
yang-doctors@ietf.org" target=3D"_blank">yang-doctors@ietf.org</a>
<a class=3D"m_-8663869857393228201moz-txt-link-freetext" href=3D"https://ww=
w.ietf.org/mailman/listinfo/yang-doctors" target=3D"_blank">https://www.iet=
f.org/mailman/<wbr>listinfo/yang-doctors</a>
</pre>
    </blockquote>
    <br>
  </div>

</blockquote></div><br></div></div>

--0000000000001100520572687fc2--


From nobody Wed Aug  1 18:35:03 2018
Return-Path: <kwatsen@juniper.net>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 90BC7130E97; Wed,  1 Aug 2018 18:34:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level: 
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-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 4XEfxUwPsZ4a; Wed,  1 Aug 2018 18:34:51 -0700 (PDT)
Received: from mx0a-00273201.pphosted.com (mx0a-00273201.pphosted.com [208.84.65.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 58B9B130DD1; Wed,  1 Aug 2018 18:34:51 -0700 (PDT)
Received: from pps.filterd (m0108158.ppops.net [127.0.0.1]) by mx0a-00273201.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w721YEQt025492; Wed, 1 Aug 2018 18:34:49 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=PPS1017; bh=NAcff9gLVIjh4fXVYyD0oLFvHzq33JhvX+kknok1TOY=; b=xjrnrt4Yda7Dr1k7JX6lUDcJKoj9BJPZHBycM5wUrmAtHTZeYFZM7QIgLD2f8sFgtwi8 sq8esP/T5PFizJPMqIbntM0ChZUWA5Z3J9C4Fw1QByGXtB1IYYvSGNyzxtF23AguCVOo 3Bn1ewb9StxBNfYyZxjq0IIau8xae8lx2Z/mPfdzT0Gw8954IXIGY8bJvjbb0qkYzD91 mQDXtIguhMaaQT1On+ZzamG8LH0DUXNcIdagolSpWS/YFiO+hYBoRTx2W5sw14W30RcI w/nqhU7zH6rttMrFM4+sJH+5RaMDeH+/0D4xUEHfpEUlzhHkuxkMaCqcRl0rzP/oznyq ug== 
Received: from nam04-co1-obe.outbound.protection.outlook.com (mail-co1nam04lp0053.outbound.protection.outlook.com [216.32.181.53]) by mx0a-00273201.pphosted.com with ESMTP id 2kkhj5rmrt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 01 Aug 2018 18:34:49 -0700
Received: from DM6PR05MB4665.namprd05.prod.outlook.com (20.176.109.202) by DM6PR05MB4860.namprd05.prod.outlook.com (20.176.112.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1017.12; Thu, 2 Aug 2018 01:34:47 +0000
Received: from DM6PR05MB4665.namprd05.prod.outlook.com ([fe80::e0bc:6a82:571d:258]) by DM6PR05MB4665.namprd05.prod.outlook.com ([fe80::e0bc:6a82:571d:258%2]) with mapi id 15.20.1017.010; Thu, 2 Aug 2018 01:34:47 +0000
From: Kent Watsen <kwatsen@juniper.net>
To: Andy Bierman <andy@yumaworks.com>, Robert Wilton <rwilton@cisco.com>
CC: "yang-doctors@ietf.org" <yang-doctors@ietf.org>, "Eric Voit (evoit)" <evoit@cisco.com>, "netconf@ietf.org" <netconf@ietf.org>
Thread-Topic: [yang-doctors] YANG Doctor question: empty mandatory choice?
Thread-Index: AQHUKbd2gxK9WoMf0kWoD5voFWQc9qSrOzyAgAAwRAA=
Date: Thu, 2 Aug 2018 01:34:47 +0000
Message-ID: <91F96417-7820-42C0-AC6F-3A21694B7A95@juniper.net>
References: <727ae35abd394a85812168615acce2d3@XCH-RTP-013.cisco.com> <20180729.175356.1841285666617255654.mbj@tail-f.com> <77080682bf90495caec48436453e4750@XCH-RTP-013.cisco.com> <20180730.204142.1505732335534077415.mbj@tail-f.com> <20180731174827.n5r2jebon45s2cxy@anna.jacobs.jacobs-university.de> <b8dc903dc04a46088bcca106ac45c4fc@XCH-RTP-013.cisco.com> <CABCOCHQPYyWgXS8Y_n5PN-AEQ5myQXX5s0KvkjQnfAh4VOMbrA@mail.gmail.com> <05ee68cd-ccc0-6803-6c71-b3952ee5608d@cisco.com> <CABCOCHRtg9jB0=b5bPPT3MS0QJcwgAY24Fg0RewXhPMR8Y+O0w@mail.gmail.com> <958669b9-c523-3c43-eca4-fbc255fc1bc8@cisco.com> <CABCOCHRv9VGTwkvcnQz+VZDXK=+5pp-mdxQjdRmE=kXZPSDSXQ@mail.gmail.com>
In-Reply-To: <CABCOCHRv9VGTwkvcnQz+VZDXK=+5pp-mdxQjdRmE=kXZPSDSXQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/f.20.0.170309
x-originating-ip: [66.129.241.13]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; DM6PR05MB4860; 6:KupTNopx+k3pBIQlnXazFXKgzz8RlH2vPA82nSkxPY2PgNE+ZH0FvyiIf6mhHBkGP68EOthkBgqRWw46SqitdcQqdWHuGHVV08rFV8A5zSi20oVraqxCSE1SzSk3xKbIVtPBBcgHi+bxGauK4lntjy9uq7ymFkVF6PC+W5r+Xh0FgnToAoiTCCaXHndQg0TVT1Iu1BcEnj2abEpNhjq12TzDnk7rImyz1hPKz2ZBedExbo2n52bJTP5ziojuo7iT5NsKxI5ZuD4ko3eLwDeDsy+7UX+CtKpi1jshoHNaLGDELKgHKfCkrga84cBy5l2Bd3ECg2uojQ6nCujwfybJ6L0PLIU2Kb8xdVI2fiIJBT8AAW1YYgixfJ96nUnP2tT4M0LgEHAFf557nutMkV69//4ggKL9OMEEnFHb1gvLIX3Q1xUPq0VqhgaSXHsE5dJcVERVTnYrDzjxPx/5q/8Cyg==; 5:ZUuhPxKVvFVS3mORKAg+Sq3i0+snOI/f1mAzJKm+frciEVVgk2c/Vrv4IVk+JL1NKE/N3Ka8vPRtRKmKeerfNUutX1YHdxoFjWZ/X/7BGyzsg7hLjv3XH/1M3hBeqOhl7A7P1UyCtAwkDcoHpr5pfd5TVyyNPR7IBIlMj1WQwRA=; 7:fVNl9DLNQexuRXUEAyr4N/KqJSo6chsdOMw5C12z3TuFUfXrnyVfFhs0Dfj0gXHDFU4aZZQ/KhBLraqXxdtByVZ2xtDkZPCjANgZbESloGLjgRlRZrNfDNWLjqHxEJMb9Src5haqgU3x9kNIo+27xNgIm9VezD0AzVB3+kVSAwqnccBwHjiBCamaim7LEq27jN74Oo2U6av5cnhTeNO0CkY8w+nPGb+tzkb+ci1AJIJrDb6yC5tk7ymteejeZIe4
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-correlation-id: 1b9ae794-6e09-464b-7430-08d5f81821c5
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(5600074)(711020)(4618075)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(7153060)(7193020); SRVR:DM6PR05MB4860; 
x-ms-traffictypediagnostic: DM6PR05MB4860:
x-microsoft-antispam-prvs: <DM6PR05MB48606F8CD92D8A668B5E69AEA52C0@DM6PR05MB4860.namprd05.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(28532068793085)(21748063052155)(17755550239193); 
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231311)(944501410)(52105095)(93006095)(93001095)(10201501046)(3002001)(6055026)(149027)(150027)(6041310)(20161123562045)(20161123560045)(20161123564045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016); SRVR:DM6PR05MB4860; BCL:0; PCL:0; RULEID:; SRVR:DM6PR05MB4860; 
x-forefront-prvs: 07521929C1
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39860400002)(346002)(136003)(396003)(366004)(376002)(199004)(189003)(83716003)(33656002)(14454004)(97736004)(2906002)(3846002)(186003)(99286004)(6506007)(76176011)(106356001)(2900100001)(6116002)(26005)(478600001)(102836004)(105586002)(36756003)(93886005)(81166006)(8676002)(6486002)(2616005)(6246003)(316002)(476003)(11346002)(5660300001)(446003)(81156014)(486006)(7736002)(86362001)(66066001)(25786009)(54906003)(68736007)(110136005)(14444005)(256004)(58126008)(6436002)(6512007)(54896002)(4326008)(6306002)(82746002)(53936002)(5250100002)(8936002)(229853002); DIR:OUT; SFP:1102; SCL:1; SRVR:DM6PR05MB4860; H:DM6PR05MB4665.namprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; 
received-spf: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
x-microsoft-antispam-message-info: KA5DZ6pkAgHo4BSu6P/cGUPH8CCrMO4NkkHosH0Ufs7an7mp/o7CzEVgd1OTBtUDvbhrXTdLe/R6ecNXiWKK7t/0R71tBSSuMNVEfAK9iAn/NdIy5atCV03RR0DaweB2RglkrQybjQxgdePK4vxKk/d1EXiVVAaU9Vvw5DVCZvbicUeX/yKZMwCjm1ICwW10GAQpFlVMIdtCwwdyzXODG6Jhfjwlyw0ZVoQel5cf2R7Jf8AgloN2bx9qh36tMMpIo4Gf08iPckKltn5MMKWcgaGYyQO6fssMLaIoY7RbU/KVcNab2wvlSlua8W8sVoGONN5DGWrt0epq206Gozs1zQsQW4kdd7N9mx+TOFv0cXM=
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_91F96417782042C0AC6F3A21694B7A95junipernet_"
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-Network-Message-Id: 1b9ae794-6e09-464b-7430-08d5f81821c5
X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Aug 2018 01:34:47.0864 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR05MB4860
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-08-01_09:, , signatures=0
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=921 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1806210000 definitions=main-1808020016
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/_qRb217xsqIJG5RLbSYeNCJl3zg>
Subject: Re: [yang-doctors] YANG Doctor question: empty mandatory choice?
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: Email list of the yang-doctors directorate  <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 02 Aug 2018 01:34:55 -0000

--_000_91F96417782042C0AC6F3A21694B7A95junipernet_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64

DQo+IEl0IGp1c3Qgc2VlbXMgc3RyYW5nZSB0aGF0IHRoZSBtb2RlbCBkZXNpZ25lcnMgYXJlIHBv
c2l0aXZlIHRoZSBzb2x1dGlvbiBiZWxvbmdzIGluIGENCj4gY2FzZS1zdG10IGluc2lkZSB0aGlz
IGNob2ljZS4gIFNvIHBvc2l0aXZlIHRoYXQgTVVTVCBpcyBpbiBvcmRlciwgd2hpY2ggbWVhbnMg
aGFybQ0KPiB0byB0aGUgSW50ZXJuZXQgd2lsbCBoYXBwZW4gaWYgdGhpcyBjaG9pY2UgaXMgbm90
IHByb3ZpZGVkLCB3aXRoIG5vIHBvc3NpYmlsaXR5IG9mIGFueQ0KPiAgZXhjZXB0aW9uIGV2ZXIu
DQoNCkRpc2FncmVlLiAgQXMgUm9iZXJ0IHBvaW50ZWQgb3V0LCB0aGUgeWFuZyB1cGRhdGUgcnVs
ZXMgYWxsb3cgbWFuZGF0b3J5IHRydWUgdG8NCmJlY29tZSBtYW5kYXRvcnkgZmFsc2UuICBJbiBt
eSB2aWV3LCBjaG9vc2luZyB0byBkbyB0aGUgIm1hbmRhdG9yeSB0cnVlIiBub3cNCmlzIHRoZSBj
b25zZXJ2YXRpdmUgY2hvaWNlLg0KDQpQUzogSSBkbyBub3QgYmVsaWV2ZSBpdCBpcyBwb3NzaWJs
ZSB0byBoYXZlIGEgcmVjZWl2ZXIgdGhhdCBkb2VzIG5vdCBkZWZpbmUgYSB0cmFuc3BvcnQuDQog
ICAgICAgSWYgdGhhdCB3ZXJlIGFsbG93ZWQsIHRoZW4gaXQgd291bGQgYmUgdmVuZG9yIG1hZ2lj
Lg0KDQpLZW50IC8vIGNvbnRyaWJ1dG9yDQoNCg==

--_000_91F96417782042C0AC6F3A21694B7A95junipernet_
Content-Type: text/html; charset="utf-8"
Content-ID: <2B182AA78B7F3340ACED8C49F63952E4@namprd05.prod.outlook.com>
Content-Transfer-Encoding: base64

PGh0bWwgeG1sbnM6bz0idXJuOnNjaGVtYXMtbWljcm9zb2Z0LWNvbTpvZmZpY2U6b2ZmaWNlIiB4
bWxuczp3PSJ1cm46c2NoZW1hcy1taWNyb3NvZnQtY29tOm9mZmljZTp3b3JkIiB4bWxuczptPSJo
dHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL29mZmljZS8yMDA0LzEyL29tbWwiIHhtbG5zPSJo
dHRwOi8vd3d3LnczLm9yZy9UUi9SRUMtaHRtbDQwIj4NCjxoZWFkPg0KPG1ldGEgaHR0cC1lcXVp
dj0iQ29udGVudC1UeXBlIiBjb250ZW50PSJ0ZXh0L2h0bWw7IGNoYXJzZXQ9dXRmLTgiPg0KPG1l
dGEgbmFtZT0iVGl0bGUiIGNvbnRlbnQ9IiI+DQo8bWV0YSBuYW1lPSJLZXl3b3JkcyIgY29udGVu
dD0iIj4NCjxtZXRhIG5hbWU9IkdlbmVyYXRvciIgY29udGVudD0iTWljc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uc3BvcnQuPG86cD48
L286cD48L3NwYW4+PC9wPg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+PHNwYW4gc3R5bGU9ImZvbnQt
ZmFtaWx5OiZxdW90Oy13ZWJraXQtc3RhbmRhcmQmcXVvdDssJnF1b3Q7c2VyaWYmcXVvdDs7Y29s
b3I6YmxhY2siPiZuYnNwOyZuYnNwOyZuYnNwOyAmbmJzcDsmbmJzcDsmbmJzcDtJZiB0aGF0IHdl
cmUgYWxsb3dlZCwgdGhlbiBpdCB3b3VsZCBiZSB2ZW5kb3IgbWFnaWMuPG86cD48L286cD48L3Nw
YW4+PC9wPg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+PHNwYW4gc3R5bGU9ImZvbnQtZmFtaWx5OiZx
dW90Oy13ZWJraXQtc3RhbmRhcmQmcXVvdDssJnF1b3Q7c2VyaWYmcXVvdDs7Y29sb3I6YmxhY2si
PjxvOnA+Jm5ic3A7PC9vOnA+PC9zcGFuPjwvcD4NCjwvZGl2Pg0KPHAgY2xhc3M9Ik1zb05vcm1h
bCI+PHNwYW4gc3R5bGU9ImZvbnQtZmFtaWx5OiZxdW90Oy13ZWJraXQtc3RhbmRhcmQmcXVvdDss
JnF1b3Q7c2VyaWYmcXVvdDs7Y29sb3I6YmxhY2siPktlbnQgLy8gY29udHJpYnV0b3I8bzpwPjwv
bzpwPjwvc3Bhbj48L3A+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj48bzpwPiZuYnNwOzwvbzpwPjwv
cD4NCjwvZGl2Pg0KPC9ib2R5Pg0KPC9odG1sPg0K

--_000_91F96417782042C0AC6F3A21694B7A95junipernet_--


From nobody Wed Aug  1 18:42:10 2018
Return-Path: <andy@yumaworks.com>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D4804130DFF for <yang-doctors@ietfa.amsl.com>; Wed,  1 Aug 2018 18:42:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level: 
X-Spam-Status: No, score=-1.91 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, T_DKIMWL_WL_MED=-0.01] 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 ozPBMuHB9Bcv for <yang-doctors@ietfa.amsl.com>; Wed,  1 Aug 2018 18:42:07 -0700 (PDT)
Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) (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 B8DF1130DD1 for <yang-doctors@ietf.org>; Wed,  1 Aug 2018 18:42:06 -0700 (PDT)
Received: by mail-lj1-x231.google.com with SMTP id l15-v6so453687lji.6 for <yang-doctors@ietf.org>; Wed, 01 Aug 2018 18:42:06 -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=xP196//9kv5k5Y18I2vbzp0hZnSPUAqhSsPG5KXpnIc=; b=ZVmB+T+6LGzyW//KeqN61EKG1Pux3w0nQT+l42DU8Z3tdLlqOu0bRqrBC7LEGQzWcr SCQ89l/YIXQatQzpDz/nGNuafauceyuL/JoBSTMwrr00z720VnFEbrmGkpvWR9GgoOL2 41icwpeQ2fQFkn8CTEjsCaQTZe0RG29nU6k3xf3SMpG9YfRZxt8qOyuleRatvkjQVYCi qZ7DUcyaoqheVKIQRGGmCv0HB9S8ORqGwCkWsRjs7cFE9ELGcykoc4dQiRrBW2x1Z7WM FGmulVpv94fz0eT8xLLRQB+ombcNZrzOQutqi/OUn0b/hW1c76UAx9osRn8DVLpfyuqD nUzg==
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=xP196//9kv5k5Y18I2vbzp0hZnSPUAqhSsPG5KXpnIc=; b=pSgOxeXgJ6rOUV5LPNMP7i2GEuQkXlaEgD3t0RT7skGxZ2SAn03LpviY46lKMovPyZ 8BnInI8hLtCQKzrrBjHPchHK/65MK9FqcyVbz1xVrJCcbRxRuzgQYBYnMdJsSza+Vmhs E9gN6IYnTdwISpYlj6zrZ5IbczxqBfPQBOWW+YdFKj125/97oRbImeJMkhs3w8F1ewXn sheEjmcsro97PkVVWWiNfl4//CppzaietbQ66f6mdp3knB/h/PhykY+F15cHMybWteyN +qum5fHrWDu0o+/AS7aAW1gZZXMbbt/7lf3ptYQDWB/iOPF/m/ryiusDPPaBbMKCAwwW yr+A==
X-Gm-Message-State: AOUpUlENu5qLyBIqZnCbheWD8fFVw7b3/AE9krK80BYwV6V9IwMFZoE4 etSP1Is07pTnElU1XslMTFR5EDsumXntFkw1iTVHMR+B
X-Google-Smtp-Source: AAOMgpf8PJLpYejRPaA+zK/cFGpi7LOpXYnBP3Pl05jtkqcnlDzMZKWhWR+GU64ZOEL4yKtURhV7kDZbiEIshY7MIDA=
X-Received: by 2002:a2e:1dc8:: with SMTP id w69-v6mr466644lje.110.1533174124854;  Wed, 01 Aug 2018 18:42:04 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:a19:aa46:0:0:0:0:0 with HTTP; Wed, 1 Aug 2018 18:42:03 -0700 (PDT)
In-Reply-To: <91F96417-7820-42C0-AC6F-3A21694B7A95@juniper.net>
References: <727ae35abd394a85812168615acce2d3@XCH-RTP-013.cisco.com> <20180729.175356.1841285666617255654.mbj@tail-f.com> <77080682bf90495caec48436453e4750@XCH-RTP-013.cisco.com> <20180730.204142.1505732335534077415.mbj@tail-f.com> <20180731174827.n5r2jebon45s2cxy@anna.jacobs.jacobs-university.de> <b8dc903dc04a46088bcca106ac45c4fc@XCH-RTP-013.cisco.com> <CABCOCHQPYyWgXS8Y_n5PN-AEQ5myQXX5s0KvkjQnfAh4VOMbrA@mail.gmail.com> <05ee68cd-ccc0-6803-6c71-b3952ee5608d@cisco.com> <CABCOCHRtg9jB0=b5bPPT3MS0QJcwgAY24Fg0RewXhPMR8Y+O0w@mail.gmail.com> <958669b9-c523-3c43-eca4-fbc255fc1bc8@cisco.com> <CABCOCHRv9VGTwkvcnQz+VZDXK=+5pp-mdxQjdRmE=kXZPSDSXQ@mail.gmail.com> <91F96417-7820-42C0-AC6F-3A21694B7A95@juniper.net>
From: Andy Bierman <andy@yumaworks.com>
Date: Wed, 1 Aug 2018 18:42:03 -0700
Message-ID: <CABCOCHTKLC8hBXLQ=55LkhVJ=0YDV1RRjmyWWCgXU+ucKt2b-Q@mail.gmail.com>
To: Kent Watsen <kwatsen@juniper.net>
Cc: Robert Wilton <rwilton@cisco.com>, "yang-doctors@ietf.org" <yang-doctors@ietf.org>,  "Eric Voit (evoit)" <evoit@cisco.com>, "netconf@ietf.org" <netconf@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000175191057269eb96"
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/tVTnUvocdfUjx19yromJcJQ2xg4>
Subject: Re: [yang-doctors] YANG Doctor question: empty mandatory choice?
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: Email list of the yang-doctors directorate  <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 02 Aug 2018 01:42:09 -0000

--000000000000175191057269eb96
Content-Type: text/plain; charset="UTF-8"

On Wed, Aug 1, 2018 at 6:34 PM, Kent Watsen <kwatsen@juniper.net> wrote:

>
>
> > It just seems strange that the model designers are positive the solution
> belongs in a
>
> > case-stmt inside this choice.  So positive that MUST is in order, which
> means harm
>
> > to the Internet will happen if this choice is not provided, with no
> possibility of any
>
> >  exception ever.
>
>
>
> Disagree.  As Robert pointed out, the yang update rules allow mandatory
> true to
>
> become mandatory false.  In my view, choosing to do the "mandatory true"
> now
>
> is the conservative choice.
>
>
>
> PS: I do not believe it is possible to have a receiver that does not
> define a transport.
>
>        If that were allowed, then it would be vendor magic.
>
>
>


OK -- I do think it is a huge burden for a vendor to provide an augment,
even if it is just to indicate "my real transport config is over there
or it is not in YANG".



> Kent // contributor
>
>
>

Andy

--000000000000175191057269eb96
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Wed, Aug 1, 2018 at 6:34 PM, Kent Watsen <span dir=3D"ltr">&lt;<a hr=
ef=3D"mailto:kwatsen@juniper.net" target=3D"_blank">kwatsen@juniper.net</a>=
&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0=
 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">







<div bgcolor=3D"white" lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"m_-6129473516903291836WordSection1">
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;-webkit-standard&qu=
ot;,&quot;serif&quot;;color:black">&gt; It just seems strange that the mode=
l designers are positive the solution belongs in a<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;-webkit-standard&qu=
ot;,&quot;serif&quot;;color:black">&gt; case-stmt inside this choice.=C2=A0=
 So positive that MUST is in order, which means harm<u></u><u></u></span></=
p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;-webkit-standard&qu=
ot;,&quot;serif&quot;;color:black">&gt; to the Internet will happen if this=
 choice is not provided, with no possibility of any<u></u><u></u></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;-webkit-standard&qu=
ot;,&quot;serif&quot;;color:black">&gt; =C2=A0exception ever.<u></u><u></u>=
</span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;-webkit-standard&qu=
ot;,&quot;serif&quot;;color:black"><u></u>=C2=A0<u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;-webkit-standard&qu=
ot;,&quot;serif&quot;;color:black">Disagree.=C2=A0 As Robert pointed out, t=
he yang update rules allow mandatory true to
<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;-webkit-standard&qu=
ot;,&quot;serif&quot;;color:black">become mandatory false.=C2=A0 In my view=
, choosing to do the &quot;mandatory true&quot; now<u></u><u></u></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;-webkit-standard&qu=
ot;,&quot;serif&quot;;color:black">is the conservative choice.<u></u><u></u=
></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;-webkit-standard&qu=
ot;,&quot;serif&quot;;color:black"><u></u>=C2=A0<u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;-webkit-standard&qu=
ot;,&quot;serif&quot;;color:black">PS: I do not believe it is possible to h=
ave a receiver that does not define a transport.<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;-webkit-standard&qu=
ot;,&quot;serif&quot;;color:black">=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0If =
that were allowed, then it would be vendor magic.<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;-webkit-standard&qu=
ot;,&quot;serif&quot;;color:black"><u></u>=C2=A0</span></p></div></div></di=
v></blockquote><div><br></div><div><br></div><div>OK -- I do think it is a =
huge burden for a vendor to provide an augment,</div><div>even if it is jus=
t to indicate &quot;my real transport config is over there</div><div>or it =
is not in YANG&quot;.</div><div><br></div><div>=C2=A0</div><blockquote clas=
s=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pad=
ding-left:1ex"><div bgcolor=3D"white" lang=3D"EN-US" link=3D"blue" vlink=3D=
"purple"><div class=3D"m_-6129473516903291836WordSection1"><div><p class=3D=
"MsoNormal"><span style=3D"font-family:&quot;-webkit-standard&quot;,&quot;s=
erif&quot;;color:black"><u></u></span></p>
</div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;-webkit-standard&qu=
ot;,&quot;serif&quot;;color:black">Kent // contributor<u></u><u></u></span>=
</p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
</div>

</blockquote></div><br></div><div class=3D"gmail_extra">Andy</div><div clas=
s=3D"gmail_extra"><br></div></div>

--000000000000175191057269eb96--


From nobody Thu Aug  2 03:39:48 2018
Return-Path: <rwilton@cisco.com>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E74C4130E0F; Thu,  2 Aug 2018 03:39:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.51
X-Spam-Level: 
X-Spam-Status: No, score=-14.51 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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, T_DKIMWL_WL_MED=-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 f1akfO3EfrgN; Thu,  2 Aug 2018 03:39:43 -0700 (PDT)
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 C5EDB130DFA; Thu,  2 Aug 2018 03:39:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=26316; q=dns/txt; s=iport; t=1533206382; x=1534415982; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to; bh=4K/MlFp3ysenDTCuPJpPPa+DT9fK/7GEuUx1HfM9HBg=; b=QtB96u/8j08c7VVKEJNfvFp2a4ZnTqyycOrGFNxUInXW0sAHLgZnp43D 7V+08uu081FQ6P5XWGRcZRbigW3n39MSH4Hq/kyUqGfboGWMA9YInO8Qq b9wt50SJH8sXWvjwB0/Hj6i7yDpzXMYJT2gwI5YXG4Pkq6HpuFQiGlZux c=;
X-IronPort-AV: E=Sophos;i="5.51,435,1526342400"; d="scan'208,217";a="5519398"
Received: from aer-iport-nat.cisco.com (HELO aer-core-3.cisco.com) ([173.38.203.22]) by aer-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Aug 2018 10:39:40 +0000
Received: from [10.63.23.106] (dhcp-ensft1-uk-vla370-10-63-23-106.cisco.com [10.63.23.106]) by aer-core-3.cisco.com (8.15.2/8.15.2) with ESMTP id w72Ade6T003048; Thu, 2 Aug 2018 10:39:40 GMT
To: Andy Bierman <andy@yumaworks.com>
Cc: "Eric Voit (evoit)" <evoit@cisco.com>, "yang-doctors@ietf.org" <yang-doctors@ietf.org>, "netconf@ietf.org" <netconf@ietf.org>
References: <727ae35abd394a85812168615acce2d3@XCH-RTP-013.cisco.com> <20180729.175356.1841285666617255654.mbj@tail-f.com> <77080682bf90495caec48436453e4750@XCH-RTP-013.cisco.com> <20180730.204142.1505732335534077415.mbj@tail-f.com> <20180731174827.n5r2jebon45s2cxy@anna.jacobs.jacobs-university.de> <b8dc903dc04a46088bcca106ac45c4fc@XCH-RTP-013.cisco.com> <CABCOCHQPYyWgXS8Y_n5PN-AEQ5myQXX5s0KvkjQnfAh4VOMbrA@mail.gmail.com> <05ee68cd-ccc0-6803-6c71-b3952ee5608d@cisco.com> <CABCOCHQn6aVV6iEL8pCUAf1QGNQM=1GNEtyX9iTV03Cm1tpivQ@mail.gmail.com>
From: Robert Wilton <rwilton@cisco.com>
Message-ID: <ce907eec-8bc0-2b04-0ad4-15a7eb54673f@cisco.com>
Date: Thu, 2 Aug 2018 11:39:40 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
MIME-Version: 1.0
In-Reply-To: <CABCOCHQn6aVV6iEL8pCUAf1QGNQM=1GNEtyX9iTV03Cm1tpivQ@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------62BC7301CDC660240564367D"
Content-Language: en-US
X-Outbound-SMTP-Client: 10.63.23.106, dhcp-ensft1-uk-vla370-10-63-23-106.cisco.com
X-Outbound-Node: aer-core-3.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/0iEEfK-HYDqzUcsLk6-F12MB-tc>
Subject: Re: [yang-doctors] YANG Doctor question: empty mandatory choice?
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: Email list of the yang-doctors directorate  <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 02 Aug 2018 10:39:47 -0000

This is a multi-part message in MIME format.
--------------62BC7301CDC660240564367D
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit



On 02/08/2018 01:00, Andy Bierman wrote:
>
>
> On Wed, Aug 1, 2018 at 9:01 AM, Robert Wilton <rwilton@cisco.com 
> <mailto:rwilton@cisco.com>> wrote:
>
>
>
>     On 31/07/2018 21:31, Andy Bierman wrote:
>>
>>
>>     On Tue, Jul 31, 2018 at 12:39 PM, Eric Voit (evoit)
>>     <evoit@cisco.com <mailto:evoit@cisco.com>> wrote:
>>
>>         > From: Juergen Schoenwaelder, July 31, 2018 1:48 PM
>>         >
>>         > On Mon, Jul 30, 2018 at 08:41:42PM +0200, Martin Bjorklund
>>         wrote:
>>         > >
>>         > > The empty mandatory choice does provide value since it
>>         requires that
>>         > > some transport-specific parameters are configured. 
>>         However, can we
>>         > > assume that all transports require configuration
>>         parameters here?
>>         >
>>         > Can you have a receiver without any transport parameters?
>>         >
>>         > > It is probably safest to not have a mandatory choice, and
>>         instead
>>         > > ensure that each transport augements the proper params --
>>         and since
>>         > > this is YANG 1.1, the transport params that are augmented
>>         can actually
>>         > > be marked as mandatory.
>>         >
>>         > Frankly, an empty mandatory choice quite clearly says "this
>>         is incomplete and
>>         > unusable without an augmentation".
>>
>>         My read above is the YANG doctor's position is that we should
>>         *not* use the empty mandatory choice.  Let me know if I got
>>         this wrong.
>>
>>
>>     I do not think a consensus call has been done yet, but I agree
>>     with Juergen
>>     and already raised the point that YANG conformance does not handle a
>>     "MUST augment" use-case very well.
>     I think that "empty choice + mandatory true" it is OK from a
>     conformance perspective.
>
>
>
> It really is not OK, and has never been OK, which is why I think the 
> next version of YANG
> should try to get this right.
>
> As a client developer, I want to know the contract in advance, without 
> any missing clauses.
> With a self-contained module (only internal + augment + uses) the 
> entire contract is clear
> (at least module names are specified, maybe not revisions on imports 
>  (Ver DT will fix that)
>
> A mandatory choice depending on 100% external augments is not 
> self-contained.
> It is not a complete contract.
>
> IMO, the way to fix it is to expand the conformance for YANG modules 
> so that packages
> could be specified, or perhaps virtual external dependencies. YANG 
> catalog says what a vendor
> does implement. YANG Conformance says what a vendor is supposed to 
> implement.
> The client developer needs to know both.
So, this is moving away from Eric's issue.

Yes, I agree that we need to define something like packages.

Although I can partly see conformance at being at the module level, I'm 
not convinced that is most useful.  Instead, once you consider 
deviations and data node lifecycles, then I think that it is more 
helpful to consider conformance at the schema (and per data-node) level.

In the case of schema, I mean the combination of (a set of implemented 
module revisions (including deviations), import-only module revisions, 
supported features, supported datastores).  I.e. the information that is 
being exposed via YANG libary(-bis).

So, for a client to check whether a device will accept its 
configuration, it constructs a schema of all data nodes it is 
configuring/accessing, along with their types and constraints, and then 
compares every data node in the schema against the schema supported by 
the device (yes, I agree that the schema should be available up front 
rather than only via YANG library, which is similar to Balazs's draft 
relating to YANG instance data).

I anticipate that your reaction might be to say that this sounds very 
complicated, but at the end of the day, I think that this is probably 
the simplest robust way of ensuring compatibility, once you take 
deviations, versioning, features all into account.

Thanks,
Rob


>
>
> Andy
>
>     The concept seems similar to an programmatic interface, abstract
>     class, or even the abstract identity idea that has been proposed
>     for YANG.  If a server implements the module but no augments of
>     the choice then it cannot be configured because the constraint
>     will always fail.  Andy, is your concern that tooling will warn
>     that part of the model is unusable?
>
>
>
>     I have to say that much prefer the option of putting "mandatory:
>     true" in the choice than "MUST provide an implementation" in the
>     description because the former is machine readable whilst the
>     latter is not.
>
>     However, I would also be fine not to have the "mandatory: true",
>     but with the choice description to state something along the lines
>     that the empty choice is to allow for augmentations of different
>     transports, and configured subscriptions may not be usable unless
>     at least one transport case statement is available."  But perhaps
>     some implementation will provide the flexibility of defining a
>     single transport for all subscriptions (if this is feasible).
>
>     One other observation that could affect the decision here is that
>     YANG allows "mandatory: true" to be removed in a future revision
>     in a backwards compatible way, but doesn't allow it to be added.
>
>     Thanks,
>     Rob
>
>
>>
>>     I prefer the MUST be in the description-stmt for the choice,
>>     instead of "mandatory true". (I prefer SHOULD but if the WG wants
>>     MUST)
>>
>>
>>     Andy
>>
>>
>>
>>         That would mean that each transport document supporting
>>         configured subscriptions would then augment transport
>>         specific parameters to
>>         "/subscriptions/subscription/receivers/receiver".  And
>>         (assuming the "single transport" decision of IETF100 isn't
>>         changed), that the identity "transport" could be leveraged to
>>         enforce that only a single transport specific set of
>>         credentials are associated with a receiver.
>>
>>         A sample YANG augmentation for NETCONF would then look like:
>>
>>         module ietf-netconf-subscribed-notifications {
>>
>>           prefix nsn;
>>
>>           import ietf-netconf-client { prefix ncc; }
>>           import ietf-subscribed-notifications { prefix sn; }
>>
>>           identity netconf {
>>             base sn:transport;
>>             base sn:inline-address;
>>             description
>>               "NETCONF is used as a transport for notification
>>         messages and
>>                state change notifications.";
>>           }
>>
>>           augment
>>         "/sn:subscriptions/sn:subscription/sn:receivers/sn:receiver" {
>>            when 'derived-from(../../../transport, "nsn:netconf")';
>>            description
>>               "This augmentation allows NETCONF specific parameters
>>         to be
>>               exposed for a receiver.";
>>             leaf netconf-endpoint {
>>               type leafref {
>>                 path
>>         "/ncc:netconf-client/ncc:initiate/ncc:netconf-server" +
>>                         "/ncc:endpoints/ncc:endpoint/ncc:name";
>>               }
>>               mandatory true;
>>               description
>>                 "Remote client which need to initiate the NETCONF
>>         transport if
>>                 an existing NETCONF session from that client is not
>>         available.";
>>             }
>>           }
>>         }
>>
>>         Which results in:
>>           +--rw subscriptions
>>              +--rw subscription*
>>                 +--rw transport         transport {configured}?
>>                 +--rw receivers
>>                    +--rw receiver*
>>                       +--rw nsn:netconf-endpoint leafref
>>
>>         Eric
>>
>>
>>         > /js
>>         > 
>>         > --
>>         > Juergen Schoenwaelder  Jacobs University Bremen gGmbH
>>         > Phone: +49 421 200 3587  Campus Ring 1 | 28759 Bremen | Germany
>>         > Fax:   +49 421 200 3103       
>>          <https://www.jacobs-university.de/
>>         <https://www.jacobs-university.de/>>
>>
>>
>>
>>
>>     _______________________________________________
>>     yang-doctors mailing list
>>     yang-doctors@ietf.org <mailto:yang-doctors@ietf.org>
>>     https://www.ietf.org/mailman/listinfo/yang-doctors
>>     <https://www.ietf.org/mailman/listinfo/yang-doctors>
>
>


--------------62BC7301CDC660240564367D
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 02/08/2018 01:00, Andy Bierman
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CABCOCHQn6aVV6iEL8pCUAf1QGNQM=1GNEtyX9iTV03Cm1tpivQ@mail.gmail.com">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <div dir="ltr"><br>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Wed, Aug 1, 2018 at 9:01 AM,
            Robert Wilton <span dir="ltr">&lt;<a
                href="mailto:rwilton@cisco.com" target="_blank"
                moz-do-not-send="true">rwilton@cisco.com</a>&gt;</span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div text="#000000" bgcolor="#FFFFFF">
                <p><br>
                </p>
                <br>
                <div class="m_-8663869857393228201moz-cite-prefix">On
                  31/07/2018 21:31, Andy Bierman wrote:<br>
                </div>
                <blockquote type="cite">
                  <div dir="ltr"><br>
                    <div class="gmail_extra"><br>
                      <div class="gmail_quote">On Tue, Jul 31, 2018 at
                        12:39 PM, Eric Voit (evoit) <span dir="ltr">&lt;<a
                            href="mailto:evoit@cisco.com"
                            target="_blank" moz-do-not-send="true">evoit@cisco.com</a>&gt;</span>
                        wrote:<br>
                        <blockquote class="gmail_quote" style="margin:0
                          0 0 .8ex;border-left:1px #ccc
                          solid;padding-left:1ex">&gt; From: Juergen
                          Schoenwaelder, July 31, 2018 1:48 PM<br>
                          &gt; <br>
                          &gt; On Mon, Jul 30, 2018 at 08:41:42PM +0200,
                          Martin Bjorklund wrote:<br>
                          &gt; &gt;<br>
                          &gt; &gt; The empty mandatory choice does
                          provide value since it requires that<br>
                          &gt; &gt; some transport-specific parameters
                          are configured.  However, can we<br>
                          &gt; &gt; assume that all transports require
                          configuration parameters here?<br>
                          &gt; <br>
                          &gt; Can you have a receiver without any
                          transport parameters?<br>
                          &gt; <br>
                          &gt; &gt; It is probably safest to not have a
                          mandatory choice, and instead<br>
                          &gt; &gt; ensure that each transport augements
                          the proper params -- and since<br>
                          &gt; &gt; this is YANG 1.1, the transport
                          params that are augmented can actually<br>
                          &gt; &gt; be marked as mandatory.<br>
                          &gt; <br>
                          &gt; Frankly, an empty mandatory choice quite
                          clearly says "this is incomplete and<br>
                          &gt; unusable without an augmentation".<br>
                          <br>
                          My read above is the YANG doctor's position is
                          that we should *not* use the empty mandatory
                          choice.  Let me know if I got this wrong.<br>
                          <br>
                        </blockquote>
                        <div><br>
                        </div>
                        <div>I do not think a consensus call has been
                          done yet, but I agree with Juergen</div>
                        <div>and already raised the point that YANG
                          conformance does not handle a</div>
                        <div>"MUST augment" use-case very well.</div>
                      </div>
                    </div>
                  </div>
                </blockquote>
                I think that "empty choice + mandatory true" it is OK
                from a conformance perspective. </div>
            </blockquote>
            <div><br>
            </div>
            <div><br>
            </div>
            <div>It really is not OK, and has never been OK, which is
              why I think the next version of YANG</div>
            <div>should try to get this right.</div>
            <div><br>
            </div>
            <div>As a client developer, I want to know the contract in
              advance, without any missing clauses.</div>
            <div>With a self-contained module (only internal + augment +
              uses) the entire contract is clear</div>
            <div>(at least module names are specified, maybe not
              revisions on imports  (Ver DT will fix that)</div>
            <div><br>
            </div>
            <div>A mandatory choice depending on 100% external augments
              is not self-contained.</div>
            <div>It is not a complete contract.</div>
            <div><br>
            </div>
            <div>IMO, the way to fix it is to expand the conformance for
              YANG modules so that packages</div>
            <div>could be specified, or perhaps virtual external
              dependencies. YANG catalog says what a vendor</div>
            <div>does implement. YANG Conformance says what a vendor is
              supposed to implement.</div>
            <div>The client developer needs to know both.</div>
          </div>
        </div>
      </div>
    </blockquote>
    So, this is moving away from Eric's issue.<br>
    <br>
    Yes, I agree that we need to define something like packages.<br>
    <br>
    Although I can partly see conformance at being at the module level,
    I'm not convinced that is most useful.  Instead, once you consider
    deviations and data node lifecycles, then I think that it is more
    helpful to consider conformance at the schema (and per data-node)
    level.<br>
    <br>
    In the case of schema, I mean the combination of (a set of
    implemented module revisions (including deviations), import-only
    module revisions, supported features, supported datastores).  I.e.
    the information that is being exposed via YANG libary(-bis).<br>
    <br>
    So, for a client to check whether a device will accept its
    configuration, it constructs a schema of all data nodes it is
    configuring/accessing, along with their types and constraints, and
    then compares every data node in the schema against the schema
    supported by the device (yes, I agree that the schema should be
    available up front rather than only via YANG library, which is
    similar to Balazs's draft relating to YANG instance data).<br>
    <br>
    I anticipate that your reaction might be to say that this sounds
    very complicated, but at the end of the day, I think that this is
    probably the simplest robust way of ensuring compatibility, once you
    take deviations, versioning, features all into account.<br>
    <br>
    Thanks,<br>
    Rob<br>
    <br>
    <br>
    <blockquote type="cite"
cite="mid:CABCOCHQn6aVV6iEL8pCUAf1QGNQM=1GNEtyX9iTV03Cm1tpivQ@mail.gmail.com">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <div><br>
            </div>
            <div><br>
            </div>
            <div>Andy</div>
            <div><br>
            </div>
            <div> </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div text="#000000" bgcolor="#FFFFFF"> The concept seems
                similar to an programmatic interface, abstract class, or
                even the abstract identity idea that has been proposed
                for YANG.  If a server implements the module but no
                augments of the choice then it cannot be configured
                because the constraint will always fail.  Andy, is your
                concern that tooling will warn that part of the model is
                unusable?<br>
                <br>
              </div>
            </blockquote>
            <div><br>
            </div>
            <div><br>
            </div>
            <div> </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div text="#000000" bgcolor="#FFFFFF"> I have to say that
                much prefer the option of putting "mandatory: true" in
                the choice than "MUST provide an implementation" in the
                description because the former is machine readable
                whilst the latter is not. <br>
                <br>
                However, I would also be fine not to have the
                "mandatory: true", but with the choice description to
                state something along the lines that the empty choice is
                to allow for augmentations of different transports, and
                configured subscriptions may not be usable unless at
                least one transport case statement is available."  But
                perhaps some implementation will provide the flexibility
                of defining a single transport for all subscriptions (if
                this is feasible).<br>
                <br>
                One other observation that could affect the decision
                here is that YANG allows "mandatory: true" to be removed
                in a future revision in a backwards compatible way, but
                doesn't allow it to be added.<br>
                <br>
                Thanks,<br>
                Rob<br>
                <br>
                <br>
                <blockquote type="cite">
                  <div dir="ltr">
                    <div class="gmail_extra">
                      <div class="gmail_quote">
                        <div><br>
                        </div>
                        <div>I prefer the MUST be in the
                          description-stmt for the choice,</div>
                        <div>instead of "mandatory true". (I prefer
                          SHOULD but if the WG wants MUST)</div>
                        <div><br>
                        </div>
                        <div><br>
                        </div>
                        <div>Andy</div>
                        <div><br>
                        </div>
                        <div><br>
                        </div>
                        <div><br>
                        </div>
                        <div> </div>
                        <blockquote class="gmail_quote" style="margin:0
                          0 0 .8ex;border-left:1px #ccc
                          solid;padding-left:1ex"> That would mean that
                          each transport document supporting configured
                          subscriptions would then augment transport
                          specific parameters to
                          "/subscriptions/subscription/r<wbr>eceivers/receiver". 
                           And (assuming the "single transport" decision
                          of IETF100 isn't changed), that the identity
                          "transport" could be leveraged to enforce that
                          only a single transport specific set of
                          credentials are associated with a receiver.   <br>
                          <br>
                          A sample YANG augmentation for NETCONF would
                          then look like:<br>
                          <br>
                          module ietf-netconf-subscribed-notifi<wbr>cations
                          {<br>
                          <br>
                            prefix nsn;<br>
                          <br>
                            import ietf-netconf-client { prefix ncc; }<br>
                            import ietf-subscribed-notifications {
                          prefix sn; }<br>
                          <br>
                            identity netconf {<br>
                              base sn:transport;<br>
                              base sn:inline-address;<br>
                              description<br>
                                "NETCONF is used as a transport for
                          notification messages and<br>
                                 state change notifications.";<br>
                            }<br>
                          <br>
                            augment "/sn:subscriptions/sn:subscrip<wbr>tion/sn:receivers/sn:receiver"
                          {<br>
                             when 'derived-from(../../../transpo<wbr>rt,
                          "nsn:netconf")';   <br>
                             description<br>
                                "This augmentation allows NETCONF
                          specific parameters to be <br>
                                exposed for a receiver.";<br>
                              leaf netconf-endpoint {<br>
                                type leafref {<br>
                                  path "/ncc:netconf-client/ncc:initi<wbr>ate/ncc:netconf-server"
                          + <br>
                                          "/ncc:endpoints/ncc:endpoint/n<wbr>cc:name";<br>
                                }<br>
                                mandatory true;<br>
                                description<br>
                                  "Remote client which need to initiate
                          the NETCONF transport if <br>
                                  an existing NETCONF session from that
                          client is not available.";<br>
                              }<br>
                            }  <br>
                          }<br>
                          <br>
                          Which results in:<br>
                            +--rw subscriptions<br>
                               +--rw subscription* <br>
                                  +--rw transport         transport 
                          {configured}?<br>
                                  +--rw receivers<br>
                                     +--rw receiver* <br>
                                        +--rw nsn:netconf-endpoint   
                          leafref<br>
                          <br>
                          Eric<br>
                          <br>
                          <br>
                          &gt; /js<br>
                          <span class="m_-8663869857393228201HOEnZb"><font
                              color="#888888">&gt; <br>
                              &gt; --<br>
                              &gt; Juergen Schoenwaelder         
                               Jacobs University Bremen gGmbH<br>
                              &gt; Phone: +49 421 200 3587       
                               Campus Ring 1 | 28759 Bremen | Germany<br>
                              &gt; Fax:   +49 421 200 3103         &lt;<a
                                href="https://www.jacobs-university.de/"
                                rel="noreferrer" target="_blank"
                                moz-do-not-send="true">https://www.jacobs-universit<wbr>y.de/</a>&gt;<br>
                            </font></span></blockquote>
                      </div>
                      <br>
                    </div>
                  </div>
                  <br>
                  <fieldset
                    class="m_-8663869857393228201mimeAttachmentHeader"></fieldset>
                  <br>
                  <pre>______________________________<wbr>_________________
yang-doctors mailing list
<a class="m_-8663869857393228201moz-txt-link-abbreviated" href="mailto:yang-doctors@ietf.org" target="_blank" moz-do-not-send="true">yang-doctors@ietf.org</a>
<a class="m_-8663869857393228201moz-txt-link-freetext" href="https://www.ietf.org/mailman/listinfo/yang-doctors" target="_blank" moz-do-not-send="true">https://www.ietf.org/mailman/<wbr>listinfo/yang-doctors</a>
</pre>
                </blockquote>
                <br>
              </div>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>

--------------62BC7301CDC660240564367D--


From nobody Thu Aug  2 06:05:25 2018
Return-Path: <evoit@cisco.com>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8EAC6130E39; Thu,  2 Aug 2018 06:05:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.51
X-Spam-Level: 
X-Spam-Status: No, score=-14.51 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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, T_DKIMWL_WL_MED=-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 HlhQOQfswLNT; Thu,  2 Aug 2018 06:05:09 -0700 (PDT)
Received: from alln-iport-4.cisco.com (alln-iport-4.cisco.com [173.37.142.91]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9652A130E53; Thu,  2 Aug 2018 06:05:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=13498; q=dns/txt; s=iport; t=1533215109; x=1534424709; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=9k6jq2+EDwg111HY0/h1WWCGHuMKMFRMuWUsIzWNfVY=; b=QBBTQV+i022OurMvYd7rDguWV1OpPH43jcZMElGKJFvOfaV96P+X109l UKfFkiMkY1407KOxe3cBzCR1+BVdIXkr896vdHEEeNQTm0Ey7kyAoFzlF huI+rdMGEzGJinm3EYCXtj4uCl7gDDrS+RCGUfhHDXNjmrY2tbasQc7Ru 4=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0CgAACJAGNb/5tdJa1bGQEBAQEBAQE?= =?us-ascii?q?BAQEBAQcBAQEBAYJXd2N/KAqDdIgGjEKCDZBAhRqBeguEbAIXgmwhNBgBAgE?= =?us-ascii?q?BAgEBAm0ohTYBAQEDASMKTAULAgEIFSoDAgICMBQRAgQBDQUIE4MGgRtcCLE?= =?us-ascii?q?2gS6KWIkIF4FBP4ESgxKFDCgCgkmCNSACkhmIDQkCiQOGNYFRjEuIFYoNAhE?= =?us-ascii?q?UgSQdOIFScBWDJJBTb41vgRsBAQ?=
X-IronPort-AV: E=Sophos;i="5.51,436,1526342400";  d="scan'208,217";a="151926907"
Received: from rcdn-core-4.cisco.com ([173.37.93.155]) by alln-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Aug 2018 13:05:08 +0000
Received: from XCH-RTP-006.cisco.com (xch-rtp-006.cisco.com [64.101.220.146]) by rcdn-core-4.cisco.com (8.15.2/8.15.2) with ESMTPS id w72D58LB019821 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Thu, 2 Aug 2018 13:05:08 GMT
Received: from xch-rtp-013.cisco.com (64.101.220.153) by XCH-RTP-006.cisco.com (64.101.220.146) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Thu, 2 Aug 2018 09:05:07 -0400
Received: from xch-rtp-013.cisco.com ([64.101.220.153]) by XCH-RTP-013.cisco.com ([64.101.220.153]) with mapi id 15.00.1320.000; Thu, 2 Aug 2018 09:05:07 -0400
From: "Eric Voit (evoit)" <evoit@cisco.com>
To: Andy Bierman <andy@yumaworks.com>, Kent Watsen <kwatsen@juniper.net>
CC: "Robert Wilton -X (rwilton - ENSOFT LIMITED at Cisco)" <rwilton@cisco.com>,  "yang-doctors@ietf.org" <yang-doctors@ietf.org>, "netconf@ietf.org" <netconf@ietf.org>
Thread-Topic: [yang-doctors] YANG Doctor question: empty mandatory choice?
Thread-Index: AQHUJ1ReOwlfbH+3hkGPLp9Bm3apCaSn4DUwgAB+GwCAAYN0gP//xXiQgABoMwCAAUbTgIAAAjeAgAAKyYCAAB/OgIAAc1OAgAACCICAAHiS8A==
Date: Thu, 2 Aug 2018 13:05:07 +0000
Message-ID: <359c6f2db6b0451086be0651d6cbe7bd@XCH-RTP-013.cisco.com>
References: <727ae35abd394a85812168615acce2d3@XCH-RTP-013.cisco.com> <20180729.175356.1841285666617255654.mbj@tail-f.com> <77080682bf90495caec48436453e4750@XCH-RTP-013.cisco.com> <20180730.204142.1505732335534077415.mbj@tail-f.com> <20180731174827.n5r2jebon45s2cxy@anna.jacobs.jacobs-university.de> <b8dc903dc04a46088bcca106ac45c4fc@XCH-RTP-013.cisco.com> <CABCOCHQPYyWgXS8Y_n5PN-AEQ5myQXX5s0KvkjQnfAh4VOMbrA@mail.gmail.com> <05ee68cd-ccc0-6803-6c71-b3952ee5608d@cisco.com> <CABCOCHRtg9jB0=b5bPPT3MS0QJcwgAY24Fg0RewXhPMR8Y+O0w@mail.gmail.com> <958669b9-c523-3c43-eca4-fbc255fc1bc8@cisco.com> <CABCOCHRv9VGTwkvcnQz+VZDXK=+5pp-mdxQjdRmE=kXZPSDSXQ@mail.gmail.com> <91F96417-7820-42C0-AC6F-3A21694B7A95@juniper.net> <CABCOCHTKLC8hBXLQ=55LkhVJ=0YDV1RRjmyWWCgXU+ucKt2b-Q@mail.gmail.com>
In-Reply-To: <CABCOCHTKLC8hBXLQ=55LkhVJ=0YDV1RRjmyWWCgXU+ucKt2b-Q@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.118.56.234]
Content-Type: multipart/alternative; boundary="_000_359c6f2db6b0451086be0651d6cbe7bdXCHRTP013ciscocom_"
MIME-Version: 1.0
X-Outbound-SMTP-Client: 64.101.220.146, xch-rtp-006.cisco.com
X-Outbound-Node: rcdn-core-4.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/ipT2hieUJfnlW3XyaYXO_k4BifA>
Subject: Re: [yang-doctors] YANG Doctor question: empty mandatory choice?
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: Email list of the yang-doctors directorate  <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 02 Aug 2018 13:05:17 -0000

--_000_359c6f2db6b0451086be0651d6cbe7bdXCHRTP013ciscocom_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64

RnJvbTogQW5keSBCaWVybWFuLCBBdWd1c3QgMSwgMjAxOCA5OjQyIFBNDQoNCg0KT24gV2VkLCBB
dWcgMSwgMjAxOCBhdCA2OjM0IFBNLCBLZW50I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b2NrcXVvdGU+DQo8L2Rpdj4NCjxwIGNsYXNzPSJNc29Ob3JtYWwi
PjxvOnA+Jm5ic3A7PC9vOnA+PC9wPg0KPC9kaXY+DQo8ZGl2Pg0KPHAgY2xhc3M9Ik1zb05vcm1h
bCI+QW5keTxvOnA+PC9vOnA+PC9wPg0KPC9kaXY+DQo8ZGl2Pg0KPHAgY2xhc3M9Ik1zb05vcm1h
bCI+PG86cD4mbmJzcDs8L286cD48L3A+DQo8L2Rpdj4NCjwvZGl2Pg0KPC9kaXY+DQo8L2Rpdj4N
CjwvYm9keT4NCjwvaHRtbD4NCg==

--_000_359c6f2db6b0451086be0651d6cbe7bdXCHRTP013ciscocom_--


From nobody Sun Aug  5 02:11:37 2018
Return-Path: <mbj@tail-f.com>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 04331127AC2; Sun,  5 Aug 2018 02:11:31 -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, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
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 zgEYsFg9trPb; Sun,  5 Aug 2018 02:11:29 -0700 (PDT)
Received: from mail.tail-f.com (mail.tail-f.com [46.21.102.45]) by ietfa.amsl.com (Postfix) with ESMTP id 1C9ED12785F; Sun,  5 Aug 2018 02:11:29 -0700 (PDT)
Received: from localhost (h-80-27.A165.priv.bahnhof.se [212.85.80.27]) by mail.tail-f.com (Postfix) with ESMTPSA id B87A71AE0144; Sun,  5 Aug 2018 11:11:23 +0200 (CEST)
Date: Sun, 05 Aug 2018 11:11:23 +0200 (CEST)
Message-Id: <20180805.111123.2123994471181114333.mbj@tail-f.com>
To: rwilton=40cisco.com@dmarc.ietf.org
Cc: andy@yumaworks.com, evoit@cisco.com, yang-doctors@ietf.org, netconf@ietf.org
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <958669b9-c523-3c43-eca4-fbc255fc1bc8@cisco.com>
References: <05ee68cd-ccc0-6803-6c71-b3952ee5608d@cisco.com> <CABCOCHRtg9jB0=b5bPPT3MS0QJcwgAY24Fg0RewXhPMR8Y+O0w@mail.gmail.com> <958669b9-c523-3c43-eca4-fbc255fc1bc8@cisco.com>
X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/s_BN_WEOT8XPmPA7AeNUJ8r1sjc>
Subject: Re: [yang-doctors] YANG Doctor question: empty mandatory choice?
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: Email list of the yang-doctors directorate  <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 05 Aug 2018 09:11:31 -0000

Robert Wilton <rwilton=3D40cisco.com@dmarc.ietf.org> wrote:
> =

> =

> On 01/08/2018 17:09, Andy Bierman wrote:
> >
> >
> > On Wed, Aug 1, 2018 at 9:01 AM, Robert Wilton <rwilton@cisco.com
> > <mailto:rwilton@cisco.com>> wrote:
> >
> >
> >
> >     On 31/07/2018 21:31, Andy Bierman wrote:
> >>
> >>
> >>     On Tue, Jul 31, 2018 at 12:39 PM, Eric Voit (evoit)
> >>     <evoit@cisco.com <mailto:evoit@cisco.com>> wrote:
> >>
> >>         > From: Juergen Schoenwaelder, July 31, 2018 1:48 PM
> >>         >
> >>         > On Mon, Jul 30, 2018 at 08:41:42PM +0200, Martin Bjorklu=
nd
> >>         wrote:
> >>         > >
> >>         > > The empty mandatory choice does provide value since it=

> >>         requires that
> >>         > > some transport-specific parameters are configured.=A0
> >>         However, can we
> >>         > > assume that all transports require configuration
> >>         parameters here?
> >>         >
> >>         > Can you have a receiver without any transport parameters=
?
> >>         >
> >>         > > It is probably safest to not have a mandatory choice, =
and
> >>         instead
> >>         > > ensure that each transport augements the proper params=
 --
> >>         and since
> >>         > > this is YANG 1.1, the transport params that are augmen=
ted
> >>         can actually
> >>         > > be marked as mandatory.
> >>         >
> >>         > Frankly, an empty mandatory choice quite clearly says "t=
his
> >>         is incomplete and
> >>         > unusable without an augmentation".
> >>
> >>         My read above is the YANG doctor's position is that we sho=
uld
> >>         *not* use the empty mandatory choice.=A0 Let me know if I =
got
> >>         this wrong.
> >>
> >>
> >>     I do not think a consensus call has been done yet, but I agree=

> >>     with Juergen
> >>     and already raised the point that YANG conformance does not ha=
ndle a
> >>     "MUST augment" use-case very well.
> >     I think that "empty choice + mandatory true" it is OK from a
> >     conformance perspective.=A0 The concept seems similar to an
> >     programmatic interface, abstract class, or even the abstract
> >     identity idea that has been proposed for YANG.=A0 If a server
> >     implements the module but no augments of the choice then it can=
not
> >     be configured because the constraint will always fail.=A0 Andy,=
 is
> >     your concern that tooling will warn that part of the model is
> >     unusable?
> >
> >
> > That is possible.
> > I agree with Juergen that a mandatory empty choice clearly indicate=
s
> > that the module is incomplete
> > and unusable on its own.=A0 Is that a feature?
> Yes, making that indication is the whole purpose of adding the
> "mandatory: true" to the empty choice.=A0 Note, that I see that the
> "mandatory true" is there to say that every configured subscription
> must have a transport configured, which if true, doesn't seem
> unreasonable.

Note that the model already has a 'transport' leaf that is mandatory.

The choice is an explicit placeholder for transport-specific
additional parameters.

This proposed design is slightly different than the design in
ietf-interfaces; in interfaces we have:

   leaf type { ... }
   // type-specific augmentations here

For example (from the RFC):

   augment "/if:interfaces/if:interface" {
     when "if:type =3D 'ianaift:ethernetCsmacd'";

     container ethernet {
       leaf duplex {
         ...
       }
     }
   }


In the notif model the proposal is:

  leaf transport { ... }

  ...
    choice transport-specific-params {
      // transport-specific augmentations here
    }


Note that if the choice is not marked as mandatory, the resulting
model will be less strict / useful compared to using a design like in
the interfaces model (w/o the choice).  To demonstrate, suppose we
have a transport 'example-udp' that needs a mandatory 'address' and an
optional 'port'.  With the choice we'd have:

  augment '/sn:subscriptions/sn:subscription/sn:receivers/sn:receiver'
        + '/sn:transport-specific-params' {
   =A0when 'derived-from(../../../../transport, "ex:example-udp")';

    case example-udp-params {
      leaf address {
        mandatory true;
        ...
      }
      leaf port {
        ...
      }
    }
  }
  =

If the choice is not mandatory, the model would allow a client to
configure the transport leaf to 'example-udp', but not configure an
address.


Without the choice, we'd do:

  augment '/sn:subscriptions/sn:subscription/sn:receivers/sn:receiver'
   =A0when 'derived-from(../../../transport, "ex:example-udp")';

    leaf address {
      mandatory true;
      ...
    }
    leaf port {
      ...
    }
  }
  =


In this case, or if the choice is mandatory, the model would require
the client to configure an address if the transport is 'example-udp',
which is what we want.


But if the choice is marked as mandatory, *all* transports MUST define
some transport-specific parameters, even if that is not needed
(unclear if this will ever happen...)


Thus, I prefer Eric's original model w/o the choice.  The choice is
supposed to be clever, but might end up being confusing, and I don't
think it adds any value anyway.




/martin

> I.e. my main point is that I don't have an issue with
> this generic YANG design.
> =

> In this particular instance, I'm also fine if "mandatory: true" is
> left out, but I don't really agree with writing the equivalent of
> "mandatory: true" in the description, that seems like a poor
> compromise.
> =

> However, this is probably all bike-shedding.=A0 I think that any of t=
he
> discussed solutions is acceptable, as long as it is obvious to the
> readers of the YANG modules that a case statement must be provided fo=
r
> it to be useful, and I make the assumption that sane vendors won't
> enable the "configured" feature, if there is no actual way of
> configuring usable subscriptions.
> =

> Perhaps Eric can propose his preferred choice, and we can see if
> anyone still objects, otherwise maybe we can move on?
> =

> Thanks,
> Rob
> =

> =

> >
> > Andy
> >
> >
> >     I have to say that much prefer the option of putting "mandatory=
:
> >     true" in the choice than "MUST provide an implementation" in th=
e
> >     description because the former is machine readable whilst the
> >     latter is not.
> >
> >     However, I would also be fine not to have the "mandatory: true"=
,
> >     but with the choice description to state something along the li=
nes
> >     that the empty choice is to allow for augmentations of differen=
t
> >     transports, and configured subscriptions may not be usable unle=
ss
> >     at least one transport case statement is available."=A0 But per=
haps
> >     some implementation will provide the flexibility of defining a
> >     single transport for all subscriptions (if this is feasible).
> >
> >     One other observation that could affect the decision here is th=
at
> >     YANG allows "mandatory: true" to be removed in a future revisio=
n
> >     in a backwards compatible way, but doesn't allow it to be added=
.=

> >
> >     Thanks,
> >     Rob
> >
> >
> >>
> >>     I prefer the MUST be in the description-stmt for the choice,
> >>     instead of "mandatory true". (I prefer SHOULD but if the WG wa=
nts
> >>     MUST)
> >>
> >>
> >>     Andy
> >>
> >>
> >>
> >>         That would mean that each transport document supporting
> >>         configured subscriptions would then augment transport
> >>         specific parameters to
> >>         "/subscriptions/subscription/receivers/receiver". =A0And
> >>         (assuming the "single transport" decision of IETF100 isn't=

> >>         changed), that the identity "transport" could be leveraged=
 to
> >>         enforce that only a single transport specific set of
> >>         credentials are associated with a receiver.
> >>
> >>         A sample YANG augmentation for NETCONF would then look lik=
e:
> >>
> >>         module ietf-netconf-subscribed-notifications {
> >>
> >>         =A0 prefix nsn;
> >>
> >>         =A0 import ietf-netconf-client { prefix ncc; }
> >>         =A0 import ietf-subscribed-notifications { prefix sn; }
> >>
> >>         =A0 identity netconf {
> >>         =A0 =A0 base sn:transport;
> >>         =A0 =A0 base sn:inline-address;
> >>         =A0 =A0 description
> >>         =A0 =A0 =A0 "NETCONF is used as a transport for notificati=
on
> >>         messages and
> >>         =A0 =A0 =A0 =A0state change notifications.";
> >>         =A0 }
> >>
> >>         =A0 augment
> >>         "/sn:subscriptions/sn:subscription/sn:receivers/sn:receive=
r" {
> >>         =A0 =A0when 'derived-from(../../../transport, "nsn:netconf=
")';
> >>         =A0 =A0description
> >>         =A0 =A0 =A0 "This augmentation allows NETCONF specific par=
ameters
> >>         to be
> >>         =A0 =A0 =A0 exposed for a receiver.";
> >>         =A0 =A0 leaf netconf-endpoint {
> >>         =A0 =A0 =A0 type leafref {
> >>         =A0 =A0 =A0 =A0 path
> >>         "/ncc:netconf-client/ncc:initiate/ncc:netconf-server" +
> >>         =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 "/ncc:endpoints/ncc:endpoi=
nt/ncc:name";
> >>         =A0 =A0 =A0 }
> >>         =A0 =A0 =A0 mandatory true;
> >>         =A0 =A0 =A0 description
> >>         =A0 =A0 =A0 =A0 "Remote client which need to initiate the =
NETCONF
> >>         transport if
> >>         =A0 =A0 =A0 =A0 an existing NETCONF session from that clie=
nt is not
> >>         available.";
> >>         =A0 =A0 }
> >>         =A0 }
> >>         }
> >>
> >>         Which results in:
> >>         =A0 +--rw subscriptions
> >>         =A0 =A0 =A0+--rw subscription*
> >>         =A0 =A0 =A0 =A0 +--rw transport=A0 =A0 =A0 =A0 =A0transpor=
t {configured}?
> >>         =A0 =A0 =A0 =A0 +--rw receivers
> >>         =A0 =A0 =A0 =A0 =A0 =A0+--rw receiver*
> >>         =A0 =A0 =A0 =A0 =A0 =A0 =A0 +--rw nsn:netconf-endpoint lea=
fref
> >>
> >>         Eric
> >>
> >>
> >>         > /js
> >>         >         > --
> >>         > Juergen Schoenwaelder =A0Jacobs University Bremen gGmbH
> >>         > Phone: +49 421 200 3587 =A0Campus Ring 1 | 28759 Bremen =
| Germany
> >>         > Fax:=A0 =A0+49 421 200 3103=A0 =A0 =A0 =A0
> >>         =A0<https://www.jacobs-university.de/
> >>         <https://www.jacobs-university.de/>>
> >>
> >>
> >>
> >>
> >>     _______________________________________________
> >>     yang-doctors mailing list
> >>     yang-doctors@ietf.org <mailto:yang-doctors@ietf.org>
> >>     https://www.ietf.org/mailman/listinfo/yang-doctors
> >>     <https://www.ietf.org/mailman/listinfo/yang-doctors>
> >
> >
> =


From nobody Mon Aug  6 10:03:12 2018
Return-Path: <kwatsen@juniper.net>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 921D8130E58; Mon,  6 Aug 2018 10:03:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.711
X-Spam-Level: 
X-Spam-Status: No, score=-2.711 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_LOW=-0.7, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-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 bm4--aT0dEct; Mon,  6 Aug 2018 10:02:58 -0700 (PDT)
Received: from mx0b-00273201.pphosted.com (mx0b-00273201.pphosted.com [67.231.152.164]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 33752130E23; Mon,  6 Aug 2018 10:02:57 -0700 (PDT)
Received: from pps.filterd (m0108160.ppops.net [127.0.0.1]) by mx0b-00273201.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w76GxYgj010879; Mon, 6 Aug 2018 10:02:53 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=PPS1017; bh=IxLXH5op2Rig3/bDu02kZU9poYB4jNmEnCvPqoZh5Kw=; b=c276i9hW8Up57mVAKAR/dDMN3wzdIjg8fMSmgqReS5sQSb3Jm7Luf01YgQjFvw3+C60a /0lQKjx9UfcYN6wkAgAf74i/baICCtLeKWwycHiQ7G1LL+u2ChhhWnJKeYYvA3rU4hKJ vKtUfBusMyFuAnsZexyNLoOWv9umw4QWeidSCO5IfNAZMCE2WPo5iQPH4ywh5FqqPR9S IIbQzYPf1J/wdiiyYfITwsOpUgeU9NAzoKwXPP6Jgab1DwudIlELIin78IuR+oCHhf3W UBwiy9S6xUCfo/ltM8nz9Kb4FcvYOmBJT+2d1DW31WeZVYwSaNq3Ygg+v0DC2TghoEmq 7g== 
Received: from nam02-cy1-obe.outbound.protection.outlook.com (mail-cys01nam02lp0054.outbound.protection.outlook.com [207.46.163.54]) by mx0b-00273201.pphosted.com with ESMTP id 2kppa4gjkx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 06 Aug 2018 10:02:53 -0700
Received: from DM6PR05MB4665.namprd05.prod.outlook.com (20.176.109.202) by DM6PR05MB4026.namprd05.prod.outlook.com (20.176.71.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1038.14; Mon, 6 Aug 2018 17:02:51 +0000
Received: from DM6PR05MB4665.namprd05.prod.outlook.com ([fe80::e0bc:6a82:571d:258]) by DM6PR05MB4665.namprd05.prod.outlook.com ([fe80::e0bc:6a82:571d:258%2]) with mapi id 15.20.1038.019; Mon, 6 Aug 2018 17:02:51 +0000
From: Kent Watsen <kwatsen@juniper.net>
To: Martin Bjorklund <mbj@tail-f.com>, "rwilton=40cisco.com@dmarc.ietf.org" <rwilton=40cisco.com@dmarc.ietf.org>
CC: "yang-doctors@ietf.org" <yang-doctors@ietf.org>, "netconf@ietf.org" <netconf@ietf.org>
Thread-Topic: [Netconf] [yang-doctors] YANG Doctor question: empty mandatory choice?
Thread-Index: AQHUKbd2gxK9WoMf0kWoD5voFWQc9qSw5SCAgAHS/oA=
Date: Mon, 6 Aug 2018 17:02:50 +0000
Message-ID: <F26138DC-A5B6-4EC6-AEDE-2F94DD1A3B7E@juniper.net>
References: <05ee68cd-ccc0-6803-6c71-b3952ee5608d@cisco.com> <CABCOCHRtg9jB0=b5bPPT3MS0QJcwgAY24Fg0RewXhPMR8Y+O0w@mail.gmail.com> <958669b9-c523-3c43-eca4-fbc255fc1bc8@cisco.com> <20180805.111123.2123994471181114333.mbj@tail-f.com>
In-Reply-To: <20180805.111123.2123994471181114333.mbj@tail-f.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/f.20.0.170309
x-originating-ip: [66.129.241.12]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; DM6PR05MB4026; 6:VvK9IgVdM7mVc+W9o/Nxbk2YCM5BYXgpM0aBjrvctZmV9RGPBmH7Rep+K8VpVZ9hu+lY/NXBfPz2E9a/1rPfTv/BOujkd2UEDqKSoZIT5UugpvMir9m3gBhoJlnlqXzu42hveD4eT4wSE5E/n4SRGDLOt0129TnmQFABUnzurxUZGHu77i61fYCtra3zLdyIDLjDq0K+e+2orNlW8DQOBtF9/uvgfjFpoCh5/K4kmeN7/Pqi0IoEisrcSUJJ0r4XACnsFIaXy5aM/CVO9cHoOoMXgy91+pWornTYFO4r19pSqBSdJRF7+f9rgc1d2TmFsF/ycGqTLYgnCazYMsx/f+GCdlBbhNAC8CfeBwr4CRAURyFmMuNbSqbYaofAn0ujAqDnARdF3qdmzD096i7Ys7ev7zLzfZ1l4ql3ZpuoM5eHqTy01M7DjPTx5M+2MfmZaM2ZTI8NuY5NaPATF57Z9w==; 5:Km92KlAL6tNUAj5lOsMf3Zhx0v1eTyp+4slJ+aEfD0xs9rY6W7S7E24ZAHXLg0FKf5GeH+vxR2s6QFjOl1sXiJK1cXsl8QfBKCDTxVYOstnslM1A1kW4i3P9dFOotWOBXfM5p+2YiMt0j/IHzeglGDFm/I3ZT5+5CQ/6waCZQqI=; 7:o5TXBxkFdenX2tjMflKCDo/MDRtliLoJ/ddqc/bTPmH2ppt2lmbapWA3fSlVImJFVWZkJ4bv2RTWRqkSiLmHmd6H7O/zVJdM3Ndjf8KpJB2BRjOF1AB54OUy6MsWzKuOr2Dy2Gs/HEvWqpkgFOE04OKbf6g5s1ma6A1g5yHhcszVMMBhGHtAPweyZ1xurVdefaCyEHi8qRRCmGEG/NnxGsWsof8/J8fmiL4NX3lYIiZOIWCA1KbE0YulCYi86PNt
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-correlation-id: 6d21b4ab-c1a9-44d4-c2a8-08d5fbbe7197
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:DM6PR05MB4026; 
x-ms-traffictypediagnostic: DM6PR05MB4026:
x-microsoft-antispam-prvs: <DM6PR05MB40262A6C3AFE07281B99C5B0A5200@DM6PR05MB4026.namprd05.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(158342451672863)(10436049006162)(100405760836317)(95692535739014); 
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(3002001)(3231311)(944501410)(52105095)(10201501046)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(20161123558120)(20161123560045)(6072148)(201708071742011)(7699016); SRVR:DM6PR05MB4026; BCL:0; PCL:0; RULEID:; SRVR:DM6PR05MB4026; 
x-forefront-prvs: 07562C22DA
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(376002)(39860400002)(346002)(396003)(136003)(366004)(199004)(189003)(51444003)(316002)(6512007)(6306002)(7736002)(6436002)(476003)(5250100002)(229853002)(575784001)(6486002)(86362001)(6246003)(486006)(25786009)(4326008)(82746002)(110136005)(36756003)(99286004)(58126008)(305945005)(54906003)(256004)(2900100001)(14444005)(53936002)(2616005)(26005)(966005)(561944003)(6506007)(53546011)(8936002)(76176011)(102836004)(97736004)(105586002)(81156014)(81166006)(5660300001)(478600001)(8676002)(83716003)(33656002)(14454004)(2906002)(93886005)(66066001)(446003)(6116002)(3846002)(11346002)(186003)(68736007)(106356001); DIR:OUT; SFP:1102; SCL:1; SRVR:DM6PR05MB4026; H:DM6PR05MB4665.namprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; 
received-spf: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
x-microsoft-antispam-message-info: KjK4OhvU4ghKwVQKXp4Y+/JwhdnYppHAvbvcV2eoSP/7vzTYKHrR+O0EoPqMudkcvfgubFppi7kv5uPuRLg5ARsfi6ox/lY5Z9zGuIqv1TcuDfuIMCru1vxGuN+QlJMmH68hCsi/KR7bMe10DCl/t+hysnE7TrnrO2awNsD3OOfpdcYejaLYLCEGSwgMKl91nLY4m9f1/CJlz85KH7sdtDbaFTwhvgQNDRztZQ8ee9rqHV7fjg2YwhNC53uebsFOK1wve299R/Vu6WFE2Sg9oE6nlHcRAIMCHuboC31QPQvoACoF9tEM4JSOsAhOyRgAJtMDaSR7g1edUT4mEM+12UVn2vZdUn+Uxig26YwBF6U=
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-ID: <D8F50709CD3F8E4C9F8A12832C3BC2D7@namprd05.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-Network-Message-Id: 6d21b4ab-c1a9-44d4-c2a8-08d5fbbe7197
X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Aug 2018 17:02:50.9131 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR05MB4026
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-08-06_08:, , signatures=0
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1808060176
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/Ud0tZ2viS-8-pQlAyzCrAFFxid4>
Subject: Re: [yang-doctors] [Netconf] YANG Doctor question: empty mandatory choice?
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: Email list of the yang-doctors directorate  <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 06 Aug 2018 17:03:03 -0000

DQpbdG9wLXBvc3RpbmcgZm9yIGxhY2sgb2YgdGltZV0NCg0KSGkgTWFydGluLA0KDQpJbnRlcmVz
dGluZyB0aGF0IHlvdSB2aWV3IHRoZSAidHJhbnNwb3J0IiBsZWFmIGFzIHdoZXJlIHRoZSBkZWNp
c2lvbiBpcyAN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@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D3EC0130E42; Mon,  6 Aug 2018 11:00:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
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 cBeiS_OSsN8N; Mon,  6 Aug 2018 11:00:36 -0700 (PDT)
Received: from mail.tail-f.com (mail.tail-f.com [46.21.102.45]) by ietfa.amsl.com (Postfix) with ESMTP id F24A6130E60; Mon,  6 Aug 2018 11:00:34 -0700 (PDT)
Received: from localhost (h-80-27.A165.priv.bahnhof.se [212.85.80.27]) by mail.tail-f.com (Postfix) with ESMTPSA id 4E9B31AE0141; Mon,  6 Aug 2018 20:00:27 +0200 (CEST)
Date: Mon, 06 Aug 2018 20:00:27 +0200 (CEST)
Message-Id: <20180806.200027.1311550595605030604.mbj@tail-f.com>
To: kwatsen@juniper.net
Cc: rwilton=40cisco.com@dmarc.ietf.org, yang-doctors@ietf.org, netconf@ietf.org
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <F26138DC-A5B6-4EC6-AEDE-2F94DD1A3B7E@juniper.net>
References: <958669b9-c523-3c43-eca4-fbc255fc1bc8@cisco.com> <20180805.111123.2123994471181114333.mbj@tail-f.com> <F26138DC-A5B6-4EC6-AEDE-2F94DD1A3B7E@juniper.net>
X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/5F3EiRa3Sfg3pDpksy-q7kzsTaI>
Subject: Re: [yang-doctors] [Netconf] YANG Doctor question: empty mandatory choice?
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: Email list of the yang-doctors directorate  <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 06 Aug 2018 18:00:39 -0000

Kent Watsen <kwatsen@juniper.net> wrote:
> 
> [top-posting for lack of time]
> 
> Hi Martin,
> 
> Interesting that you view the "transport" leaf as where the decision is 
> made.  I suppose that is the case now, but I always viewed the leaf as 
> a somewhat artificial "anchor" that was added only to support the "when"
> expression to assert homogeneity.  The 
> 
> On that, note that I merely said that I was sympathetic to the POV; I'm
> not convinced that there is a problem allowing heterogeneity, as what's
> been posted thus far for why it might be a [performance?] problem was 
> conjecture.
> 
> A fully cooked example would be helpful here, but I think you want:
> 
>   <receivers>
>     <receiver>
>       <name>foo</name>
>       <ex:param1>...</ex:param1>
>       <ex:param2>...</ex:param2>
>       <ex:param3>...</ex:param3>
>     </receiver>
>   </receivers>
> 
> whereas I was thinking that there would be a container, e.g.
> 
>   <receivers>
>     <receiver>
>       <name>foo</name>
>       <ex:udp-pub-sub>
>         <param1>...</param1>
>         <param2>...</param2>
>         <param3>...</param3>
>       </ex:udp-pub-sub>
>     </receiver>
>   </receivers>
> 
> which acts as the transport-selector, and hence homogeneity (if needed),
> could be via a "must" expression that ensures that there is only one
> such descendent, other than "name", across the receivers.  This is what
> that "must" expression I proffered last week was trying to do.  If we 
> can do this, I think the model simplifies, as then the [artificial?] 
> "transport" and "encoding" leaves, and the "when" expressions, wouldn't
> be needed to still assert the homogeneity.

Well, I don' think you can do what you want to do with a must
expression like that.

Also, I think the design w/ selecting a transport with an identity is
fine.  IMO both designs work; either use a discriminating leaf
(transport) and use augment with a "when" expression, or use a
mandatory choice where each case denotes which transport is used.

With the design choice that all receivers must use the same transport
+ encoding, the current design actually works better than a choice,
imo.


/martin



> 
> Thoughts?
> 
> Kent // contributor
> 
> 
> 
> 
> Robert Wilton <rwilton=40cisco.com@dmarc.ietf.org> wrote:
> > 
> > 
> > On 01/08/2018 17:09, Andy Bierman wrote:
> > >
> > >
> > > On Wed, Aug 1, 2018 at 9:01 AM, Robert Wilton <rwilton@cisco.com
> > > <mailto:rwilton@cisco.com>> wrote:
> > >
> > >
> > >
> > >     On 31/07/2018 21:31, Andy Bierman wrote:
> > >>
> > >>
> > >>     On Tue, Jul 31, 2018 at 12:39 PM, Eric Voit (evoit)
> > >>     <evoit@cisco.com <mailto:evoit@cisco.com>> wrote:
> > >>
> > >>         > From: Juergen Schoenwaelder, July 31, 2018 1:48 PM
> > >>         >
> > >>         > On Mon, Jul 30, 2018 at 08:41:42PM +0200, Martin Bjorklund
> > >>         wrote:
> > >>         > >
> > >>         > > The empty mandatory choice does provide value since it
> > >>         requires that
> > >>         > > some transport-specific parameters are configured. 
> > >>         However, can we
> > >>         > > assume that all transports require configuration
> > >>         parameters here?
> > >>         >
> > >>         > Can you have a receiver without any transport parameters?
> > >>         >
> > >>         > > It is probably safest to not have a mandatory choice, and
> > >>         instead
> > >>         > > ensure that each transport augements the proper params --
> > >>         and since
> > >>         > > this is YANG 1.1, the transport params that are augmented
> > >>         can actually
> > >>         > > be marked as mandatory.
> > >>         >
> > >>         > Frankly, an empty mandatory choice quite clearly says "this
> > >>         is incomplete and
> > >>         > unusable without an augmentation".
> > >>
> > >>         My read above is the YANG doctor's position is that we should
> > >>         *not* use the empty mandatory choice.  Let me know if I got
> > >>         this wrong.
> > >>
> > >>
> > >>     I do not think a consensus call has been done yet, but I agree
> > >>     with Juergen
> > >>     and already raised the point that YANG conformance does not handle a
> > >>     "MUST augment" use-case very well.
> > >     I think that "empty choice + mandatory true" it is OK from a
> > >     conformance perspective.  The concept seems similar to an
> > >     programmatic interface, abstract class, or even the abstract
> > >     identity idea that has been proposed for YANG.  If a server
> > >     implements the module but no augments of the choice then it cannot
> > >     be configured because the constraint will always fail.  Andy, is
> > >     your concern that tooling will warn that part of the model is
> > >     unusable?
> > >
> > >
> > > That is possible.
> > > I agree with Juergen that a mandatory empty choice clearly indicates
> > > that the module is incomplete
> > > and unusable on its own.  Is that a feature?
> > Yes, making that indication is the whole purpose of adding the
> > "mandatory: true" to the empty choice.  Note, that I see that the
> > "mandatory true" is there to say that every configured subscription
> > must have a transport configured, which if true, doesn't seem
> > unreasonable.
> 
> Note that the model already has a 'transport' leaf that is mandatory.
> 
> The choice is an explicit placeholder for transport-specific
> additional parameters.
> 
> This proposed design is slightly different than the design in
> ietf-interfaces; in interfaces we have:
> 
>    leaf type { ... }
>    // type-specific augmentations here
> 
> For example (from the RFC):
> 
>    augment "/if:interfaces/if:interface" {
>      when "if:type = 'ianaift:ethernetCsmacd'";
> 
>      container ethernet {
>        leaf duplex {
>          ...
>        }
>      }
>    }
> 
> 
> In the notif model the proposal is:
> 
>   leaf transport { ... }
> 
>   ...
>     choice transport-specific-params {
>       // transport-specific augmentations here
>     }
> 
> 
> Note that if the choice is not marked as mandatory, the resulting
> model will be less strict / useful compared to using a design like in
> the interfaces model (w/o the choice).  To demonstrate, suppose we
> have a transport 'example-udp' that needs a mandatory 'address' and an
> optional 'port'.  With the choice we'd have:
> 
>   augment '/sn:subscriptions/sn:subscription/sn:receivers/sn:receiver'
>         + '/sn:transport-specific-params' {
>     when 'derived-from(../../../../transport, "ex:example-udp")';
> 
>     case example-udp-params {
>       leaf address {
>         mandatory true;
>         ...
>       }
>       leaf port {
>         ...
>       }
>     }
>   }
>   
> If the choice is not mandatory, the model would allow a client to
> configure the transport leaf to 'example-udp', but not configure an
> address.
> 
> 
> Without the choice, we'd do:
> 
>   augment '/sn:subscriptions/sn:subscription/sn:receivers/sn:receiver'
>     when 'derived-from(../../../transport, "ex:example-udp")';
> 
>     leaf address {
>       mandatory true;
>       ...
>     }
>     leaf port {
>       ...
>     }
>   }
>   
> 
> In this case, or if the choice is mandatory, the model would require
> the client to configure an address if the transport is 'example-udp',
> which is what we want.
> 
> 
> But if the choice is marked as mandatory, *all* transports MUST define
> some transport-specific parameters, even if that is not needed
> (unclear if this will ever happen...)
> 
> 
> Thus, I prefer Eric's original model w/o the choice.  The choice is
> supposed to be clever, but might end up being confusing, and I don't
> think it adds any value anyway.
> 
> 
> 
> 
> /martin
> 
> > I.e. my main point is that I don't have an issue with
> > this generic YANG design.
> > 
> > In this particular instance, I'm also fine if "mandatory: true" is
> > left out, but I don't really agree with writing the equivalent of
> > "mandatory: true" in the description, that seems like a poor
> > compromise.
> > 
> > However, this is probably all bike-shedding.  I think that any of the
> > discussed solutions is acceptable, as long as it is obvious to the
> > readers of the YANG modules that a case statement must be provided for
> > it to be useful, and I make the assumption that sane vendors won't
> > enable the "configured" feature, if there is no actual way of
> > configuring usable subscriptions.
> > 
> > Perhaps Eric can propose his preferred choice, and we can see if
> > anyone still objects, otherwise maybe we can move on?
> > 
> > Thanks,
> > Rob
> > 
> > 
> > >
> > > Andy
> > >
> > >
> > >     I have to say that much prefer the option of putting "mandatory:
> > >     true" in the choice than "MUST provide an implementation" in the
> > >     description because the former is machine readable whilst the
> > >     latter is not.
> > >
> > >     However, I would also be fine not to have the "mandatory: true",
> > >     but with the choice description to state something along the lines
> > >     that the empty choice is to allow for augmentations of different
> > >     transports, and configured subscriptions may not be usable unless
> > >     at least one transport case statement is available."  But perhaps
> > >     some implementation will provide the flexibility of defining a
> > >     single transport for all subscriptions (if this is feasible).
> > >
> > >     One other observation that could affect the decision here is that
> > >     YANG allows "mandatory: true" to be removed in a future revision
> > >     in a backwards compatible way, but doesn't allow it to be added.
> > >
> > >     Thanks,
> > >     Rob
> > >
> > >
> > >>
> > >>     I prefer the MUST be in the description-stmt for the choice,
> > >>     instead of "mandatory true". (I prefer SHOULD but if the WG wants
> > >>     MUST)
> > >>
> > >>
> > >>     Andy
> > >>
> > >>
> > >>
> > >>         That would mean that each transport document supporting
> > >>         configured subscriptions would then augment transport
> > >>         specific parameters to
> > >>         "/subscriptions/subscription/receivers/receiver".  And
> > >>         (assuming the "single transport" decision of IETF100 isn't
> > >>         changed), that the identity "transport" could be leveraged to
> > >>         enforce that only a single transport specific set of
> > >>         credentials are associated with a receiver.
> > >>
> > >>         A sample YANG augmentation for NETCONF would then look like:
> > >>
> > >>         module ietf-netconf-subscribed-notifications {
> > >>
> > >>           prefix nsn;
> > >>
> > >>           import ietf-netconf-client { prefix ncc; }
> > >>           import ietf-subscribed-notifications { prefix sn; }
> > >>
> > >>           identity netconf {
> > >>             base sn:transport;
> > >>             base sn:inline-address;
> > >>             description
> > >>               "NETCONF is used as a transport for notification
> > >>         messages and
> > >>                state change notifications.";
> > >>           }
> > >>
> > >>           augment
> > >>         "/sn:subscriptions/sn:subscription/sn:receivers/sn:receiver" {
> > >>            when 'derived-from(../../../transport, "nsn:netconf")';
> > >>            description
> > >>               "This augmentation allows NETCONF specific parameters
> > >>         to be
> > >>               exposed for a receiver.";
> > >>             leaf netconf-endpoint {
> > >>               type leafref {
> > >>                 path
> > >>         "/ncc:netconf-client/ncc:initiate/ncc:netconf-server" +
> > >>                         "/ncc:endpoints/ncc:endpoint/ncc:name";
> > >>               }
> > >>               mandatory true;
> > >>               description
> > >>                 "Remote client which need to initiate the NETCONF
> > >>         transport if
> > >>                 an existing NETCONF session from that client is not
> > >>         available.";
> > >>             }
> > >>           }
> > >>         }
> > >>
> > >>         Which results in:
> > >>           +--rw subscriptions
> > >>              +--rw subscription*
> > >>                 +--rw transport         transport {configured}?
> > >>                 +--rw receivers
> > >>                    +--rw receiver*
> > >>                       +--rw nsn:netconf-endpoint leafref
> > >>
> > >>         Eric
> > >>
> > >>
> > >>         > /js
> > >>         >         > --
> > >>         > Juergen Schoenwaelder  Jacobs University Bremen gGmbH
> > >>         > Phone: +49 421 200 3587  Campus Ring 1 | 28759 Bremen | Germany
> > >>         > Fax:   +49 421 200 3103       
> > >>          <https://urldefense.proofpoint.com/v2/url?u=https-3A__www.jacobs-2Duniversity.de_&d=DwIFAw&c=HAkYuh63rsuhr6Scbfh0UjBXeMK-ndb3voDTXcWzoCI&r=9zkP0xnJUvZGJ9EPoOH7Yhqn2gsBYaGTvjISlaJdcZo&m=nvlGbzwaLflz8fPtIV-iMrmk_M-b_KUsBI5XkyR6OQA&s=HOUalUJdAOVqj49diEzGM-Z-35a5rPmj2Y4NfhsdovQ&e=
> > >>         <https://urldefense.proofpoint.com/v2/url?u=https-3A__www.jacobs-2Duniversity.de_&d=DwIFAw&c=HAkYuh63rsuhr6Scbfh0UjBXeMK-ndb3voDTXcWzoCI&r=9zkP0xnJUvZGJ9EPoOH7Yhqn2gsBYaGTvjISlaJdcZo&m=nvlGbzwaLflz8fPtIV-iMrmk_M-b_KUsBI5XkyR6OQA&s=HOUalUJdAOVqj49diEzGM-Z-35a5rPmj2Y4NfhsdovQ&e=>>
> > >>
> > >>
> > >>
> > >>
> > >>     _______________________________________________
> > >>     yang-doctors mailing list
> > >>     yang-doctors@ietf.org <mailto:yang-doctors@ietf.org>
> > >>     https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ietf.org_mailman_listinfo_yang-2Ddoctors&d=DwIFAw&c=HAkYuh63rsuhr6Scbfh0UjBXeMK-ndb3voDTXcWzoCI&r=9zkP0xnJUvZGJ9EPoOH7Yhqn2gsBYaGTvjISlaJdcZo&m=nvlGbzwaLflz8fPtIV-iMrmk_M-b_KUsBI5XkyR6OQA&s=O67dhIVon_08t5AfSaVuRD1q-v2D8tAoezbECOsGoHY&e=
> > >>     <https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ietf.org_mailman_listinfo_yang-2Ddoctors&d=DwIFAw&c=HAkYuh63rsuhr6Scbfh0UjBXeMK-ndb3voDTXcWzoCI&r=9zkP0xnJUvZGJ9EPoOH7Yhqn2gsBYaGTvjISlaJdcZo&m=nvlGbzwaLflz8fPtIV-iMrmk_M-b_KUsBI5XkyR6OQA&s=O67dhIVon_08t5AfSaVuRD1q-v2D8tAoezbECOsGoHY&e=>
> > >
> > >
> > 
> _______________________________________________
> Netconf mailing list
> Netconf@ietf.org
> https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ietf.org_mailman_listinfo_netconf&d=DwIFAw&c=HAkYuh63rsuhr6Scbfh0UjBXeMK-ndb3voDTXcWzoCI&r=9zkP0xnJUvZGJ9EPoOH7Yhqn2gsBYaGTvjISlaJdcZo&m=nvlGbzwaLflz8fPtIV-iMrmk_M-b_KUsBI5XkyR6OQA&s=8uwYVApwY6kkzVSQBhp7pYLX9cex7YQ35Dyymf1wK2o&e=
> 
> 


From nobody Tue Aug  7 01:47:58 2018
Return-Path: <ietfc@btconnect.com>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BCD1B130F63; Tue,  7 Aug 2018 01:47:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 3.188
X-Spam-Level: ***
X-Spam-Status: No, score=3.188 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RATWARE_MS_HASH=2.148, RATWARE_OUTLOOK_NONAME=2.95, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=btconnect.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 p2WP6HYSYWn4; Tue,  7 Aug 2018 01:47:46 -0700 (PDT)
Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on070b.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe1e::70b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D1F39130DDE; Tue,  7 Aug 2018 01:47:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btconnect.onmicrosoft.com; s=selector1-btconnect-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=dM6uSeP0gse8f4dVt8HfEWOUOt49+2j0VHIPKFGzXBc=; b=ehPOseUeSJEPUdYSxUmR1xgufsP7OfYRT214kCUY9efUXMoQZaEVERXLqOf93kzquXjv/vlnlwUVC7jvxJz9OaZWQxMOln0O5LLD69z7hUJgZPSTq7TMNENUyXSc/yDWjEV7aG83zcj5M01ZNd45LXWtvd6VbWFmfiSbAgrl4KU=
Received: from VI1PR07MB0831.eurprd07.prod.outlook.com (10.161.107.154) by VI1PR07MB4288.eurprd07.prod.outlook.com (20.176.6.157) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1038.13; Tue, 7 Aug 2018 08:47:43 +0000
Received: from VI1PR07MB0831.eurprd07.prod.outlook.com ([fe80::6d94:2d16:29ed:70d9]) by VI1PR07MB0831.eurprd07.prod.outlook.com ([fe80::6d94:2d16:29ed:70d9%9]) with mapi id 15.20.1038.013; Tue, 7 Aug 2018 08:47:43 +0000
From: tom petch <ietfc@btconnect.com>
To: "rwilton=40cisco.com@dmarc.ietf.org" <rwilton=40cisco.com@dmarc.ietf.org>,  Martin Bjorklund <mbj@tail-f.com>
CC: "yang-doctors@ietf.org" <yang-doctors@ietf.org>, "netconf@ietf.org" <netconf@ietf.org>
Thread-Topic: [Netconf] [yang-doctors] YANG Doctor question: empty mandatory choice?
Thread-Index: AQHULitKkGMu2yMjBUuTi0X/7UEA6g==
Date: Tue, 7 Aug 2018 08:47:42 +0000
Message-ID: <03f501d42e2a$da6f0500$4001a8c0@gateway.2wire.net>
References: <05ee68cd-ccc0-6803-6c71-b3952ee5608d@cisco.com> <CABCOCHRtg9jB0=b5bPPT3MS0QJcwgAY24Fg0RewXhPMR8Y+O0w@mail.gmail.com> <958669b9-c523-3c43-eca4-fbc255fc1bc8@cisco.com> <20180805.111123.2123994471181114333.mbj@tail-f.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-clientproxiedby: AM6PR03CA0009.eurprd03.prod.outlook.com (2603:10a6:20b::22) To VI1PR07MB0831.eurprd07.prod.outlook.com (2a01:111:e400:508e::26)
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [86.165.128.211]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; VI1PR07MB4288; 6:ya24gw2PbV9UNPwtQnQZ1pBDFV0LuCe4cN6vEbnIVxaCgYNOXsed0hkdd6cu/yB77Hq6okmWlY3jAPdbRnmU/0c6MzS1GQ796L8Awjio/0Oftniql+SDnXOEIY420aWdYOCzdH9Q5SPL/rM8gXVF9Hir/S8EOTKdQtKBBgDWzo1i43tVhhPD6eaySP2Lx3jCgMvo1sDAvY4uPc7HWyP/Z5sGFynyu0vWt1Qk0mMOUWxuG0+8zyJVkrzBLAQem0L4FyWX4IrWT+D47oPju7KD5v7CIbT4aHojMq6qljpJt9uRb2cGGso37Xq/pWpQKAQIr0yhSB3RwwASCQUQehrOKk+nzFeCPiHi1nrFQVfOb0pV7Bjk0NT/zehYVoTW3V6HOL+1/c5F8VnX1Vyth0us4Tuvk3e/MK5M+H3hUu2dn8JY5dTr4S56HMYCa3rxtZzf8N0CWP2fTzEB2yqTzzdeEw==; 5:D6LrYppNhzk9rk+R3TGDD6UE0cuZ4jC2vQ3shb9rdAk/a58++TRC+NGbXQAPXFSehQlpqHd4676b01m79sqQ9784G710XpvvH3ZAqdXcNcTO0r/Xs6Ksk5e0okTWpdbZvcoCZ6Q+cxjnSQe5mOzNVnsiU8nIoPDdc7oNpPXWh6c=; 7:qyzXFOoNFQyL8jkdFubbmfGk5ZtdvX4xKGSrVirMbr0ob0xBE7KdTfzdqnVCegRiUbZtHsphz4B68JO50mSEFyYnlD+zLlzicohE6VjFqkqTMh11/Kq8fEytjd8tkPWhzMIPIDjp9A3hThbMhKB3TXCGdj6RCo8uFMdPYFCULSNmad6ZMB7Ot+L65U9UyaAKTFxofWa8D3VEXwVa76vBFzXV9+TDuR83tXDLWHgS9us4lr0NbmPCI0HRphbhW587
x-ms-office365-filtering-correlation-id: 7fcafc4d-131e-49d1-fde6-08d5fc426ced
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(2017052603328)(7193020); SRVR:VI1PR07MB4288; 
x-ms-traffictypediagnostic: VI1PR07MB4288:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=ietfc@btconnect.com; 
x-microsoft-antispam-prvs: <VI1PR07MB42882C4C17F20EE390B40D71A0270@VI1PR07MB4288.eurprd07.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(95692535739014);
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(3231311)(944501410)(52105095)(3002001)(10201501046)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(6072148)(201708071742011)(7699016); SRVR:VI1PR07MB4288; BCL:0; PCL:0; RULEID:; SRVR:VI1PR07MB4288; 
x-forefront-prvs: 0757EEBDCA
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39860400002)(136003)(346002)(376002)(366004)(396003)(13464003)(199004)(189003)(97736004)(6246003)(4326008)(84392002)(6512007)(9686003)(25786009)(14454004)(256004)(8676002)(1556002)(8936002)(81166006)(14496001)(305945005)(81156014)(53936002)(93886005)(106356001)(86152003)(478600001)(66066001)(105586002)(68736007)(2906002)(26005)(2900100001)(6436002)(99286004)(446003)(7736002)(76176011)(33896004)(476003)(54906003)(102836004)(5660300001)(110136005)(52116002)(6486002)(44736005)(316002)(86362001)(53546011)(5250100002)(186003)(229853002)(3846002)(486006)(6116002)(6506007)(386003); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR07MB4288; H:VI1PR07MB0831.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:0; MX:1; 
received-spf: None (protection.outlook.com: btconnect.com does not designate permitted sender hosts)
x-microsoft-antispam-message-info: rX1KOwkwN9sHzGQ3NBET5k+UosbmR6IErgRMCL+5nw2SpoMWmM0+cbMf3g4cMJAtxyjvY4154hIAjBwOS0MoyS3CWVpRY8EXOqtKvk/LteJ7NZgmNMsNsLM+Dxp1ixwyJazZCmlr6Zh8HFl9+kZnnhu2W8aQSzfna0sC0tAoozsX0BaCALRZ0IjiePgAWWfpnVEvlWqBLk3f2lZQ5D3PL9hWePdfYdOxZgzthZySrnY9MnhKVJ41P9dr5D/OKpPa1ZX0xXZ7XxpSXqe170P5kglbNTmIyL9LQWAFQtvjvAFi8q+RaRZ01S40PeDZB3YOtulxS90FvgNGP4erlvU6azs8cDp6n40ASd+zZ0FCAWc=
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="iso-8859-1"
Content-ID: <AB05CDCD3C8EF14BA026BD2A9C0D2386@eurprd07.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 7fcafc4d-131e-49d1-fde6-08d5fc426ced
X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Aug 2018 08:47:42.9163 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: cf8853ed-96e5-465b-9185-806bfe185e30
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR07MB4288
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/rl4MvqVlrfHpSAAlLFKds4_10gk>
Subject: Re: [yang-doctors] [Netconf] YANG Doctor question: empty mandatory choice?
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: Email list of the yang-doctors directorate  <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 07 Aug 2018 08:47:49 -0000

----- Original Message -----
From: "Martin Bjorklund" <mbj@tail-f.com>
Sent: Sunday, August 05, 2018 10:11 AM
Robert Wilton <rwilton=3D40cisco.com@dmarc.ietf.org> wrote:
> On 01/08/2018 17:09, Andy Bierman wrote:
> >
> > On Wed, Aug 1, 2018 at 9:01 AM, Robert Wilton
<mailto:rwilton@cisco.com>> wrote:
> >     On 31/07/2018 21:31, Andy Bierman wrote:
> >>     On Tue, Jul 31, 2018 at 12:39 PM, Eric Voit (evoit) wrote:
> >>> From: Juergen Schoenwaelder, July 31, 2018 1:48 PM
> >>> On Mon, Jul 30, 2018 at 08:41:42PM +0200, Martin Bjorklund
wrote:
> >>>>

<snip>

In this case, or if the choice is mandatory, the model would require
the client to configure an address if the transport is 'example-udp',
which is what we want.

But if the choice is marked as mandatory, *all* transports MUST define
some transport-specific parameters, even if that is not needed
(unclear if this will ever happen...)

Thus, I prefer Eric's original model w/o the choice.  The choice is
supposed to be clever, but might end up being confusing, and I don't
think it adds any value anyway.

<tp>
which I think it the key point.  Look at the discussion that has been
generated on this list, where there is more YANG expertise than almost
anywhere else, and wonder how the average implementer will cope with a
mandatory, empty choice.  Clever, yes, good idea, err no, not for an
RFC.

Tom Petch

/martin


<snip>


From nobody Mon Aug 13 07:34:47 2018
Return-Path: <janl@tail-f.com>
X-Original-To: yang-doctors@ietf.org
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 12698130F2F; Mon, 13 Aug 2018 07:34:32 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: Jan Lindblad <janl@tail-f.com>
To: <yang-doctors@ietf.org>
Cc: ietf@ietf.org, pim@ietf.org, draft-ietf-pim-igmp-mld-yang.all@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 6.83.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <153417087203.25020.10120277992606371332@ietfa.amsl.com>
Date: Mon, 13 Aug 2018 07:34:32 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/uV9viMCgnN5F3jhtv5E9aE3LDY4>
Subject: [yang-doctors] Yangdoctors last call review of draft-ietf-pim-igmp-mld-yang-07
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.27
List-Id: Email list of the yang-doctors directorate  <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 13 Aug 2018 14:34:32 -0000

Reviewer: Jan Lindblad
Review result: On the Right Track

This is my YANG-doctor review of draft-ietf-pim-igmp-mld-yang-07. In the
spring, I did an early review of the -02 version.

Most of the comments from the earlier review are still valid. In some ways the
document has progressed since -02, in many it has not, and in a few it has
deteriorated. In my judgement, the document is not ready for last call. Many
fundamentally important questions are still unresolved. Here are my review
comments in rough falling order of importance.

#1 Improper augment of /rt:routing/rt:control-plane-protocols

Quoted from section 3.1:
   This model augments the core routing data model "ietf-routing"
   specified in [RFC8349].  The IGMP model augments "/rt:routing/
   rt:control-plane-protocols" as opposed to augmenting "/rt:routing/
   rt:control-plane-protocols/rt:control-plane-protocol", as the latter
   would allow multiple protocol instances, while the IGMP protocol is
   designed to be enabled or disabled as a single protocol instance on
   a network instance or a logical network element.

The description above, and the actual augment statements in the YANG module
violate the principles described in RFC 8349, the ietf-routing.yang module it
augments. In RFC 8349, section 5.3.  Control-Plane Protocol, the proper way of
augmenting the routing module is described. The fact that this is a singleton
protocol instance doesn't change this. Section 5.3 describes singleton cases as
well.

#2 Incorrect vendor refinement model

Quoted from section 2.2:
   For the same reason, wide constant ranges (for example, timer
   maximum and minimum) will be used in the model.  It is expected that
   vendors will augment the model with any specific restrictions that
   might be required. Vendors may also extend the features list with
   proprietary extensions.

This is not acceptable. The principle suggested does not foster
interoperability and useful standards. It is also not possible to do what the
paragraph suggests in YANG. This was pointed out in the -02 review, and a
suggestion was given there on how to address the problem.

#3 Top level structures not optional

Quoted from section 2.3:
   The current document contains IGMP and MLD as separate schema
   branches in the structure. The reason for this is to make it easier
   for implementations which may optionally choose to support specific
   address families. And the names of objects may be different between
   the IPv4 (IGMP) and IPv6 (MLD) address families.

This problem was also pointed out in the -02 review. The author suggests that
implementing igmp and/or mld is optional. This is not reflected in the YANG
module, however. As currently modeled, both are currently mandatory to
implement. If-feature is used liberally in the module, and could be used here
as well.

#4 Unclear meaning of optional leaves

Quoted from section 3.1:
   Where fields are not genuinely essential to protocol operation, they
   are marked as optional. Some fields will be essential but have a
   default specified, so that they need not be configured explicitly.

In fact, in the current version of the module, every leaf is optional (except
keys, which cannot be optional). It is good to see the addition of defaults in
many cases, but many unclear cases remain. E.g. leaf /igmp/global/enable is of
type boolean. I understand what true and false implies for this leaf. But what
does it mean if it is not set at all? Either add a default or describe the
meaning in the description. Similarly, if the leaf version is not set on an
igmp or mld interface, or on the interface-global level, what does that mean?
Add default. require-router-alert? explicit-tracking? exclude-lite? Many of
these are used in NP-containers inheriting all the from the root, which makes
the use of mandatory highly discouraged in the current form. If the RFC 8349
augmentation principles are followed, the concern around mandatory falls, and
some leafs with no sensible default could be marked mandatory instead.

#5 All optional state

All state data is optional, which means a conforming server could very well
decide not to implement it. E.g. discontinuity-time is optional. Should a
manager count on this being available? A situation where every leaf is optional
is as nice and flexible for server implementors as it is frustrating and
complicated for manager implementors to consume. A YANG model is an API
contract and should consider the needs of both sides. The way this has been
designed reveals that no representation for the consumer side of this model has
been involved in the design. I would suggest thinking through what is the most
essential state data for a manager, and make some leafs mandatory.

#6 Abundant copy-paste

There is abundant repetition in the YANG module. leaf version is defined 2
times for igmp with identical definitions, and two more for mld with identical
definitions. leaf enable is defined once for the interface global-level, and
with identical definition on the interface local level. leaf
last-member-query-interval, query-interval and half a dozen other leaves are
defined twice with identical definitions.

#7 Leaf interface in the rpc clear*groups on line 1124, 1094 has type string.
Should be a leafref? Describe what values are valid. #8 Leaf group-policy,
source-policy on line 486, 527, 624, 689: type string. Should be leafref?
Describe what values are valid. #9 Leaf group on line 705, 1101, 1131: Is any
ipv4/6 address ok, or only a multicast address? Model accordingly.



From nobody Wed Aug 15 19:50:10 2018
Return-Path: <guofeng@huawei.com>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C4205130EC7; Wed, 15 Aug 2018 19:49:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 8ygVRCV59MHu; Wed, 15 Aug 2018 19:49:56 -0700 (PDT)
Received: from huawei.com (lhrrgout.huawei.com [185.176.76.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0D66212F1A2; Wed, 15 Aug 2018 19:49:56 -0700 (PDT)
Received: from lhreml705-cah.china.huawei.com (unknown [172.18.7.106]) by Forcepoint Email with ESMTP id 4DC179359C877; Thu, 16 Aug 2018 03:49:52 +0100 (IST)
Received: from DGGEMM422-HUB.china.huawei.com (10.1.198.39) by lhreml705-cah.china.huawei.com (10.201.108.46) with Microsoft SMTP Server (TLS) id 14.3.399.0; Thu, 16 Aug 2018 03:49:52 +0100
Received: from DGGEMM527-MBX.china.huawei.com ([169.254.6.217]) by dggemm422-hub.china.huawei.com ([10.1.198.39]) with mapi id 14.03.0399.000; Thu, 16 Aug 2018 10:49:50 +0800
From: Guofeng <guofeng@huawei.com>
To: Jan Lindblad <janl@tail-f.com>, "yang-doctors@ietf.org" <yang-doctors@ietf.org>
CC: "ietf@ietf.org" <ietf@ietf.org>, "pim@ietf.org" <pim@ietf.org>, "draft-ietf-pim-igmp-mld-yang.all@ietf.org" <draft-ietf-pim-igmp-mld-yang.all@ietf.org>
Thread-Topic: Yangdoctors last call review of draft-ietf-pim-igmp-mld-yang-07
Thread-Index: AQHUMxLGMeqvxFBTqEOtoXQkyfOjI6TBq0uw
Date: Thu, 16 Aug 2018 02:49:49 +0000
Message-ID: <26C188D59156FB48A93A72ACF12DE0A5B1859613@DGGEMM527-MBX.china.huawei.com>
References: <153417087203.25020.10120277992606371332@ietfa.amsl.com>
In-Reply-To: <153417087203.25020.10120277992606371332@ietfa.amsl.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.111.201.94]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/Md3XPYED4JmXBQI4nGp0QH9E3YQ>
Subject: Re: [yang-doctors] Yangdoctors last call review of draft-ietf-pim-igmp-mld-yang-07
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: Email list of the yang-doctors directorate  <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Aug 2018 02:49:58 -0000

SGkgSmFuLA0KDQpUaGFua3MgZm9yIHlvdXIgcmV2aWV3LCB3ZSAoTWNhc3QgRGVzaWduIFRlYW0p
IHdpbGwgZGlzY3VzcyB5b3VyIHJldmlldyBjb21tZW50cyBhbmQgdXBkYXRlIHRoZSBkcmFmdC4N
Cg0KRmVuZw0KDQotLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KRnJvbTogSmFuIExpbmRibGFk
IFttYWlsdG86amFubEB0YWlsLWYuY29tXSANClNlbnQ6IE1vbmRheSwgQXVndXN0IDEzLCAyMDE4
IDEwOjM1IFBNDQpUbzogeWFuZy1kb2N0b3JzQGlldGYub3JnDQpDYzogaWV0ZkBpZXRmLm9yZzsg
cGltQGlldGYub3J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lIHdoYXQgdmFsdWVzIGFyZSB2YWxpZC4gIzggTGVhZiBncm91cC1wb2xpY3ksIHNvdXJj
ZS1wb2xpY3kgb24gbGluZSA0ODYsIDUyNywgNjI0LCA2ODk6IHR5cGUgc3RyaW5nLiBTaG91bGQg
YmUgbGVhZnJlZj8NCkRlc2NyaWJlIHdoYXQgdmFsdWVzIGFyZSB2YWxpZC4gIzkgTGVhZiBncm91
cCBvbiBsaW5lIDcwNSwgMTEwMSwgMTEzMTogSXMgYW55DQppcHY0LzYgYWRkcmVzcyBvaywgb3Ig
b25seSBhIG11bHRpY2FzdCBhZGRyZXNzPyBNb2RlbCBhY2NvcmRpbmdseS4NCg0KDQo=


From nobody Fri Aug 17 10:25:59 2018
Return-Path: <mjethanandani@gmail.com>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9B1E0130DD5 for <yang-doctors@ietfa.amsl.com>; Fri, 17 Aug 2018 10:25:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=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=gmail.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 KmZTy8MsEm-M for <yang-doctors@ietfa.amsl.com>; Fri, 17 Aug 2018 10:25:56 -0700 (PDT)
Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) (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 4A8881252B7 for <yang-doctors@ietf.org>; Fri, 17 Aug 2018 10:25:56 -0700 (PDT)
Received: by mail-pf1-x430.google.com with SMTP id e13-v6so3782105pff.7 for <yang-doctors@ietf.org>; Fri, 17 Aug 2018 10:25:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=gkOF5/X0vqsPlActH03rHsF2caKRVBz2rrabF2d+hj0=; b=aDAwfUkmgW2UeB+NsOHmxxa5oruVratXoG2yXBRDn/7fn2LyCGup9jLH0Fvklu16N6 ERHqjzLIQ/QlWRYxherjqobGLHXCTFbYVE1mTNrg+gSGY6mnJ2JwTKHTEcYm+wdYSd3V 9GtnZpogUh3AnSk0C75ZokwNKL+ixxPIJ1hKOwl+fNYEtTkNLFFpqM21730Wkp3VdBVA KALyEqVaT+TOx01Hd/rFJv1qVsF/GgzL42SZVrwYmsM8b0eXSQAONtsUXkaFaPmVRE1h NFPzgQyfRyjFplJo9zxv6zy2Y3aqjtFndsxqREvKklr7W0nVeixtcRMMb44wGEHci7DU PANQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=gkOF5/X0vqsPlActH03rHsF2caKRVBz2rrabF2d+hj0=; b=YunaHXYhXoyZ2jyfbp2ZGUbJMD4BIM+wzkiKsWUnmsw1Dc1CrxRKSGzTY/9iXPM2UW WN8Qjekvo3hZRPCSk5IpZCwseKWPv5UXLKyrVsRVbE0ST8+xfldqVHhKM4pm4fPQoVN5 8/FilsnYfuE/L3Dn3Qi/bLMRGaLNyGZUu1rkyvcZVYdRPoXaHavT9fmYRlZiD1g11hwH gJelJNH48m8DOTsc/3CfagfksqhpObz8ocW0ULxy/5p2TCpFa1Y7uTo1eMI+fL0jvrfm hVNwBD4UHjY2M0PnjEaE3zJvSS48I1b36Xw4oyVCWOoZ3nGp76QDhpgRcXWB1m0k3/7B zTDQ==
X-Gm-Message-State: AOUpUlGd5n/kubsMP+Am2KY6g3o9ZE465/v4w3qR5+oueWzwcndjX7nj rrVgRufw/e3PhgfYTQzwKjC8W2Nc
X-Google-Smtp-Source: AA+uWPxaEh9CI8vP7fA8qG5ioUOWpeYsKPRUfoA+vfoBt+KUeicABhjyXNPQ2tlcJ01hp2vSDxyviQ==
X-Received: by 2002:a63:d74f:: with SMTP id w15-v6mr33971151pgi.306.1534526755627;  Fri, 17 Aug 2018 10:25:55 -0700 (PDT)
Received: from ?IPv6:2601:647:4700:1280:15a2:f843:dd20:11db? ([2601:647:4700:1280:15a2:f843:dd20:11db]) by smtp.gmail.com with ESMTPSA id j1-v6sm3906237pfk.125.2018.08.17.10.25.54 for <yang-doctors@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Aug 2018 10:25:54 -0700 (PDT)
From: Mahesh Jethanandani <mjethanandani@gmail.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\))
Message-Id: <09CD4A1F-2A3C-4E42-A0D3-C5A475947724@gmail.com>
Date: Fri, 17 Aug 2018 10:26:29 -0700
To: YANG Doctors <yang-doctors@ietf.org>
X-Mailer: Apple Mail (2.3445.9.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/0oXvRt9RewU4-4dsRdklPPJWeuw>
Subject: [yang-doctors] Definition for base64
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: Email list of the yang-doctors directorate  <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 17 Aug 2018 17:25:58 -0000

Is there a definition for base64 defined in one of the YANG models? I =
would prefer to use one if it defined. If not, I was going to define one =
as

 typedef base64 {
    type string {
      pattern '(([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{3}=3D|'
            + '[A-Za-z0-9+/]{2}=3D=3D)?){1}';
    }
    description
      "A binary-to-text encoding scheme to represent binary data in
       an ASCII string format.";
    reference
      "RFC 4648, The Base16, Base32, and Base64 Data Encodings";
  }

Mahesh Jethanandani
mjethanandani@gmail.com


From nobody Fri Aug 17 10:40:14 2018
Return-Path: <andy@yumaworks.com>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3B23A130E4C for <yang-doctors@ietfa.amsl.com>; Fri, 17 Aug 2018 10:40:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.909
X-Spam-Level: 
X-Spam-Status: No, score=-1.909 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, T_DKIMWL_WL_MED=-0.01, URIBL_BLOCKED=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 CF8P_5Gjvsqw for <yang-doctors@ietfa.amsl.com>; Fri, 17 Aug 2018 10:40:11 -0700 (PDT)
Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) (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 9DF63130F43 for <yang-doctors@ietf.org>; Fri, 17 Aug 2018 10:40:10 -0700 (PDT)
Received: by mail-lf1-x12e.google.com with SMTP id g6-v6so6431523lfb.11 for <yang-doctors@ietf.org>; Fri, 17 Aug 2018 10:40:10 -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=Jno1tADYkb04DB2fEylePt124E0VJpUX2f4Lsh2Dn2s=; b=SPPrR0+fjrzY0SPuOIYsTrOwls2jSEtiqB7stQkL/GZwKh31xfILQM1yEHkMBIgEnW 1+mceFEJg3iGD5fAmbjmB/squWeEznNrE9R9twKBQCU5rmqh5CYDjRDEpWsCiBwJbrtL 6jcvt6bRy/q+FeQIlNWrSYR7l0k7G3LRBmr4Ye8PuOdoEOQpuMerzHNg2JxYXLLEvdjg wBae05KsNqtAIcTWktSYhXCHwhAQqKcUmjf4brCW3XtoW4wqxtNznFfCE3hMA88X60NL DeXHw87j+nBUNadJVPOjdC7R74+SECfB+B4aZ4qTiC+ayp4Apji2hRmgHqhUmcX4vjhl G5xw==
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=Jno1tADYkb04DB2fEylePt124E0VJpUX2f4Lsh2Dn2s=; b=Z8QrAQlRgrOcyTrfzR0lBvpD2QrQq8DORhaBaukIF4/md0NOpVMun6b03ajiDF5wDd 4Wo/ZVNQtnN1/C7L00ui0v/XzGJAkQFS9eLFg/T8LJNo5aXYyREGeDW5lvlApZqpy3Tl VOI3cv54mp88prj3GnaVcs214F5TJGLNhXMUdhSFaBRn1mmYOKny75f7ScK9GJx1jup7 /rayl7UYuqXy+BNTo5dctU0mGf4+bF70V6xXhKchyRssewPSdJO6Sa/hi8aCNQwkvo9J ybhtQJKqxPEoPqUHqkatyOJbrnGQnA73uikaQyvaeNuT9GDKAWSqb2fwCVWcxcEmAqum G9vw==
X-Gm-Message-State: AOUpUlFeZTVs8nzAvyoQge34dVoGHYbn0Y14Nb0uPi1pW4e5fObcixd4 u1gz/NfiMiNIrARSsdZe5NmdyQ++c5lH1CEs8J0anmzh
X-Google-Smtp-Source: AA+uWPySDzdAnhXForgODqUpN0PArEagJCPUECgsEWZZ/JqFirS+uLElkKPPeTSH35++uspXFaKSLZxcu573ajE9yag=
X-Received: by 2002:a19:c1c4:: with SMTP id r187-v6mr9108836lff.90.1534527608647;  Fri, 17 Aug 2018 10:40:08 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:a19:aa46:0:0:0:0:0 with HTTP; Fri, 17 Aug 2018 10:40:07 -0700 (PDT)
In-Reply-To: <09CD4A1F-2A3C-4E42-A0D3-C5A475947724@gmail.com>
References: <09CD4A1F-2A3C-4E42-A0D3-C5A475947724@gmail.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Fri, 17 Aug 2018 10:40:07 -0700
Message-ID: <CABCOCHT6vj+Y1L7CprHvcYNmLtF9P5UDRw8H_uuD7ZKgqwRJog@mail.gmail.com>
To: Mahesh Jethanandani <mjethanandani@gmail.com>
Cc: YANG Doctors <yang-doctors@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000000306f80573a50da0"
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/D8CosH2B9TNqRFgrN8_9tSBy_p8>
Subject: Re: [yang-doctors] Definition for base64
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: Email list of the yang-doctors directorate  <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 17 Aug 2018 17:40:13 -0000

--0000000000000306f80573a50da0
Content-Type: text/plain; charset="UTF-8"

Hi,

Aren't you confusing YANG data types with message encoding?
A base64 string at the YANG level is just a string. There are no
non-printable chars
like a binary string could have.  Not sure why the type base64 is
interesting in YANG data models.


Andy


On Fri, Aug 17, 2018 at 10:26 AM, Mahesh Jethanandani <
mjethanandani@gmail.com> wrote:

> Is there a definition for base64 defined in one of the YANG models? I
> would prefer to use one if it defined. If not, I was going to define one as
>
>  typedef base64 {
>     type string {
>       pattern '(([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{3}=|'
>             + '[A-Za-z0-9+/]{2}==)?){1}';
>     }
>     description
>       "A binary-to-text encoding scheme to represent binary data in
>        an ASCII string format.";
>     reference
>       "RFC 4648, The Base16, Base32, and Base64 Data Encodings";
>   }
>
> Mahesh Jethanandani
> mjethanandani@gmail.com
>
> _______________________________________________
> yang-doctors mailing list
> yang-doctors@ietf.org
> https://www.ietf.org/mailman/listinfo/yang-doctors
>

--0000000000000306f80573a50da0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi,<div><br></div><div>Aren&#39;t you confusing YANG data =
types with message encoding?</div><div>A base64 string at the YANG level is=
 just a string. There are no non-printable chars</div><div>like a binary st=
ring could have.=C2=A0 Not sure why the type base64 is interesting in YANG =
data models.</div><div><br></div><div><br></div><div>Andy</div><div><br></d=
iv></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Fri, =
Aug 17, 2018 at 10:26 AM, Mahesh Jethanandani <span dir=3D"ltr">&lt;<a href=
=3D"mailto:mjethanandani@gmail.com" target=3D"_blank">mjethanandani@gmail.c=
om</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"marg=
in:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Is there a defin=
ition for base64 defined in one of the YANG models? I would prefer to use o=
ne if it defined. If not, I was going to define one as<br>
<br>
=C2=A0typedef base64 {<br>
=C2=A0 =C2=A0 type string {<br>
=C2=A0 =C2=A0 =C2=A0 pattern &#39;(([A-Za-z0-9+/]{4})*([A-Za-<wbr>z0-9+/]{3=
}=3D|&#39;<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 + &#39;[A-Za-z0-9+/]{2}=3D=3D)?){=
1}&#39;;<br>
=C2=A0 =C2=A0 }<br>
=C2=A0 =C2=A0 description<br>
=C2=A0 =C2=A0 =C2=A0 &quot;A binary-to-text encoding scheme to represent bi=
nary data in<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0an ASCII string format.&quot;;<br>
=C2=A0 =C2=A0 reference<br>
=C2=A0 =C2=A0 =C2=A0 &quot;RFC 4648, The Base16, Base32, and Base64 Data En=
codings&quot;;<br>
=C2=A0 }<br>
<br>
Mahesh Jethanandani<br>
<a href=3D"mailto:mjethanandani@gmail.com">mjethanandani@gmail.com</a><br>
<br>
______________________________<wbr>_________________<br>
yang-doctors mailing list<br>
<a href=3D"mailto:yang-doctors@ietf.org">yang-doctors@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/yang-doctors" rel=3D"noref=
errer" target=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/yang-do=
ctors</a><br>
</blockquote></div><br></div>

--0000000000000306f80573a50da0--


From nobody Fri Aug 17 10:46:25 2018
Return-Path: <mjethanandani@gmail.com>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CF03D130EE3 for <yang-doctors@ietfa.amsl.com>; Fri, 17 Aug 2018 10:46:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level: 
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 8q5eklgwa0H0 for <yang-doctors@ietfa.amsl.com>; Fri, 17 Aug 2018 10:46:21 -0700 (PDT)
Received: from mail-pl0-x22f.google.com (mail-pl0-x22f.google.com [IPv6:2607:f8b0:400e:c01::22f]) (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 7135D130DCA for <yang-doctors@ietf.org>; Fri, 17 Aug 2018 10:46:21 -0700 (PDT)
Received: by mail-pl0-x22f.google.com with SMTP id f6-v6so4046195plo.1 for <yang-doctors@ietf.org>; Fri, 17 Aug 2018 10:46:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=LP1UT9F1D2wJYhhePPzHvn7il/ey7/hhplcX7iFmtm8=; b=CL6zLmiFMTTKSRIcNi5t8e6ltSWQzhhLRKgJ3nEK4+p1gA+VhEKMbpIJNYQsd8N2F6 HOlAWwKqSxI1nLa9XzaD4hQP2dvUtmfa8MCNmAJWglXyEPwC+K06GzogUvmfaTlckJR/ jY0K/hRRoYQiWIABEo7Kk3GRY+g9ZFlIuCJ+1wkxRrS1ueTg9QDcVXvqdPr1D/QH+DyG AvAHmvoW8Gp87gDxqYj6ND52pv9sbiT0PT7E1RoifATvr758S15+h7UpXu3JEZM6AlO6 E4RnrkP2HHupAK1IduoYHFcTtn38ILO59pAp0NDQ3cEuAdfIa98OvnQvD2Xn5q0GYG7N YTKA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=LP1UT9F1D2wJYhhePPzHvn7il/ey7/hhplcX7iFmtm8=; b=fY0iPopwa3Z66aTSMbnclRjHuAjB7d0PeqHA5lKUd+OqkWnXs+Sje1dlpi+KF7YhT1 +CBhgOjQh14/lGmDArTGJO0HwqN/LZkkoSc9rmRmm/KS8Fggtix0h9EkRRHLskN5wMGV uY23rYMkf3BVye0/Sq5xCM20B1a1N+pt88NXiBd6tHnkfHE1Aqskxa71GFybo45D/hZu gzQDX8pCwcFoI2guIhZ0vSiaBOjr1texx6364HvBb/LmK0DIl13SmfyKSbpQDgSyQQZn ijgBQAgU0Do8ZccAtX0S8Ni5goxI7+N50bCSTWYkPRmqlyHfQZxrciJ4325rxlMgKnv/ PWmg==
X-Gm-Message-State: AOUpUlFouqSMu88uWbF88hk4PEJcY5nW8Bvwgrv7J7vMrtMCY9yYK5V3 vCLmhISVfAognq+zGa6UToSsapp2
X-Google-Smtp-Source: AA+uWPxRNxttPeZEYUZUSVlhIg3f/iYeKxhxEawP2F2FLb6eF+iGLOavjqQs8JEfBeYIGGXJT30QjQ==
X-Received: by 2002:a17:902:b786:: with SMTP id e6-v6mr5178086pls.185.1534527981089;  Fri, 17 Aug 2018 10:46:21 -0700 (PDT)
Received: from ?IPv6:2601:647:4700:1280:15a2:f843:dd20:11db? ([2601:647:4700:1280:15a2:f843:dd20:11db]) by smtp.gmail.com with ESMTPSA id n80-v6sm3986451pfb.95.2018.08.17.10.46.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Aug 2018 10:46:20 -0700 (PDT)
From: Mahesh Jethanandani <mjethanandani@gmail.com>
Message-Id: <2AD31000-4E60-47E7-9329-3DD4D17DA49D@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_1A23A5D1-5111-43B7-96B1-05CE9E831486"
Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\))
Date: Fri, 17 Aug 2018 10:46:55 -0700
In-Reply-To: <CABCOCHT6vj+Y1L7CprHvcYNmLtF9P5UDRw8H_uuD7ZKgqwRJog@mail.gmail.com>
Cc: YANG Doctors <yang-doctors@ietf.org>
To: Andy Bierman <andy@yumaworks.com>
References: <09CD4A1F-2A3C-4E42-A0D3-C5A475947724@gmail.com> <CABCOCHT6vj+Y1L7CprHvcYNmLtF9P5UDRw8H_uuD7ZKgqwRJog@mail.gmail.com>
X-Mailer: Apple Mail (2.3445.9.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/lWX8q6MhlCCSTZ6UYrSzWwC5RJQ>
Subject: Re: [yang-doctors] Definition for base64
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: Email list of the yang-doctors directorate  <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 17 Aug 2018 17:46:24 -0000

--Apple-Mail=_1A23A5D1-5111-43B7-96B1-05CE9E831486
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

I have a protocol (Babel) that defines router-id as a base64 string of 8 =
octets. I could define it as a string, but isn=E2=80=99t it the case =
that base64 includes only a set of printable characters defined by the =
regex below? Not all printable characters are included in the set.

> On Aug 17, 2018, at 10:40 AM, Andy Bierman <andy@yumaworks.com> wrote:
>=20
> Hi,
>=20
> Aren't you confusing YANG data types with message encoding?
> A base64 string at the YANG level is just a string. There are no =
non-printable chars
> like a binary string could have.  Not sure why the type base64 is =
interesting in YANG data models.
>=20
>=20
> Andy
>=20
>=20
> On Fri, Aug 17, 2018 at 10:26 AM, Mahesh Jethanandani =
<mjethanandani@gmail.com <mailto:mjethanandani@gmail.com>> wrote:
> Is there a definition for base64 defined in one of the YANG models? I =
would prefer to use one if it defined. If not, I was going to define one =
as
>=20
>  typedef base64 {
>     type string {
>       pattern '(([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{3}=3D|'
>             + '[A-Za-z0-9+/]{2}=3D=3D)?){1}';
>     }
>     description
>       "A binary-to-text encoding scheme to represent binary data in
>        an ASCII string format.";
>     reference
>       "RFC 4648, The Base16, Base32, and Base64 Data Encodings";
>   }
>=20
> Mahesh Jethanandani
> mjethanandani@gmail.com <mailto:mjethanandani@gmail.com>
>=20
> _______________________________________________
> yang-doctors mailing list
> yang-doctors@ietf.org <mailto:yang-doctors@ietf.org>
> https://www.ietf.org/mailman/listinfo/yang-doctors =
<https://www.ietf.org/mailman/listinfo/yang-doctors>
>=20

Mahesh Jethanandani
mjethanandani@gmail.com


--Apple-Mail=_1A23A5D1-5111-43B7-96B1-05CE9E831486
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D"">I =
have a protocol (Babel) that defines router-id as a base64 string of 8 =
octets. I could define it as a string, but isn=E2=80=99t it the case =
that base64 includes only a set of printable characters defined by the =
regex below? Not all printable characters are included in the set.<br =
class=3D""><div><br class=3D""><blockquote type=3D"cite" class=3D""><div =
class=3D"">On Aug 17, 2018, at 10:40 AM, Andy Bierman &lt;<a =
href=3D"mailto:andy@yumaworks.com" class=3D"">andy@yumaworks.com</a>&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D""><div =
dir=3D"ltr" class=3D"">Hi,<div class=3D""><br class=3D""></div><div =
class=3D"">Aren't you confusing YANG data types with message =
encoding?</div><div class=3D"">A base64 string at the YANG level is just =
a string. There are no non-printable chars</div><div class=3D"">like a =
binary string could have.&nbsp; Not sure why the type base64 is =
interesting in YANG data models.</div><div class=3D""><br =
class=3D""></div><div class=3D""><br class=3D""></div><div =
class=3D"">Andy</div><div class=3D""><br class=3D""></div></div><div =
class=3D"gmail_extra"><br class=3D""><div class=3D"gmail_quote">On Fri, =
Aug 17, 2018 at 10:26 AM, Mahesh Jethanandani <span dir=3D"ltr" =
class=3D"">&lt;<a href=3D"mailto:mjethanandani@gmail.com" =
target=3D"_blank" class=3D"">mjethanandani@gmail.com</a>&gt;</span> =
wrote:<br class=3D""><blockquote class=3D"gmail_quote" style=3D"margin:0 =
0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Is there a =
definition for base64 defined in one of the YANG models? I would prefer =
to use one if it defined. If not, I was going to define one as<br =
class=3D"">
<br class=3D"">
&nbsp;typedef base64 {<br class=3D"">
&nbsp; &nbsp; type string {<br class=3D"">
&nbsp; &nbsp; &nbsp; pattern '(([A-Za-z0-9+/]{4})*([A-Za-<wbr =
class=3D"">z0-9+/]{3}=3D|'<br class=3D"">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; + =
'[A-Za-z0-9+/]{2}=3D=3D)?){1}';<br class=3D"">
&nbsp; &nbsp; }<br class=3D"">
&nbsp; &nbsp; description<br class=3D"">
&nbsp; &nbsp; &nbsp; "A binary-to-text encoding scheme to represent =
binary data in<br class=3D"">
&nbsp; &nbsp; &nbsp; &nbsp;an ASCII string format.";<br class=3D"">
&nbsp; &nbsp; reference<br class=3D"">
&nbsp; &nbsp; &nbsp; "RFC 4648, The Base16, Base32, and Base64 Data =
Encodings";<br class=3D"">
&nbsp; }<br class=3D"">
<br class=3D"">
Mahesh Jethanandani<br class=3D"">
<a href=3D"mailto:mjethanandani@gmail.com" =
class=3D"">mjethanandani@gmail.com</a><br class=3D"">
<br class=3D"">
______________________________<wbr class=3D"">_________________<br =
class=3D"">
yang-doctors mailing list<br class=3D"">
<a href=3D"mailto:yang-doctors@ietf.org" =
class=3D"">yang-doctors@ietf.org</a><br class=3D"">
<a href=3D"https://www.ietf.org/mailman/listinfo/yang-doctors" =
rel=3D"noreferrer" target=3D"_blank" =
class=3D"">https://www.ietf.org/mailman/<wbr =
class=3D"">listinfo/yang-doctors</a><br class=3D"">
</blockquote></div><br class=3D""></div>
</div></blockquote></div><br class=3D""><div class=3D"">
<div class=3D"">Mahesh Jethanandani</div><div class=3D""><a =
href=3D"mailto:mjethanandani@gmail.com" =
class=3D"">mjethanandani@gmail.com</a></div>

</div>
<br class=3D""></body></html>=

--Apple-Mail=_1A23A5D1-5111-43B7-96B1-05CE9E831486--


From nobody Fri Aug 17 11:05:33 2018
Return-Path: <acee@cisco.com>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D25EA130E05 for <yang-doctors@ietfa.amsl.com>; Fri, 17 Aug 2018 11:05:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.509
X-Spam-Level: 
X-Spam-Status: No, score=-14.509 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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, T_DKIMWL_WL_MED=-0.01, URIBL_BLOCKED=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 DsK2UFISZFeG for <yang-doctors@ietfa.amsl.com>; Fri, 17 Aug 2018 11:05:21 -0700 (PDT)
Received: from rcdn-iport-1.cisco.com (rcdn-iport-1.cisco.com [173.37.86.72]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4424B130DC7 for <yang-doctors@ietf.org>; Fri, 17 Aug 2018 11:05:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=15966; q=dns/txt; s=iport; t=1534529121; x=1535738721; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=RbSe2OW2BEV8mIupQEuo/avUy2mZ5FRy/wROTpHrYNI=; b=dc5rGBAbvSSGvbvujlFH8/Ca62mO6SPHq2Qyk+lhIV8B6pa0OlD5ou+Z h5wxw3WGfn7oeO8vJ13ZPQvGnrRr1qkMjcXSMArWyTYcwauYLxextxXe+ 0yC9DEsBat9gKCLTESNW2tPRyaTtNsWw2HShUQn8hJNkrj/E602eKHISB U=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0DyAAB3DXdb/4QNJK1DGhoBAQEBAQI?= =?us-ascii?q?BAQEBCAEBAQGCV3hjfygKg2WICowcgWgliFGIG4UrgXoLGAEKhEkCF4MvITQ?= =?us-ascii?q?YAQIBAQIBAQJtHAyFNwEBAQQBASFLCxACAQgOAwMBAigDAgICHwYLFAkIAgQ?= =?us-ascii?q?BDQWDIgGBHUwDFQ80qHiBLoRogjcNgywFiRgXggCBOQwTgkyCVkUBAQGCABa?= =?us-ascii?q?CSzGCBCICiHWEAY1ZKwkCjE6DEBWOOItshxQCERSBJB04JoEscBU7KgGCPgm?= =?us-ascii?q?LDIU+bwGMV4EbAQE?=
X-IronPort-AV: E=Sophos;i="5.53,251,1531785600";  d="scan'208,217";a="439543495"
Received: from alln-core-10.cisco.com ([173.36.13.132]) by rcdn-iport-1.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Aug 2018 18:05:20 +0000
Received: from XCH-RTP-013.cisco.com (xch-rtp-013.cisco.com [64.101.220.153]) by alln-core-10.cisco.com (8.15.2/8.15.2) with ESMTPS id w7HI5JPC023507 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Fri, 17 Aug 2018 18:05:20 GMT
Received: from xch-rtp-015.cisco.com (64.101.220.155) by XCH-RTP-013.cisco.com (64.101.220.153) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Fri, 17 Aug 2018 14:05:19 -0400
Received: from xch-rtp-015.cisco.com ([64.101.220.155]) by XCH-RTP-015.cisco.com ([64.101.220.155]) with mapi id 15.00.1320.000; Fri, 17 Aug 2018 14:05:19 -0400
From: "Acee Lindem (acee)" <acee@cisco.com>
To: Mahesh Jethanandani <mjethanandani@gmail.com>, Andy Bierman <andy@yumaworks.com>
CC: YANG Doctors <yang-doctors@ietf.org>
Thread-Topic: [yang-doctors] Definition for base64
Thread-Index: AQHUNk9iWadQLbeYYEi+wnsyLHcrM6TEeRyAgAAB5oD//8IVAA==
Date: Fri, 17 Aug 2018 18:05:19 +0000
Message-ID: <38727EB3-941C-4077-874D-E57CE7149C0D@cisco.com>
References: <09CD4A1F-2A3C-4E42-A0D3-C5A475947724@gmail.com> <CABCOCHT6vj+Y1L7CprHvcYNmLtF9P5UDRw8H_uuD7ZKgqwRJog@mail.gmail.com> <2AD31000-4E60-47E7-9329-3DD4D17DA49D@gmail.com>
In-Reply-To: <2AD31000-4E60-47E7-9329-3DD4D17DA49D@gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.116.152.204]
Content-Type: multipart/alternative; boundary="_000_38727EB3941C4077874DE57CE7149C0Dciscocom_"
MIME-Version: 1.0
X-Outbound-SMTP-Client: 64.101.220.153, xch-rtp-013.cisco.com
X-Outbound-Node: alln-core-10.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/bDrpdUMGJdEaFk_Mlgf9DZGFkOI>
Subject: Re: [yang-doctors] Definition for base64
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: Email list of the yang-doctors directorate  <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 17 Aug 2018 18:05:27 -0000

--_000_38727EB3941C4077874DE57CE7149C0Dciscocom_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64

SGkgTWFoZXNoLA0KDQpBcyBBbmR5IHN0YXRlcywgdGhlIGJhc2U2NCBlbmNvZGluZ3MgYXJlIHR5
cGUgc3RyaW5nIGluIHRoZSBleGlzdGluZyBZQU5HIGRhdGEgbm9kZXMuDQoNClNlZSBzZWFyY2gg
Zm9yIGJhc2U2NDoNCg0KaHR0cHM6Ly93d3cueWFuZ2NhdGFsb2cub3JnL3lhbmctc2VhcmNoL3lh
bmctc2VhcmNoLnBocA0KVGhhbmtzLA0KQWNlZQ0KDQpGcm9tOiB5YW5nLWRvY3R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uYW5kYW5pQGdtYWlsLmNvbTxtYWlsdG86bWpldGhhbmFuZGFu
aUBnbWFpbC5jb20+DQoNCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fDQp5YW5nLWRvY3RvcnMgbWFpbGluZyBsaXN0DQp5YW5nLWRvY3RvcnNAaWV0Zi5vcmc8
bWFpbHRvOnlhbmctZG9jdG9yc0BpZXRmLm9yZz4NCmh0dHBzOi8vd3d3LmlldGYub3JnL21haWxt
YW4vbGlzdGluZm8veWFuZy1kb2N0b3JzDQoNCg0KTWFoZXNoIEpldGhhbmFuZGFuaQ0KbWpldGhh
bmFuZGFuaUBnbWFpbC5jb208bWFpbHRvOm1qZXRoYW5hbmRhbmlAZ21haWwuY29tPg0KDQoNCg==

--_000_38727EB3941C4077874DE57CE7149C0Dciscocom_
Content-Type: text/html; charset="utf-8"
Content-ID: <78CD73E11DBB71498D3E3DAF41AB0E06@emea.cisco.com>
Content-Transfer-Encoding: base64

PGh0bWwgeG1sbnM6bz0idXJuOnNjaGVtYXMtbWljcm9zb2Z0LWNvbTpvZmZpY2U6b2ZmaWNlIiB4
bWxuczp3PSJ1cm46c2NoZW1hcy1taWNyb3NvZnQtY29tOm9mZmljZTp3b3JkIiB4bWxuczptPSJo
dHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL29mZmljZS8yMDA0LzEyL29tbWwiIHhtbG5zPSJo
dHRwOi8vd3d3LnczLm9yZy9UUi9SRUMtaHRtbDQwIj4NCjxoZWFkPg0KPG1ldGEgaHR0cC1lcXVp
dj0iQ29udGVudC1UeXBlIiBjb250ZW50PSJ0ZXh0L2h0bWw7IGNoYXJzZXQ9dXRmLTgiPg0KPG1l
dGEgbmFtZT0iR2VuZXJhdG9yIiBjb250ZW50PSJNaWNyb3NvZnQgV29yZCAxNSAoZmlsdGVyZWQg
bWVkaXVtKSI+DQo8c3R5bGU+PCEtLQ0KLyogRm9udCBEZWZpbml0aW9ucyAqLw0KQGZv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hbiBzdHlsZT0ibXNvLWJv
b2ttYXJrOl9NYWlsT3JpZ2luYWxCb2R5Ij48L3NwYW4+PC9hPjxzcGFuIHN0eWxlPSJtc28tYm9v
a21hcms6X01haWxPcmlnaW5hbEJvZHkiPjxvOnA+PC9vOnA+PC9zcGFuPjwvcD4NCjwvZGl2Pg0K
PC9kaXY+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIiBzdHlsZT0ibWFyZ2luLWxlZnQ6LjVpbiI+PHNw
YW4gc3R5bGU9Im1zby1ib29rbWFyazpfTWFpbE9yaWdpbmFsQm9keSI+PGJyPg0KPGJyPg0KPC9z
cGFuPjxvOnA+PC9vOnA+PC9wPg0KPC9kaXY+DQo8L2JvZHk+DQo8L2h0bWw+DQo=

--_000_38727EB3941C4077874DE57CE7149C0Dciscocom_--


From nobody Fri Aug 17 12:04:04 2018
Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 040C2131002 for <yang-doctors@ietfa.amsl.com>; Fri, 17 Aug 2018 12:03:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 UIwiaeDwh3Bc for <yang-doctors@ietfa.amsl.com>; Fri, 17 Aug 2018 12:03:53 -0700 (PDT)
Received: from anna.localdomain (anna.eecs.jacobs-university.de [IPv6:2001:638:709:5::7]) by ietfa.amsl.com (Postfix) with ESMTP id 9617D130FC8 for <yang-doctors@ietf.org>; Fri, 17 Aug 2018 12:03:53 -0700 (PDT)
Received: by anna.localdomain (Postfix, from userid 501) id 595AC241A37A; Fri, 17 Aug 2018 21:03:51 +0200 (CEST)
Date: Fri, 17 Aug 2018 21:03:51 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Mahesh Jethanandani <mjethanandani@gmail.com>
Cc: Andy Bierman <andy@yumaworks.com>, YANG Doctors <yang-doctors@ietf.org>
Message-ID: <20180817190351.s2eqmn3at6qb2j3j@anna.jacobs.jacobs-university.de>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: Mahesh Jethanandani <mjethanandani@gmail.com>, Andy Bierman <andy@yumaworks.com>, YANG Doctors <yang-doctors@ietf.org>
References: <09CD4A1F-2A3C-4E42-A0D3-C5A475947724@gmail.com> <CABCOCHT6vj+Y1L7CprHvcYNmLtF9P5UDRw8H_uuD7ZKgqwRJog@mail.gmail.com> <2AD31000-4E60-47E7-9329-3DD4D17DA49D@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <2AD31000-4E60-47E7-9329-3DD4D17DA49D@gmail.com>
User-Agent: NeoMutt/20180716
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/WFswYUXCdlv85FsbAyic_mi_4L0>
Subject: Re: [yang-doctors] Definition for base64
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: Email list of the yang-doctors directorate  <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 17 Aug 2018 19:04:03 -0000

On Fri, Aug 17, 2018 at 10:46:55AM -0700, Mahesh Jethanandani wrote:
> I have a protocol (Babel) that defines router-id as a base64 string of 8 octets. I could define it as a string, but isn’t it the case that base64 includes only a set of printable characters defined by the regex below? Not all printable characters are included in the set.

RFC 6126 section 4.1.2 says:

4.1.2.  Router-Id

   A router-id is an arbitrary 8-octet value.  Router-ids SHOULD be
   assigned in modified EUI-64 format [ADDRARCH].

Where does it say that it is a string on 8 octets base64? Note, if you
use binary with length of 8, you actually get a base64 encoding on the
wire. But then there might be another doument that says the router-id
is to rendered as base64 but then the base64 string obviously is
longer than 8 octets. If you work off the information model, then I
might understand that you are confused because
draft-ietf-babel-information-model-03 says:

   base64      An opaque array of bytes.

What is that? Does this mean a base64 encoded opaque array of bytes?
Or something else? I would check how babel people and implementors
prefer to represent router-ids in textual format. Do they really
want trailing characters?

  import base64
  print(base64.b64encode(bytes(8)))

Gives me:

  b'AAAAAAAAAAA='

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>


From nobody Fri Aug 17 12:14:29 2018
Return-Path: <andy@yumaworks.com>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5910F130F9C for <yang-doctors@ietfa.amsl.com>; Fri, 17 Aug 2018 12:14:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.909
X-Spam-Level: 
X-Spam-Status: No, score=-1.909 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, T_DKIMWL_WL_MED=-0.01, URIBL_BLOCKED=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 BEMsMm_Dao-i for <yang-doctors@ietfa.amsl.com>; Fri, 17 Aug 2018 12:14:26 -0700 (PDT)
Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) (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 D759E130DC3 for <yang-doctors@ietf.org>; Fri, 17 Aug 2018 12:14:25 -0700 (PDT)
Received: by mail-lf1-x12d.google.com with SMTP id j8-v6so6630513lfb.4 for <yang-doctors@ietf.org>; Fri, 17 Aug 2018 12:14:25 -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; bh=WVuzVSlOuMd0f2RNY0BEUb2W1WHvqn7ExJGaA+tUj28=; b=Cdt2+aLUEyFIca4cC0+8ZegbTi8N8LLxcVgB7RlI0byq40iOIKA0kx9b0dAlTUzRh5 1HxG22meoPRCUGqW0PCFG2g7ZfXkBOL2aaEZ4FmW9ore2nDSwjC/zD1ajLvLlJb7X5zf 5V0Kik40bxI6rFZ1L9mfKJzietVRki3wMHXs+SOnLoWQaJqlO8L4PTEiHK6dSrTgWmeU RraoG3INs7GIFWCBA3/JnnXLqLPn7LgSjtUJfdGEiOavlE7U6LNF7yI1u8P9IHccf/PQ wdt+t8vvTMQVGLrsP3DcvYuapDZG81eTKk+VPWJQr1p0orQUE6qgw+0WvZj+BTnG0Izp Md8g==
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; bh=WVuzVSlOuMd0f2RNY0BEUb2W1WHvqn7ExJGaA+tUj28=; b=MnkT4ZAiPJ90AdNksqm/SiuWnNcftrxM1A+tqqPIGy2K3mGqUf1pU6+QkSaWwBsIJ6 fol560nc/mob2vwuXYVOG3Ko+TVvEZCZOelDSm9abVRki13j/+BzW4vU6cRGNXYwWb9Z 3qEjR26Hk3qJjdKOaPsZ+2KGKX0NhGfODpyAmm/zKCjc+9eJPST551Xy+zBVUQpWD36k wW7F/Ni/hTwbeeCqXwqeX+QqJ3TFVVmVfgUR6MIsRZhEs2hWjH3eEAloffVhjSheQ8NS JmeBjZlAQ7XjAwoUT1xqF+WsUl2UT0Dkl4MZS8zhrNBXcEiBEXpsf+xLCfrUs2+kUGN0 48Cw==
X-Gm-Message-State: AOUpUlHILPm6tJyt9bpZHdOlTPQbNEfwor1ECGOKImChBzhi27+QbLzL 4BQm+EfZeMewWR9k+eHHRA0peBWJAQmUSAqzLAS5zg==
X-Google-Smtp-Source: AA+uWPwkPcP92z2oUtkQz5Nk1ZuXtUg81AnmNHydvORQFiZtF0RKGGvJTrOndPIkNhDoFR7d90LtgobZWOrtiCxj/K0=
X-Received: by 2002:a19:f50d:: with SMTP id j13-v6mr22313511lfb.127.1534533264030;  Fri, 17 Aug 2018 12:14:24 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:a19:aa46:0:0:0:0:0 with HTTP; Fri, 17 Aug 2018 12:14:23 -0700 (PDT)
In-Reply-To: <20180817190351.s2eqmn3at6qb2j3j@anna.jacobs.jacobs-university.de>
References: <09CD4A1F-2A3C-4E42-A0D3-C5A475947724@gmail.com> <CABCOCHT6vj+Y1L7CprHvcYNmLtF9P5UDRw8H_uuD7ZKgqwRJog@mail.gmail.com> <2AD31000-4E60-47E7-9329-3DD4D17DA49D@gmail.com> <20180817190351.s2eqmn3at6qb2j3j@anna.jacobs.jacobs-university.de>
From: Andy Bierman <andy@yumaworks.com>
Date: Fri, 17 Aug 2018 12:14:23 -0700
Message-ID: <CABCOCHRDZ98-ZjaeK_oDCt6tDBU+Op-6reZOVCPPFwJnVExbJA@mail.gmail.com>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>,  Mahesh Jethanandani <mjethanandani@gmail.com>, Andy Bierman <andy@yumaworks.com>, YANG Doctors <yang-doctors@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000195d690573a65e0a"
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/SoQXPAlYfcV-tp9yB9yMQbcgSs4>
Subject: Re: [yang-doctors] Definition for base64
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: Email list of the yang-doctors directorate  <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 17 Aug 2018 19:14:28 -0000

--000000000000195d690573a65e0a
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Fri, Aug 17, 2018 at 12:03 PM, Juergen Schoenwaelder <
j.schoenwaelder@jacobs-university.de> wrote:

> On Fri, Aug 17, 2018 at 10:46:55AM -0700, Mahesh Jethanandani wrote:
> > I have a protocol (Babel) that defines router-id as a base64 string of =
8
> octets. I could define it as a string, but isn=E2=80=99t it the case that=
 base64
> includes only a set of printable characters defined by the regex below? N=
ot
> all printable characters are included in the set.
>
> RFC 6126 section 4.1.2 says:
>
> 4.1.2.  Router-Id
>
>    A router-id is an arbitrary 8-octet value.  Router-ids SHOULD be
>    assigned in modified EUI-64 format [ADDRARCH].
>
> Where does it say that it is a string on 8 octets base64? Note, if you
> use binary with length of 8, you actually get a base64 encoding on the
> wire. But then there might be another doument that says the router-id
>

IMO the correct YANG data model would use type binary { length 8; }


Andy

is to rendered as base64 but then the base64 string obviously is
> longer than 8 octets. If you work off the information model, then I
> might understand that you are confused because
> draft-ietf-babel-information-model-03 says:
>
>    base64      An opaque array of bytes.
>
> What is that? Does this mean a base64 encoded opaque array of bytes?
> Or something else? I would check how babel people and implementors
> prefer to represent router-ids in textual format. Do they really
> want trailing characters?
>
>   import base64
>   print(base64.b64encode(bytes(8)))
>
> Gives me:
>
>   b'AAAAAAAAAAA=3D'
>
> /js
>
> --
> Juergen Schoenwaelder           Jacobs University Bremen gGmbH
> Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
> Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>
>

--000000000000195d690573a65e0a
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Fri, Aug 17, 2018 at 12:03 PM, Juergen Schoenwaelder <span dir=3D"lt=
r">&lt;<a href=3D"mailto:j.schoenwaelder@jacobs-university.de" target=3D"_b=
lank">j.schoenwaelder@jacobs-university.de</a>&gt;</span> wrote:<br><blockq=
uote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc =
solid;padding-left:1ex">On Fri, Aug 17, 2018 at 10:46:55AM -0700, Mahesh Je=
thanandani wrote:<br>
&gt; I have a protocol (Babel) that defines router-id as a base64 string of=
 8 octets. I could define it as a string, but isn=E2=80=99t it the case tha=
t base64 includes only a set of printable characters defined by the regex b=
elow? Not all printable characters are included in the set.<br>
<br>
RFC 6126 section 4.1.2 says:<br>
<br>
4.1.2.=C2=A0 Router-Id<br>
<br>
=C2=A0 =C2=A0A router-id is an arbitrary 8-octet value.=C2=A0 Router-ids SH=
OULD be<br>
=C2=A0 =C2=A0assigned in modified EUI-64 format [ADDRARCH].<br>
<br>
Where does it say that it is a string on 8 octets base64? Note, if you<br>
use binary with length of 8, you actually get a base64 encoding on the<br>
wire. But then there might be another doument that says the router-id<br></=
blockquote><div><br></div><div>IMO the correct YANG data model would use ty=
pe binary { length 8; }</div><div>=C2=A0<br></div><div><br></div><div>Andy<=
/div><div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0=
 .8ex;border-left:1px #ccc solid;padding-left:1ex">
is to rendered as base64 but then the base64 string obviously is<br>
longer than 8 octets. If you work off the information model, then I<br>
might understand that you are confused because<br>
draft-ietf-babel-information-<wbr>model-03 says:<br>
<br>
=C2=A0 =C2=A0base64=C2=A0 =C2=A0 =C2=A0 An opaque array of bytes.<br>
<br>
What is that? Does this mean a base64 encoded opaque array of bytes?<br>
Or something else? I would check how babel people and implementors<br>
prefer to represent router-ids in textual format. Do they really<br>
want trailing characters?<br>
<br>
=C2=A0 import base64<br>
=C2=A0 print(base64.b64encode(bytes(<wbr>8)))<br>
<br>
Gives me:<br>
<br>
=C2=A0 b&#39;AAAAAAAAAAA=3D&#39;<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
/js<br>
<br>
-- <br>
Juergen Schoenwaelder=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Jacobs Univer=
sity Bremen gGmbH<br>
Phone: +49 421 200 3587=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Campus Ring 1 | 28=
759 Bremen | Germany<br>
Fax:=C2=A0 =C2=A0+49 421 200 3103=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0&lt;<a h=
ref=3D"https://www.jacobs-university.de/" rel=3D"noreferrer" target=3D"_bla=
nk">https://www.jacobs-<wbr>university.de/</a>&gt;<br>
</font></span></blockquote></div><br></div></div>

--000000000000195d690573a65e0a--


From nobody Fri Aug 17 15:57:44 2018
Return-Path: <mjethanandani@gmail.com>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A9EFE130FF4 for <yang-doctors@ietfa.amsl.com>; Fri, 17 Aug 2018 15:57:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 TgzZQpzPXBIj for <yang-doctors@ietfa.amsl.com>; Fri, 17 Aug 2018 15:57:40 -0700 (PDT)
Received: from mail-pl0-x234.google.com (mail-pl0-x234.google.com [IPv6:2607:f8b0:400e:c01::234]) (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 A1A2A130FED for <yang-doctors@ietf.org>; Fri, 17 Aug 2018 15:57:40 -0700 (PDT)
Received: by mail-pl0-x234.google.com with SMTP id j8-v6so4321175pll.12 for <yang-doctors@ietf.org>; Fri, 17 Aug 2018 15:57:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=pOP/nublC+gfvRrRX9WdiJXG7emw636N0h70DjhlyIQ=; b=NLHL/jrAHkxMztUdpT7brKBQWF/L+eVgc+kIaQAqR2llhYePUsI1YxgwMGk0BLMgdH Y2KxQYzL4LX178xFSYUgUTXYKtsqrjS1/jI+xtv56SXirorMJcZeQzgewF+d3BSE7Hdu kdslYE+v/6A3Q0uJOvQRmNoydVLaeyhuvfv5/fByMdOBwI5iNKEikEE0zkJaune/y30P RftLuHLPs95j22gBqNXh2/Iqa3vp1jq4df1pq+UoJ+AEQaXpmDfOtLcQh6k/2p803L9t s+tFu3mQ/cf7eRXcCWQ54X6ngN4ewN7D0pV12SMD+n6GZUT2GeuB4uKcEgXYrBLbKlmF ONWw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=pOP/nublC+gfvRrRX9WdiJXG7emw636N0h70DjhlyIQ=; b=UNVcPWn7Z9l0jfRbam0OO1Uw4LsUmmNAAehQ8aVtAl5MHaHhDlRFpI4hC+n8zayPAO ZCeYAmvmohkqVzfV7qEnn/v19AZb2SRwB5tOhl2s8Sg47miPV6BSCXFl3Dw0ywJRAiaH Ppm43BbY9NM8cQSDmItpWZPN5tIiKxo5ZBfP3Lo3jXrRUcM0GRQnJac1y2jc+3ECNMvo ei8z9dyWeTsEbD5HPQEhJHoufSTsl9n5ZibuA03RMkA9M3BekRd0O7wKX0R0hN5zaIsU fVq7b+lGnZGAy/RmhWkTazp+yz8JXCGjK29zrcwVDJ0lHS0FD48bBnLCNV+A7UhXxKTJ q+gA==
X-Gm-Message-State: AOUpUlHEX284tMwUbwDgaY0WzJwpufTbfaqsEtyQ+/q+O+kKoA68eZiq t/vnQvAQS655xnBtdGLrLQL7b2+T
X-Google-Smtp-Source: AA+uWPwVW8cy4JryY5f669AtKbQhFplsDZPoSwAryYBmV43S6uUiCLDMC8lmLT3nd1YBUJXbm5YJQw==
X-Received: by 2002:a17:902:2702:: with SMTP id c2-v6mr35802346plb.248.1534546660147;  Fri, 17 Aug 2018 15:57:40 -0700 (PDT)
Received: from ?IPv6:2601:647:4700:1280:15a2:f843:dd20:11db? ([2601:647:4700:1280:15a2:f843:dd20:11db]) by smtp.gmail.com with ESMTPSA id 5-v6sm4240925pgc.86.2018.08.17.15.57.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Aug 2018 15:57:39 -0700 (PDT)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\))
From: Mahesh Jethanandani <mjethanandani@gmail.com>
In-Reply-To: <20180817190351.s2eqmn3at6qb2j3j@anna.jacobs.jacobs-university.de>
Date: Fri, 17 Aug 2018 15:58:13 -0700
Cc: Andy Bierman <andy@yumaworks.com>, YANG Doctors <yang-doctors@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <6C501123-2ADE-402C-94FB-9A9BEA3340E9@gmail.com>
References: <09CD4A1F-2A3C-4E42-A0D3-C5A475947724@gmail.com> <CABCOCHT6vj+Y1L7CprHvcYNmLtF9P5UDRw8H_uuD7ZKgqwRJog@mail.gmail.com> <2AD31000-4E60-47E7-9329-3DD4D17DA49D@gmail.com> <20180817190351.s2eqmn3at6qb2j3j@anna.jacobs.jacobs-university.de>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
X-Mailer: Apple Mail (2.3445.9.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/eQWcKW6eoThNKIDCNYy54T_MzLQ>
Subject: Re: [yang-doctors] Definition for base64
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: Email list of the yang-doctors directorate  <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 17 Aug 2018 22:57:43 -0000

Hi Juergen,

I was going off of the information model.=20

Let me check with the WG whether the router-id is a string of 8 octets =
or binary data of length 8.

Thanks.

> On Aug 17, 2018, at 12:03 PM, Juergen Schoenwaelder =
<j.schoenwaelder@jacobs-university.de> wrote:
>=20
> On Fri, Aug 17, 2018 at 10:46:55AM -0700, Mahesh Jethanandani wrote:
>> I have a protocol (Babel) that defines router-id as a base64 string =
of 8 octets. I could define it as a string, but isn=E2=80=99t it the =
case that base64 includes only a set of printable characters defined by =
the regex below? Not all printable characters are included in the set.
>=20
> RFC 6126 section 4.1.2 says:
>=20
> 4.1.2.  Router-Id
>=20
>   A router-id is an arbitrary 8-octet value.  Router-ids SHOULD be
>   assigned in modified EUI-64 format [ADDRARCH].
>=20
> Where does it say that it is a string on 8 octets base64? Note, if you
> use binary with length of 8, you actually get a base64 encoding on the
> wire. But then there might be another doument that says the router-id
> is to rendered as base64 but then the base64 string obviously is
> longer than 8 octets. If you work off the information model, then I
> might understand that you are confused because
> draft-ietf-babel-information-model-03 says:
>=20
>   base64      An opaque array of bytes.
>=20
> What is that? Does this mean a base64 encoded opaque array of bytes?
> Or something else? I would check how babel people and implementors
> prefer to represent router-ids in textual format. Do they really
> want trailing characters?
>=20
>  import base64
>  print(base64.b64encode(bytes(8)))
>=20
> Gives me:
>=20
>  b'AAAAAAAAAAA=3D'
>=20
> /js
>=20
> --=20
> Juergen Schoenwaelder           Jacobs University Bremen gGmbH
> Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
> Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>

Mahesh Jethanandani
mjethanandani@gmail.com


From nobody Mon Aug 27 06:42:34 2018
Return-Path: <mersue@gmail.com>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9A8F0130DD8 for <yang-doctors@ietfa.amsl.com>; Mon, 27 Aug 2018 06:42:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=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=gmail.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 PghSzCsitB7A for <yang-doctors@ietfa.amsl.com>; Mon, 27 Aug 2018 06:42:23 -0700 (PDT)
Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) (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 7C8CD130DD9 for <yang-doctors@ietf.org>; Mon, 27 Aug 2018 06:42:22 -0700 (PDT)
Received: by mail-wr1-x42c.google.com with SMTP id v90-v6so13705077wrc.0 for <yang-doctors@ietf.org>; Mon, 27 Aug 2018 06:42:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=from:to:cc:references:in-reply-to:subject:date:message-id :mime-version:thread-index:content-language; bh=dXHrEeuizqP4jvn4N8MrUJsHEcyWndiwVIshSg/K0cg=; b=iIr1dH7eDOMpot/wPtcJd27eS3XnM2vgHKR/cjPg5BGMC+lW5IOILIblLts89eQtDR i+pKJQrotaYAkRDckDF2XeJnRC1giRwBgI9wzSofR7/RW33nMshpdbnw/MyRC5TvHRDo Rfnw9sN/BtfYlhj3PB3Y20zzMpJZb0a3cFql9SwuD5yL7FIHrbh7mRxHuxB5fC1Xn3iX z8iM8M8nyo6mmj/kwuCvNwhLf+64UiR9STPrRQmlaOqjkMG8jChxZGLR6cGT0OOa9/G9 VkQrwiMnZPEnPkR9Cq1GJhG+IPm58tr2NUxo2YQEjUxRZ9RSMwOHrRiTyXgGOuFT8PS3 ZkPg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:references:in-reply-to:subject:date :message-id:mime-version:thread-index:content-language; bh=dXHrEeuizqP4jvn4N8MrUJsHEcyWndiwVIshSg/K0cg=; b=T3jMLe3Jv0eRENzcsXz5PkZ1eJSrxuIQWofUzSi5ueK/a2VBv0nkHrfBTGXIULvfzv zoGNuaQ/+VJWq4+8nguuzrRB/kpQDDRbMxYYycjKnCBdDFMst08GvYpgsYz6pNQP4wpP LN6sy1kbr2a8QwsZQki2+D/QN3RdmR6jwPt8CzSw/K+18CLHULfN5RP0k+l2D+nA2+tv ELMN10qiMBjpaZPPirSFheoki3s5r875KTZa3YDDetbBP8emXrnuDbluTxu/XYDR6jnN eT1BqFm2DoNEM0AiEJjcsxhy/2zeW6iavIdcCH+gDhuugVaCDsXNBk0d14leBDoKmBn7 ctfQ==
X-Gm-Message-State: APzg51DoeqYuV3Ux61Wa3DM4gONV3I7q02NVv/6WDwkpJeCMPj4b5OT3 UhXjgjRGBDt1gXBDl3si6A0=
X-Google-Smtp-Source: ANB0Vdat3i6ZFnuFvY0rL+YEDG1pLlFN6BnqNi6/hPpqhTzKO8k410HUsdfcY671wQvtS1JBXYePQw==
X-Received: by 2002:a5d:4a44:: with SMTP id v4-v6mr8527673wrs.278.1535377340963;  Mon, 27 Aug 2018 06:42:20 -0700 (PDT)
Received: from DESKTOPFLHJVQJ ([2001:16b8:2d7e:eb00:11ec:3b2d:9e96:51e4]) by smtp.gmail.com with ESMTPSA id i23-v6sm9465154wmf.24.2018.08.27.06.42.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Aug 2018 06:42:19 -0700 (PDT)
From: "Mehmet Ersue" <mersue@gmail.com>
To: <yang-doctors@ietf.org>
Cc: "'Dan Romascanu'" <dromasca@gmail.com>, "'Ignas Bagdonas'" <ibagdona@gmail.com>
References: <00b301d3c507$a1467ab0$e3d37010$@gmail.com> <00d101d3d978$e190c320$a4b24960$@gmail.com>
In-Reply-To: <00d101d3d978$e190c320$a4b24960$@gmail.com>
Date: Mon, 27 Aug 2018 15:43:02 +0100
Message-ID: <00eb01d43e14$42d09160$c871b420$@gmail.com>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----=_NextPart_000_00EC_01D43E1C.A4952070"
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AdNy1Mpv4ITy2qi/Rc2cRbbQ1AlWpwV306sgAbtp1cAFUdPt0AFlfYrgBqH8lDAFHBX44Bkm/RYw
Content-Language: de
X-MS-TNEF-Correlator: 00000000C69E16B615ED5F4C9AF09728F866A19A0700C3B68E10F77511CEB4CD00AA00BBB6E600000000000D00005F7FD4929BD1E24D8901915DC757ED050000000089360000
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/m-o8KBW9ZDUFVGIbM-nOlh1owg4>
Subject: [yang-doctors] Summary of Open Review Assignments for YANG Doctors
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: Email list of the yang-doctors directorate  <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 27 Aug 2018 13:42:25 -0000

This is a multipart message in MIME format.

------=_NextPart_000_00EC_01D43E1C.A4952070
Content-Type: text/plain;
	charset="utf-8"
Content-Transfer-Encoding: quoted-printable

Dear YANG Doctors,

following is the list of YANG modules in review.

Last call:		   Due         Draft
J=C3=BCrgen Schoenwaelder   2018-08-17  draft-ietf-isis-yang-isis-cfg-24 =


Early review:
Kent Watsen            2018-09-21  draft-ietf-ntp-yang-data-model-03


Next in the reviewer queue (first 9):

  Robert Wilton
  Ebben Aries
  Andy Bierman
  Martin Bjorklund
  Mahesh Jethanandani
  Radek Krej=C4=8D=C3=AD
  Ladislav Lhotka
  Jan Lindblad
  Acee Lindem

Thanks,
Mehmet


------=_NextPart_000_00EC_01D43E1C.A4952070
Content-Type: application/ms-tnef;
	name="winmail.dat"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="winmail.dat"

eJ8+IgQOAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy
b3NvZnQgTWFpbC5Ob3RlADEIAQgABQAEAAAAAAAAAAAAAQkABAACAAAAAAAAAAEDkAYAVBkAACsA
AAALAAIAAQAAAAMAJgAAAAAACwApAAAAAAALACsAAAAAAAMALgAAAAAAHgBNAAEAAAABAAAAAAAA
AB4AcAABAAAANAAAAFN1bW1hcnkgb2YgT3BlbiBSZXZpZXcgQXNzaWdubWVudHMgZm9yIFlBTkcg
RG9jdG9ycwACAXEAAQAAADkAAAAB03LUym/ghPLaqL9FzZxFttDUCVanBXfTqyABu2nVwAVR0+3Q
AWV9iuAGofyUMAUcFfjgGSb9FjAAAAALABcMAAAAAAsAAQ4BAAAAAwAUDgEAAAAeACgOAQAAACAA
AAAwMDAwMDAwMwFtZXJzdWVAZ21haWwuY29tAUdtYWlsAB4AKQ4BAAAAIAAAADAwMDAwMDAzAW1l
cnN1ZUBnbWFpbC5jb20BR21haWwAAgEJEAEAAAB5FAAAdRQAAC9JAABMWkZ1Ee3llQcABgEBC2Bu
ZzEwMmY1AGQAcmNwDdAOADIdDGBjDUQBNA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HBAAAAgEKgQggBgAAAAAAwAAAAAAAAEYBAAAANgAAAEkAbgBUAHIAYQBuAHMA
aQB0AE0AZQBzAHMAYQBnAGUAQwBvAHIAcgBlAGwAYQB0AG8AcgAAAAAAAQAAABAAAADfdqQVt8g+
TI6xrfNOvzLCCwAfDgEAAAACAfgPAQAAABAAAAAjs4acT/h2RboEmno8EeQFAgH6DwEAAAAQAAAA
xp4WthXtX0ya8Jco+GahmgMA/g8FAAAAAwANNP0/rQ4DAA80/T+tDgIBFDQBAAAAEAAAAOkv63WW
UESGg7h95SKqSUgCAeJlAQAAABQAAACEhcWYlzI7TJ1kInrBZjPLABPlfAIB42UBAAAAFQAAABSE
hcWYlzI7TJ1kInrBZjPLABPlfAAAAAIBfwABAAAAjQAAADAwMDAwMDAwQzY5RTE2QjYxNUVENUY0
QzlBRjA5NzI4Rjg2NkExOUEwNzAwQzNCNjhFMTBGNzc1MTFDRUI0Q0QwMEFBMDBCQkI2RTYwMDAw
MDAwMDAwMEQwMDAwNUY3RkQ0OTI5QkQxRTI0RDg5MDE5MTVEQzc1N0VEMDUwMDAwMDAwMDg5MzYw
MDAwAAAAAAMABhBhIIcwAwAHEGUBAAADABAQAAAAAAMAERAAAAAAHgAIEAEAAABlAAAAREVBUllB
TkdET0NUT1JTLEZPTExPV0lOR0lTVEhFTElTVE9GWUFOR01PRFVMRVNJTlJFVklFV0xBU1RDQUxM
OkRVRURSQUZUSsO8UkdFTlNDSE9FTldBRUxERVIyMDE4LTA4LQAAAAB8Nw==

------=_NextPart_000_00EC_01D43E1C.A4952070--


From ASadasivarao@infinera.com  Mon Aug 27 21:04:05 2018
Return-Path: <ASadasivarao@infinera.com>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 22514130E32 for <yang-doctors@ietfa.amsl.com>; Mon, 27 Aug 2018 21:04:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=infinera.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 HqvSiSQqH_EH for <yang-doctors@ietfa.amsl.com>; Mon, 27 Aug 2018 21:04:02 -0700 (PDT)
Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0078.outbound.protection.outlook.com [104.47.42.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8A85512008A for <yang-doctors@ietf.org>; Mon, 27 Aug 2018 21:04:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infinera.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=a1PEOLIWAS6gL6eC36UEOkru4PXDpiqddvOUGZWC9iI=; b=OUJqrRO3AfzfCd5QPB6ttCJVAaOQS017yHEzde2tJtUqHMS2RICW1wmCsm+6Vpj0GRkgce3jnqU5YZQZHYS05GvtaAVmkmpHbdzXYACfykQ0Hkrbq4xU2e/1gFnvVxyGOJ9FJsY74ktV9gGmE8VErjCTGAdkq0NZxUZkhyp9/VY=
Received: from BY1PR10MB0374.namprd10.prod.outlook.com (10.162.144.28) by BY1PR10MB0456.namprd10.prod.outlook.com (10.162.145.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1080.14; Tue, 28 Aug 2018 04:04:00 +0000
Received: from BY1PR10MB0374.namprd10.prod.outlook.com ([fe80::2518:27f2:6df:a4c]) by BY1PR10MB0374.namprd10.prod.outlook.com ([fe80::2518:27f2:6df:a4c%6]) with mapi id 15.20.1080.015; Tue, 28 Aug 2018 04:04:00 +0000
From: Abhinava Shivakumar Sadasivarao <ASadasivarao@infinera.com>
To: "yang-doctors@ietf.org" <yang-doctors@ietf.org>
Thread-Topic: Clarification on YANG Schema Node Identifiers (wrt RPCs)
Thread-Index: AdQ+hCTiVQwhr86vSrOfK6NlBp3Pzw==
Date: Tue, 28 Aug 2018 04:04:00 +0000
Message-ID: <BY1PR10MB03749117566E8D57DAE66E37A20A0@BY1PR10MB0374.namprd10.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: spf=none (sender IP is ) smtp.mailfrom=ASadasivarao@infinera.com; 
x-originating-ip: [2601:646:8b01:a2e0:f4fe:c8c1:25c7:bf2b]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; BY1PR10MB0456; 6:IxOynnaOkDogXfKITLNh2ryq2is2QEeMx2HI9Pa3ucpo2/RI/fP+QvP2veF5bzUtA1FKOR2xPsE/MlgYnkiNX26R46rVNBIewFjz3n5lGLSvQUiacqaAFBex9SrUJJ9DSDn9ebJlt9LuqLCUzEcDfKwo1MbikHlfaYsscbky/abTt+gHRz4dWiQDKk8v65j0bA2KtbhsGxCtGzKJlPt6E+w7HkBGk+TgJaEpfOI69GLGrc8D8Z8SBiC1Iiw+LoWIb/dJ3BtxcxhJOVbnj9rGzmFAkn6ba7yvTMdFidJ/t38nTnkzFGFWQVcjhRmYGr9P73VSayKi19fkyeE/YEYLpx9jx4dKQRUZH5kjtekKgw3gZIJAD4m4h/s/3xfudcv33s8Vx1j+8vLARKDYW4H2PyZfW0dMfc+orGpog1PP4tJi+7Kg2+1ARaJiEFU1S/xlOt6cpGJHteB6pzAiLD3ejA==; 5:3t5aGffZIlebP3kGuXNE882DWVzwEujJycLcNikdyx2iBE5sSvb6cFEdJ/lPx9QepYkvPpzunBNyKpQd2LeM5Eiajx6wS2fhh7DXXWDInzrzA0c8VwlkkRys6mzbY+ZodIScNoCpsi04OnnqKYpp+T5PW4mH0+zBnq4zTykE/xA=; 7:ykFFh3aD+0HdYRYbryQGlaK8++aSQ/0mbGNmszrzPDs4xh7VqnY0smLll+/NAOsWvP1adoRN3s0OqPsa6Hll8kzfpfesi1/2xshl9lH8lzbPbGDjGaIGXXz4VhDGQjCxCCWwL9Vm5GRtmX9zzTI30ArGKhqtXsG/0pnFHWbVFyrIhOMVpmXJeVv0pQYJtAg3HZq1x3dkf8CSVad7eChPKT13ulbmeV8zRry81wdyNy/fFdtTCCPbGlQqzFup9GKS
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-correlation-id: cfcb23b4-8286-412f-5e2a-08d60c9b4945
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:BY1PR10MB0456; 
x-ms-traffictypediagnostic: BY1PR10MB0456:
x-microsoft-antispam-prvs: <BY1PR10MB0456F05E964563FF5A3D41F3A20A0@BY1PR10MB0456.namprd10.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(28532068793085)(21748063052155);
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3002001)(3231311)(944501410)(52105095)(10201501046)(93006095)(93001095)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123564045)(20161123560045)(20161123562045)(201708071742011)(7699016); SRVR:BY1PR10MB0456; BCL:0; PCL:0; RULEID:; SRVR:BY1PR10MB0456; 
x-forefront-prvs: 077884B8B5
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39850400004)(396003)(136003)(366004)(346002)(376002)(199004)(189003)(2501003)(5250100002)(6916009)(81156014)(606006)(105586002)(53936002)(2351001)(106356001)(5630700001)(68736007)(478600001)(2900100001)(790700001)(81166006)(8676002)(6116002)(476003)(486006)(74316002)(2906002)(7736002)(5660300001)(80792005)(14454004)(72206003)(99286004)(25786009)(7696005)(97736004)(6506007)(186003)(5640700003)(6436002)(55016002)(236005)(9686003)(33656002)(54896002)(256004)(316002)(6306002)(102836004)(46003)(8936002)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:BY1PR10MB0456; H:BY1PR10MB0374.namprd10.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; 
received-spf: None (protection.outlook.com: infinera.com does not designate permitted sender hosts)
x-microsoft-antispam-message-info: ffktHSU7expFPMZ6pyZoAneKniBuwLtbW0O2wxDrt0JqOH0TaaZ5YBCAiTubwJj0LyYFBL4gYCisCAl/UjUkK318D8Wey9Maxnz5sqUw81aSKe7YvqI9hbTxiFbwPPHPrervM5kS+sYbceqKvxI7o3g1GjUhRLCcs3HBjaV7COyjM2NeRpQRI/hAjp/VM2GZQhl53Icwx6yL3GjG1f5chc3/qmAoWf8ff+heLGJHeVYXhif9ib9HsBx8UwTgQ8Cglo0MOx+S01Ga8Beu6SFK16Dftl680iovtX2FZf3cEvmk0GFZ8eis2P0/RQwbOfLKk224m7qNeADXDXUssZZHJnq5gg4jTJRsxC0Orf4slyo=
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_BY1PR10MB03749117566E8D57DAE66E37A20A0BY1PR10MB0374namp_"
MIME-Version: 1.0
X-OriginatorOrg: infinera.com
X-MS-Exchange-CrossTenant-Network-Message-Id: cfcb23b4-8286-412f-5e2a-08d60c9b4945
X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Aug 2018 04:04:00.7089 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 285643de-5f5b-4b03-a153-0ae2dc8aaf77
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR10MB0456
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/LWzDvvSGekhnjBjVE4CechU4goQ>
X-Mailman-Approved-At: Tue, 28 Aug 2018 05:03:16 -0700
Subject: [yang-doctors] Clarification on YANG Schema Node Identifiers (wrt RPCs)
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: Email list of the yang-doctors directorate  <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 28 Aug 2018 04:05:47 -0000

--_000_BY1PR10MB03749117566E8D57DAE66E37A20A0BY1PR10MB0374namp_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hello!

I had a question on YANG schema node identifiers as defined in the RFC 6020=
 (Section 6.5<https://tools.ietf.org/html/rfc6020#section-6.5>). As per the=
 RFC:

A schema node identifier is a string that identifies a node in the schema t=
ree.  It has two forms, "absolute" and "descendant", defined by the rules "=
absolute-schema-nodeid" and "descendant-schema-nodeid" in Section 12, respe=
ctively. A schema node identifier consists of a path of identifiers, separa=
ted by slashes ("/"). In an absolute schema node identifier, the first iden=
tifier after the leading slash is any top-level schema node in the local mo=
dule or in all imported modules.

References to identifiers defined in external modules MUST be qualified wit=
h appropriate prefixes, and references to identifiers defined in the curren=
t module and its submodules MAY use a prefix. For example, to identify the =
child node "b" of top-level node "a", the string "/a/b" can be used.

My question is, can identifiers (absolute or otherwise) include nodes defin=
ed either in the input or output blocks of an RPC? From the example RPC<htt=
ps://tools.ietf.org/html/rfc6020#section-7.13.5> in the RFC 6020:

        rpc rock-the-house {
             input {
                 leaf zip-code {
                     type string;
                 }
             }
         }

Can "/rock-the-house/input/zip-code" be considered a schema identifier, giv=
en the above description and the YANG grammar?
Section 7.13<https://tools.ietf.org/html/rfc6020#section-7.13> describes th=
at the "rpc" statement defines an rpc node in the schema tree. So I would t=
hink the answer to the question is "Yes".

Thanks!
Abhinava


--_000_BY1PR10MB03749117566E8D57DAE66E37A20A0BY1PR10MB0374namp_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
pre
	{mso-style-priority:99;
	mso-style-link:"HTML Preformatted Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
span.HTMLPreformattedChar
	{mso-style-name:"HTML Preformatted Char";
	mso-style-priority:99;
	mso-style-link:"HTML Preformatted";
	font-family:"Courier New";}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"#0563C1" vlink=3D"#954F72">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Hello!<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I had a question on YANG schema node identifiers as =
defined in the RFC 6020 (<a href=3D"https://tools.ietf.org/html/rfc6020#sec=
tion-6.5">Section 6.5</a>). As per the RFC:<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in"><span style=3D"font-famil=
y:&quot;Courier New&quot;">A schema node identifier is a string that identi=
fies a node in the schema tree.&nbsp; It has two forms, &quot;absolute&quot=
; and &quot;descendant&quot;, defined by the rules &quot;absolute-schema-no=
deid&quot;
 and &quot;descendant-schema-nodeid&quot; in Section 12, respectively. A sc=
hema node identifier consists of a path of identifiers, separated by slashe=
s (&quot;/&quot;). In an absolute schema node identifier, the first identif=
ier after the leading slash is any top-level schema
 node in the local module or in all imported modules.<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in"><span style=3D"font-famil=
y:&quot;Courier New&quot;"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in"><span style=3D"font-famil=
y:&quot;Courier New&quot;">References to identifiers defined in external mo=
dules MUST be qualified with appropriate prefixes, and references to identi=
fiers defined in the current module and its submodules
 MAY use a prefix. For example, to identify the child node &quot;b&quot; of=
 top-level node &quot;a&quot;, the string &quot;/a/b&quot; can be used.<o:p=
></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">My question is, can identifiers (absolute or otherwi=
se) include nodes defined either in the input or output blocks of an RPC? F=
rom the
<a href=3D"https://tools.ietf.org/html/rfc6020#section-7.13.5">example RPC<=
/a> in the RFC 6020:<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Co=
urier New&quot;;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rpc=
 rock-the-house {<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Co=
urier New&quot;;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp; input {<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Co=
urier New&quot;;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; leaf zip-code {<o:p></o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Co=
urier New&quot;;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
type string;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Co=
urier New&quot;;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Co=
urier New&quot;;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp; }<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Co=
urier New&quot;;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; }<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Can &#8220;<b><span style=3D"font-family:&quot;Couri=
er New&quot;">/rock-the-house/input/zip-code</span></b>&#8220; be considere=
d a schema identifier, given the above description and the YANG grammar?
<o:p></o:p></p>
<p class=3D"MsoNormal"><a href=3D"https://tools.ietf.org/html/rfc6020#secti=
on-7.13">Section 7.13</a> describes that the
<i>&quot;rpc&quot; statement defines an rpc node in the schema tree</i>. So=
 I would think the answer to the question is &#8220;Yes&#8221;.
<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Thanks!<o:p></o:p></p>
<p class=3D"MsoNormal">Abhinava<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_BY1PR10MB03749117566E8D57DAE66E37A20A0BY1PR10MB0374namp_--

