Re: [Netconf] Anyone want just Configured Subscriptions? (was RE: LC on subscribed-notifications-10)

Kent Watsen <kwatsen@juniper.net> Tue, 03 July 2018 19:18 UTC

Return-Path: <kwatsen@juniper.net>
X-Original-To: netconf@ietfa.amsl.com
Delivered-To: netconf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9C1A7130DEB for <netconf@ietfa.amsl.com>; Tue, 3 Jul 2018 12:18:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.711
X-Spam-Level:
X-Spam-Status: No, score=-0.711 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, HTTPS_HTTP_MISMATCH=1.989, 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 0NEq0EYMEpLg for <netconf@ietfa.amsl.com>; Tue, 3 Jul 2018 12:17:58 -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 E0AFE130DD6 for <netconf@ietf.org>; Tue, 3 Jul 2018 12:17:58 -0700 (PDT)
Received: from pps.filterd (m0108156.ppops.net [127.0.0.1]) by mx0a-00273201.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w63JDg0e004297; Tue, 3 Jul 2018 12:17:56 -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=B3iIpTOxtiLB+gPMzWKlQyWXRAm5KnpkcER6J+EAsH4=; b=JpPZaec7U7P8akPjB9Ix9jQNpniTLlfmIPWEr/YEXmBIdd36OSYL7rCyAhPOGVhT9cnd fImp5rAFeVi4ihvNliM0SIgFIeWl2Ef03kkA7NjDloFSUFt/rxOLpcdGHE/XHW2RCFJm QKCbP2TVOhP28zUj36p14ONYFEnTV5bhaHIUVYNFM5c3IxJUxMOyNwIUlJRsrjTiiXW4 jAR9q1vUyYf2Zi2GJmSX8rqSRTiiigeMAV+gaoQ8GPGibVHueuMb6LGdb9qkGw0p22Wo +jrQFyms4xi7EzvsIZaM1AQnOI27wpvMlcbf9iDYFtgx393+WCg/EiNhCdQEB1/4w5Qy RQ==
Received: from nam01-sn1-obe.outbound.protection.outlook.com (mail-sn1nam01lp0113.outbound.protection.outlook.com [207.46.163.113]) by mx0a-00273201.pphosted.com with ESMTP id 2k0dp0r8nj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 03 Jul 2018 12:17:56 -0700
Received: from BYAPR05MB4230.namprd05.prod.outlook.com (52.135.200.153) by BYAPR05MB4086.namprd05.prod.outlook.com (52.135.199.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.930.9; Tue, 3 Jul 2018 19:17:54 +0000
Received: from BYAPR05MB4230.namprd05.prod.outlook.com ([fe80::959d:9fbe:90e4:3cc]) by BYAPR05MB4230.namprd05.prod.outlook.com ([fe80::959d:9fbe:90e4:3cc%4]) with mapi id 15.20.0930.016; Tue, 3 Jul 2018 19:17:53 +0000
From: Kent Watsen <kwatsen@juniper.net>
To: "Eric Voit (evoit)" <evoit@cisco.com>, Andy Bierman <andy@yumaworks.com>
CC: Henk Birkholz <henk.birkholz@sit.fraunhofer.de>, "netconf@ietf.org" <netconf@ietf.org>
Thread-Topic: [Netconf] Anyone want just Configured Subscriptions? (was RE: LC on subscribed-notifications-10)
Thread-Index: AQHUC7BkQt4kuIAVBU+dNFAZwz7Ja6Rw7V0QgABNWwCAC1wKgIABE+kA
Date: Tue, 03 Jul 2018 19:17:53 +0000
Message-ID: <D9AB67AB-A0B2-4D04-8672-76B704800C86@juniper.net>
References: <4df95162a0a8464b884c4e88268df8ca@XCH-RTP-013.cisco.com> <DBD6B0CC-FE74-4C5A-A318-C96C8FBE11FE@sit.fraunhofer.de> <858F63BA-37A2-4925-B340-4DD79CEBEEF9@juniper.net> <CABCOCHTux6+pW=0xhPsgVKWqAr5uNKTNW-Qgv5CpV06Ki1hd-g@mail.gmail.com> <8c68a8ce85d946579f325e311a8e67a9@XCH-RTP-013.cisco.com>
In-Reply-To: <8c68a8ce85d946579f325e311a8e67a9@XCH-RTP-013.cisco.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.11]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; BYAPR05MB4086; 7:Kd31D2u4tCIfBLe7+6x+ZXefcYhh5taz/rUIK6jx5wdEA6pDCkkrVAr45vo3QCDkb4CKTWwBUAWZxTYYFiwTgnIQJNiQsfkRf8E1Ldak2POjSjNZeNcB0d6LhAhaHLmFW5sNZbkb8Ew3r0fDwP987+x3O7fwDLhJWpJWiXydW/a1XNtiTf6xIzIUjbsJCVHheSW2J6/ZYNe1aSfl7ybVHxEiAaVc/AS4nlxzMJadFLvYd13rlrn0MM/fRFN86ZkY
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-correlation-id: e63d08c1-9e1d-4115-37b3-08d5e119ad36
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(5600053)(711020)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(48565401081)(2017052603328)(7153060)(7193020); SRVR:BYAPR05MB4086;
x-ms-traffictypediagnostic: BYAPR05MB4086:
x-microsoft-antispam-prvs: <BYAPR05MB4086ED3437C960D8236E7180A5420@BYAPR05MB4086.namprd05.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(28532068793085)(158342451672863)(10436049006162)(138986009662008)(95692535739014)(21748063052155);
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(3231280)(944501410)(52105095)(3002001)(10201501046)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(20161123564045)(20161123558120)(6072148)(201708071742011)(7699016); SRVR:BYAPR05MB4086; BCL:0; PCL:0; RULEID:; SRVR:BYAPR05MB4086;
x-forefront-prvs: 0722981D2A
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(136003)(376002)(346002)(39860400002)(366004)(396003)(189003)(199004)(53754006)(6306002)(236005)(6512007)(68736007)(82746002)(99286004)(54896002)(446003)(11346002)(476003)(486006)(186003)(54906003)(5660300001)(110136005)(2616005)(316002)(7736002)(2906002)(102836004)(81166006)(8676002)(81156014)(26005)(93886005)(58126008)(8936002)(6506007)(76176011)(5250100002)(106356001)(53546011)(36756003)(105586002)(4326008)(3846002)(6116002)(6486002)(606006)(86362001)(25786009)(83716003)(66066001)(53936002)(229853002)(966005)(6436002)(14454004)(33656002)(478600001)(14444005)(6246003)(256004)(97736004)(2900100001); DIR:OUT; SFP:1102; SCL:1; SRVR:BYAPR05MB4086; H:BYAPR05MB4230.namprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
x-microsoft-antispam-message-info: GJq//Xll7hT9gUMBb5HYDow9+tHE1s7EuCVBqaaawZV1NYOFkx4EOqPVpQEG46dhutjqkE8oYX+UecLnGEw9Yn/EH8lfAmpkajVrYmZAg5lZcF7YKRmmuwkNVkEz+tZUltAuQlNDGVf3RRcNV4j+1CCB+21vfAZZVj7Xh9i6gU2Q4g60B/HkUWvmtj7j8v60eGwQPeFPLssb6HLwRgoQhCt9ow9VgtRNOj5xGASWVQ3l0h9Ad23lbznbroFAxNETCF4eZaftpnkFgkTLB82/AtNw6u6yX6nBJ0WAWZUDeoUUs0fL+ytuXru1CmZ0iZj6Q21bT5TEKtIwTVHQbsW2nZGGWyT0KOcdslrOCCFII80=
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_D9AB67ABA0B24D04867276B704800C86junipernet_"
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-Network-Message-Id: e63d08c1-9e1d-4115-37b3-08d5e119ad36
X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Jul 2018 19:17:53.7865 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR05MB4086
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-07-03_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-1806210000 definitions=main-1807030218
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/-0IH_HIeyEgAbXLb34wBi69BrpU>
Subject: Re: [Netconf] Anyone want just Configured Subscriptions? (was RE: LC on subscribed-notifications-10)
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.26
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netconf/>
List-Post: <mailto:netconf@ietf.org>
List-Help: <mailto:netconf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Jul 2018 19:18:05 -0000

