Re: [Netconf] subscription-id management across applications

Andy Bierman <andy@yumaworks.com> Mon, 09 July 2018 16:34 UTC

Return-Path: <andy@yumaworks.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 B85BF130E55 for <netconf@ietfa.amsl.com>; Mon, 9 Jul 2018 09:34:22 -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 1gCWxyNvzfK9 for <netconf@ietfa.amsl.com>; Mon, 9 Jul 2018 09:34:20 -0700 (PDT)
Received: from mail-lf0-x22c.google.com (mail-lf0-x22c.google.com [IPv6:2a00:1450:4010:c07::22c]) (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 77666130E2A for <netconf@ietf.org>; Mon, 9 Jul 2018 09:34:20 -0700 (PDT)
Received: by mail-lf0-x22c.google.com with SMTP id y200-v6so15768693lfd.7 for <netconf@ietf.org>; Mon, 09 Jul 2018 09:34:20 -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=SpnttwKESDcPnHngw1lbdlXf9e1uIBqlzSz/Y4tZL+w=; b=kb2VWgq7+8ZN+efgI7sHF0yUpJv6h9LQeR2Tva7I04EyasEkFYnMVrwb276ipGORlK BBYHA9/J5WiM5RTqaQ5xz4gsCq9KCjP36VATpTIHzwUl/NlVHXrzQLAw4oUCUcv1giEd dy4oSXIjlmn7an6WeUEXjH7X4mmkunxhwy1ykVeSi+w26nvayMo++8VF9sEQK07wqyRs rzZKNFl/26T0tzbu9tLb4zleNRqmSJWMzHJPMda67DMfo5gDrCiba5rKWHibq8wmnGrb iv3Z4evY6TxqDtVlGgwvGnZI4WxPPNHLhav+Lq07ZCt5bzJsal5lLWXxCwfbDqMK4Dlh EqAQ==
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=SpnttwKESDcPnHngw1lbdlXf9e1uIBqlzSz/Y4tZL+w=; b=NOUFN12KGnUiPMH5hI2FeT7u4Dv7fqMS9hbCIQ9KQbRTKJdnIBWNHbgj7AQLVPjuCa xO6E7uQHgRKRI82Hmv8t+T0PTl6b849Vzud78UNK4wI+0t2F0qxRjAt5mnsKiX+Zaor1 5dJ2lZgnwjUySRAXheKbKBoeLk7ns9q3Z1hYZ2pKsNzpLeSS6bQa97/zajaKSwwgqs86 PJbApx9kbVhfb2LyndeYB/ZcDsEQ2gsAdBnWYDshK5GV5ek24YpFqjWCfLOtjqmdKrxq nI1MPLFX5/jSo5GhomlA4fa+r9UhAJ+xpOLMpr9k5V3lradGqcs+MOyfWG09uLfsx3f4 SA7g==
X-Gm-Message-State: APt69E2Sq/Y0e4ilp3VtqRnPuoCxtTaA0xkTpYiElN4ty/10VJiBC94Z 0BrjtumrUZxF7DJg3MlLNWswErP/v6hDFUiKIRAt2Q==
X-Google-Smtp-Source: AAOMgpcV9i1Avg4IU+FjBO6csbX1GAJ43Es3AQXzS0IoMEgDghYt0Zy8wEN92D/f+Kis3Hq0Mp64mCrTDsBpENlLBG0=
X-Received: by 2002:a19:e1cc:: with SMTP id l73-v6mr238962lfk.102.1531154058595; Mon, 09 Jul 2018 09:34:18 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:a19:aa46:0:0:0:0:0 with HTTP; Mon, 9 Jul 2018 09:34:17 -0700 (PDT)
In-Reply-To: <20180709163144.x3ltgh7spzbz26km@anna.jacobs.jacobs-university.de>
References: <CABCOCHTuSSKeoUwMBDRwtrQCfXD29xqM+n7xNtaNFMbZrE6Cjg@mail.gmail.com> <20180709163144.x3ltgh7spzbz26km@anna.jacobs.jacobs-university.de>
From: Andy Bierman <andy@yumaworks.com>
Date: Mon, 09 Jul 2018 09:34:17 -0700
Message-ID: <CABCOCHStZfsAPWN0sgTP_zcvSbhHU4832C_BvRjTYCFO_3aObg@mail.gmail.com>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, Andy Bierman <andy@yumaworks.com>, Netconf <netconf@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000c263d205709395b2"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/LmVjzCsDacAfhrH2ihcPuEqaXhw>
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:34:23 -0000

On Mon, Jul 9, 2018 at 9:31 AM, Juergen Schoenwaelder <
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.



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