Re: [Netconf] subscription-id management across applications
Tianran Zhou <zhoutianran@huawei.com> Tue, 10 July 2018 07:06 UTC
Return-Path: <zhoutianran@huawei.com>
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 76654130F11 for <netconf@ietfa.amsl.com>; Tue, 10 Jul 2018 00:06:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.889
X-Spam-Level:
X-Spam-Status: No, score=-1.889 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, 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 DXL3-lbS1BcP for <netconf@ietfa.amsl.com>; Tue, 10 Jul 2018 00:06:37 -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 54415130F07 for <netconf@ietf.org>; Tue, 10 Jul 2018 00:06:37 -0700 (PDT)
Received: from lhreml701-cah.china.huawei.com (unknown [172.18.7.108]) by Forcepoint Email with ESMTP id 9328ABA9E063B; Tue, 10 Jul 2018 08:06:30 +0100 (IST)
Received: from NKGEML411-HUB.china.huawei.com (10.98.56.70) by lhreml701-cah.china.huawei.com (10.201.108.42) with Microsoft SMTP Server (TLS) id 14.3.382.0; Tue, 10 Jul 2018 08:06:31 +0100
Received: from NKGEML515-MBX.china.huawei.com ([fe80::a54a:89d2:c471:ff]) by nkgeml411-hub.china.huawei.com ([10.98.56.70]) with mapi id 14.03.0382.000; Tue, 10 Jul 2018 15:06:26 +0800
From: Tianran Zhou <zhoutianran@huawei.com>
To: Robert Wilton <rwilton=40cisco.com@dmarc.ietf.org>, Andy Bierman <andy@yumaworks.com>, Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, Netconf <netconf@ietf.org>
Thread-Topic: [Netconf] subscription-id management across applications
Thread-Index: AQHUF5/EvP78w3D1R0Cdfjtp41Wm1qSGj0kAgAAAtoCAAAQ7gIABcg/w
Date: Tue, 10 Jul 2018 07:06:25 +0000
Message-ID: <BBA82579FD347748BEADC4C445EA0F21B55F6483@NKGEML515-MBX.china.huawei.com>
References: <CABCOCHTuSSKeoUwMBDRwtrQCfXD29xqM+n7xNtaNFMbZrE6Cjg@mail.gmail.com> <20180709163144.x3ltgh7spzbz26km@anna.jacobs.jacobs-university.de> <CABCOCHStZfsAPWN0sgTP_zcvSbhHU4832C_BvRjTYCFO_3aObg@mail.gmail.com> <19b8635d-5a2d-f032-1341-8b6493c50c18@cisco.com>
In-Reply-To: <19b8635d-5a2d-f032-1341-8b6493c50c18@cisco.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.111.156.116]
Content-Type: multipart/alternative; boundary="_000_BBA82579FD347748BEADC4C445EA0F21B55F6483NKGEML515MBXchi_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/Q9qZarxihgOIrxbOqodzV3XGipI>
Subject: Re: [Netconf] subscription-id management across applications
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.27
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, 10 Jul 2018 07:06:40 -0000
Hi Rob, Please see inline. Tianran From: Netconf [mailto:netconf-bounces@ietf.org] On Behalf Of Robert Wilton Sent: Tuesday, July 10, 2018 12:49 AM To: Andy Bierman <andy@yumaworks.com>; Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>; Netconf <netconf@ietf.org> Subject: Re: [Netconf] subscription-id management across applications On 09/07/2018 17:34, Andy Bierman wrote: On Mon, Jul 9, 2018 at 9:31 AM, Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de<mailto:j.schoenwaelder@jacobs-university.de>> wrote: On Mon, Jul 09, 2018 at 09:12:57AM -0700, Andy Bierman wrote: > Hi, > > The configured subscriptions use a uint32 subscription-id. > There is text in 5.2 about splitting the range for dynamic and configured > subscriptions: > > To support deployments including both configured and dynamic > subscriptions, it is recommended to split subscription identifiers > into static and dynamic halves. That way it eliminates the > possibility of collisions if the configured subscriptions attempt to > set a subscription-id which might have already been dynamically > allocated. A best practice is to use lower half the "identifier" > object's integer space when that "identifier" is assigned by an > external entity (such as with a configured subscription). This > leaves the upper half of subscription identifiers available to be > dynamically assigned by the publisher. Why would a server accept a dynamic subscription that clashes with a configured subscription? I don't think it would. The issue is how applications share the range allocated for configured subscriptions. ... which is the reason why I was arguing for string based ids for configured subscriptions. Humans seemingly find it easier to give unique names to things instead of unique numbers. And if they want to use the string representation of numbers as unique names, well that also works. [Tianran] But I did not see how string can help solve the ID conflict for different applications. Do you mean string can have a larger ID space? On the other hand, we can manage several ID blocks, and map the blocks to related applications for configured subscription. Perhaps someone need to standardize the equivalent of DNS for subscription ids ;-) [Tianran] This is a good idea, only a little heavy/complex. ☺ Thanks, Rob /js Andy -- 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/> _______________________________________________ Netconf mailing list Netconf@ietf.org<mailto:Netconf@ietf.org> https://www.ietf.org/mailman/listinfo/netconf
- Re: [Netconf] subscription-id management across a… Eric Voit (evoit)
- Re: [Netconf] subscription-id management across a… Eric Voit (evoit)
- Re: [Netconf] subscription-id management across a… Tianran Zhou
- Re: [Netconf] subscription-id management across a… Robert Wilton
- Re: [Netconf] subscription-id management across a… Juergen Schoenwaelder
- Re: [Netconf] subscription-id management across a… Andy Bierman
- Re: [Netconf] subscription-id management across a… Juergen Schoenwaelder
- [Netconf] subscription-id management across appli… Andy Bierman
- Re: [Netconf] subscription-id management across a… Andy Bierman