Since folks are leaning towards:

   dynamic: MUST
   configured: MAY

We might also consider:

   dynamic: MUST
   configured: TBD

Since the transport bindings (only needed for configured subscriptions) seem to depend on the client/server drafts, which aren't ready yet.

Kent // contributor



On 7/2/18, 6:50 PM, "Eric Voit (evoit)" <evoit@cisco.com<mailto:evoit@cisco.com>> wrote:

I am closing this question.  All votes are for Option 2, which is reflected in the current draft.

Eric

From: Andy Bierman, June 25, 2018 1:22 PM



On Mon, Jun 25, 2018 at 5:45 AM, Kent Watsen <kwatsen@juniper.net<mailto:kwatsen@juniper.net>> wrote:

To be clear, we’re discussing conformance requirements.  Options are:

   1: dynamic: MAY
       configured: MAY

   2: dynamic: MUST
        configured: MAY



I support this option (I think this is in the draft now).
The configured subscriptions are likely less interoperable at this point because
the protocol, transport, and encoding could be proprietary.  There are also
call-home issues (magic proprietary port X means plain call-home,
magic port Y means subscription call-home).

The dynamic subscription is much more constrained by the NETCONF or RESTCONF
protocols, so it is more likely to be consistent across server implementations.

There is no extra burden for supporting an RPC in addition to edit-config.
(As edit-config itself is an RPC.) The RPC does not introduce parameters
that are not already in the configured subscriptions.

