Re: [Netconf] subscription-id management across applications

Robert Wilton <rwilton@cisco.com> Mon, 09 July 2018 16:49 UTC

Return-Path: <rwilton@cisco.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 A543A130EAA for <netconf@ietfa.amsl.com>; Mon, 9 Jul 2018 09:49:31 -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_HIGH=-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 e8bGMRREQAUs for <netconf@ietfa.amsl.com>; Mon, 9 Jul 2018 09:49:29 -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 EE00F130E88 for <netconf@ietf.org>; Mon, 9 Jul 2018 09:49:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=8202; q=dns/txt; s=iport; t=1531154969; x=1532364569; h=subject:to:references:from:message-id:date:mime-version: in-reply-to; bh=v1K76EbXKQeDvvkYsciDZROzsMR/m+leYoFpTg8Gago=; b=Ey5FcK1Iw3VR110TS4GEAUEzAI12zKnFCx93xl8y+pJ7U5FHJ/ddWDwi 4DZ1zz6H6LwJfsjtKALLCfAn99ivbjywsXfWUTWc/iJXN7gNNWcrI93hE RMLUxkmMytmbcp0FrVw6nHYqoJpQAP6cZwgj2UWBDXYQiOj8FmmVZPbcS A=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0B2AQCRj0Nb/xbLJq1aAxkBAQEBAQEBAQEBAQEHAQEBAQGEK38og3qIY400CCKQJIcICxgBCoMScUYCgmY4FAECAQECAQECbRwMhTcBAQEDAQEhCkEZAgkCEAgNGgMCAhsMHxEGAQwGAgEBgxwBgX8PjmibSIIcH4Q8g2+BNQUFij8/gTYMglyBVIFEAQGBSjcmgjqCVQKZTwmPHgaIFoVHjDyFVIFYIYFSMxoIGxU7gmmBdIQ/hGGFPz4wjlEBAQ
X-IronPort-AV: E=Sophos;i="5.51,330,1526342400"; d="scan'208,217";a="5010051"
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; 09 Jul 2018 16:49:25 +0000
Received: from [10.63.23.105] (dhcp-ensft1-uk-vla370-10-63-23-105.cisco.com [10.63.23.105]) by aer-core-3.cisco.com (8.14.5/8.14.5) with ESMTP id w69GnPZd005313; Mon, 9 Jul 2018 16:49:25 GMT
To: Andy Bierman <andy@yumaworks.com>, Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, Netconf <netconf@ietf.org>
References: <CABCOCHTuSSKeoUwMBDRwtrQCfXD29xqM+n7xNtaNFMbZrE6Cjg@mail.gmail.com> <20180709163144.x3ltgh7spzbz26km@anna.jacobs.jacobs-university.de> <CABCOCHStZfsAPWN0sgTP_zcvSbhHU4832C_BvRjTYCFO_3aObg@mail.gmail.com>
From: Robert Wilton <rwilton@cisco.com>
Message-ID: <19b8635d-5a2d-f032-1341-8b6493c50c18@cisco.com>
Date: Mon, 09 Jul 2018 17:49:25 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0
MIME-Version: 1.0
In-Reply-To: <CABCOCHStZfsAPWN0sgTP_zcvSbhHU4832C_BvRjTYCFO_3aObg@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------51C6926D5295913DEAC8CB56"
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/AehntgA_xxDDFE6DRvbUaRNCvQU>
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: Mon, 09 Jul 2018 16:49:32 -0000


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.

Perhaps someone need to standardize the equivalent of DNS for 
subscription ids ;-)

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/
>     <https://www.jacobs-university.de/>>
>
>
>
>
> _______________________________________________
> Netconf mailing list
> Netconf@ietf.org
> https://www.ietf.org/mailman/listinfo/netconf