Re: [Netconf] subscription-id management across applications

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Mon, 09 July 2018 16:31 UTC

Return-Path: <j.schoenwaelder@jacobs-university.de>
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 42A41130E55 for <netconf@ietfa.amsl.com>; Mon, 9 Jul 2018 09:31:47 -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] 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 y-22gT69ZDHh for <netconf@ietfa.amsl.com>; Mon, 9 Jul 2018 09:31:45 -0700 (PDT)
Received: from anna.localdomain (firewallix.jacobs-university.de [212.201.44.247]) by ietfa.amsl.com (Postfix) with ESMTP id A6456130E61 for <netconf@ietf.org>; Mon, 9 Jul 2018 09:31:45 -0700 (PDT)
Received: by anna.localdomain (Postfix, from userid 501) id 1124A22FD16A; Mon, 9 Jul 2018 18:31:44 +0200 (CEST)
Date: Mon, 09 Jul 2018 18:31:44 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Andy Bierman <andy@yumaworks.com>
Cc: Netconf <netconf@ietf.org>
Message-ID: <20180709163144.x3ltgh7spzbz26km@anna.jacobs.jacobs-university.de>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: Andy Bierman <andy@yumaworks.com>, Netconf <netconf@ietf.org>
References: <CABCOCHTuSSKeoUwMBDRwtrQCfXD29xqM+n7xNtaNFMbZrE6Cjg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <CABCOCHTuSSKeoUwMBDRwtrQCfXD29xqM+n7xNtaNFMbZrE6Cjg@mail.gmail.com>
User-Agent: NeoMutt/20180622
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/4LESEMTQr8JQ77lrgddd-v5JDGo>
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:31:48 -0000

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?

/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/>