Andy



   3: dynamic: MAY
        configured: MUST

   4: dynamic: MUST
        configured: MUST

I don’t really care, as long as there is a good reason for it.

Kent // contributor


On Jun 24, 2018, at 7:42 AM, Henk Birkholz <henk.birkholz@sit.fraunhofer.de<mailto:henk.birkholz@sit.fraunhofer.de>> wrote:
Hello all,

this poll seems to ask only for "yes" votes, but maybe I am missing something obvious here, but I am also new to the domain of netconf.

In any case, I would like to voice a strong no wrt "only Configured Subscriptions". In complement, I would like to voice a strong yes wrt "Dynamic Subscriptions are not turned into an optional feature".

Drop-shipping or enrollment of YANG datastores should support resilient rendezvous, join or discovery prodedures. I am aware of call home and this seems to be an excellent lightweight basis to build more complex solutions on that will benefit significantly from available dynamic subscription features.

Viele Grüße,

Henk
On June 23, 2018 7:50:33 AM GMT+02:00, "Eric Voit (evoit)" <evoit=40cisco.com<https://urldefense.proofpoint.com/v2/url?u=http-3A__40cisco.com&d=DwMFaQ&c=HAkYuh63rsuhr6Scbfh0UjBXeMK-ndb3voDTXcWzoCI&r=9zkP0xnJUvZGJ9EPoOH7Yhqn2gsBYaGTvjISlaJdcZo&m=6F3EmGQsbc6Pw0-388AClIWIuFSd8lJgeV1wTTBcqy4&s=fayskuGFUwaicBmdSM3jKsn4WctY15g1FRQuJrZcd7I&e=>@dmarc.ietf.org<https://urldefense.proofpoint.com/v2/url?u=http-3A__dmarc.ietf.org&d=DwMGaQ&c=HAkYuh63rsuhr6Scbfh0UjBXeMK-ndb3voDTXcWzoCI&r=9zkP0xnJUvZGJ9EPoOH7Yhqn2gsBYaGTvjISlaJdcZo&m=HWeJMn9vdaXx8aXKRl88y-y1kxIITqL4DeOrv2ykrX8&s=g9Gr4Dqd_DvMfHmlF8pBRvori_D1bd7UloKmwLO1YfE&e=>> wrote:
Per below, Kent is interested to know if anyone wants to support a Publisher of just Configured Subscriptions.   This would turn Dynamic Subscriptions into an optional feature.


So does anyone want this?  If a few people say yes, I will tweak the document.


Eric







<Kent8> I understand that supporting dynamic subscriptions is currently a requirement.  I am challenging that requirement.  Why is it a requirement?  Does it have to be a requirement?

What if an IoT device only wants to support configured subscriptions and having code to support dynamic is wasting space?    FWIW, I realize that not supporting dynamic subscriptions also means that it would be impossible to filling in gaps introduced by a reboot, but maybe that's a decision that the vendor can/should make for themselves?

<Eric9> In RFC-5277, all you have is dynamic subscriptions.  So support for that older spec by definition makes dynamic subscriptions mandatory.  Beyond that, newer specifications like RFC-7923 as well as sections of other documents like RFC-7921, section 7.6 identify dynamic subscriptions as mandatory for a subscription service.  So at least some use cases exist where such dynamic support is mandatory.

<Kent9> Does it?   I mean, this draft doesn't obsolete 5277, so it seems that server can optionally support one or the other or both, and when it supports this draft, can't it use a feature statement to limit dynamic subscriptions?

<Eric10> Per below, I am ok to make dynamic subscription support optional (even if I don’t believe this is the right decision).  Part of the fix in the YANG Model description text would be to note that either dynamic or configured must be supported.

With your IoT publisher use case above you are asserting that dynamic subscriptions are not needed for configured subscription only publishers – i.e., there are a class of publishers which have been driven by use cases not considered by the documents referenced above.  So who has documented the need configured subscription only publishers?   I can’t point to such documentation (beyond IoT case above).  Is such a possibility worth slowing down this spec?     In the end making the fix for this specification which you seem to want is itself really quite trivial: we can make both dynamic and configured subscriptions optional.  The reason I have been resisting it is that this solution (a) leads to more complexity for implementers as yet another feature would have to be advertised as optional, (b) this waters down the mandatory capabilities support of the YANG module, and (c) we would need to include some a constraint that at least one of the two optional features needs to be supported.  Also for (c) AFAIK, features don’t support the application of such constraints, so it would have to be done in the feature descriptions themselves.

I guess the text above is a long way of saying that if you assert the optional dynamic subscription is mandatory to progress the document, I will make the change.  But the change will impose complexity costs which to me are hard to justify.

<Kent10> why don't you ask the WG?  "Should we support servers having only configured subscriptions (i.e. no dynamic subscriptions)?"  FWIW, the ietf-*conf-server modules have features around both the "listen" and "call-home" subtrees.  Heck, you might think "listen" would be mandatory (per RFC 6241), but still we support the possibility of a server only supporting call-home…






<Kent9> that's a reasonable answer, but mind you that it was your IoT use-case originally.   I'd like to get other opinions.  Yes, trivial to add now, hard to add later, more flexibility for servers, almost no additional effort for clients.  FWIW, I'm planning to add a feature statement for "periodic connections" in the ietf-[net|rest]conf-client-server drafts for similar reasons, that the server just might not want to support them, and I don't want the minimal bar to be higher than needed.

<Eric10> Lets go with whatever opinions people have.  I will adapt accordingly.   Do you want me to start an independent thread?

<Kent10> yes, please ask the WG



--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

_______________________________________________
Netconf mailing list
Netconf@ietf.org<mailto:Netconf@ietf.org>
https://www.ietf.org/mailman/listinfo/netconf<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ietf.org_mailman_listinfo_netconf&d=DwMGaQ&c=HAkYuh63rsuhr6Scbfh0UjBXeMK-ndb3voDTXcWzoCI&r=9zkP0xnJUvZGJ9EPoOH7Yhqn2gsBYaGTvjISlaJdcZo&m=HWeJMn9vdaXx8aXKRl88y-y1kxIITqL4DeOrv2ykrX8&s=jWWYWO3k32-6mUco2IlCaCSzMXOuQzyzGamyAcIz1tE&e=>