Re: [Pce] Association Source in draft-ietf-pce-segment-routing-policy-cp-01

Cyril Margaria <cyril.margaria@gmail.com> Fri, 06 November 2020 14:21 UTC

Return-Path: <cyril.margaria@gmail.com>
X-Original-To: pce@ietfa.amsl.com
Delivered-To: pce@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6B5273A11D0; Fri, 6 Nov 2020 06:21:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.854
X-Spam-Level:
X-Spam-Status: No, score=-0.854 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, NORMAL_HTTP_TO_IP=0.001, NUMERIC_HTTP_ADDR=1.242, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 bBwK3G063OnR; Fri, 6 Nov 2020 06:21:27 -0800 (PST)
Received: from mail-yb1-xb2d.google.com (mail-yb1-xb2d.google.com [IPv6:2607:f8b0:4864:20::b2d]) (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 347B03A11D5; Fri, 6 Nov 2020 06:21:27 -0800 (PST)
Received: by mail-yb1-xb2d.google.com with SMTP id m188so1294352ybf.2; Fri, 06 Nov 2020 06:21:27 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mK0i/BZRoaCBE4A+UUfAOjJgJI1w/XfqIgYg5aJEpHw=; b=k8k/EfSkWv3fDl9qqNQv4p1w43Cevmi56yBah9Pvq/4RLdkytRsnPvH86sRLhXeQe0 d6TyjGAS2WTUrWEAIB++znjI73nHZ/IfD1NeQUdEywvBdbSw2nvdCOCC/xZYaaNgmnoo j9UCFFB/W6MMloZ5hwjvLlNuPON3Mi7w5C/7nd91pONUJjn90UW92od7CedyZcG9+/zx DzUhw4p8NvhyRkwZdBxrpFkkblqYuVGHa+MRpaWl3bSMDkgn97uFa/u3M01yu9El+dsm DBo8VvBh4jGw7d/QjbrdBTq7KNASL9Qwakv/lrUaUI79DfriECDDqD9kcs4NXz4mUI+D FXWQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=mK0i/BZRoaCBE4A+UUfAOjJgJI1w/XfqIgYg5aJEpHw=; b=lhmtb6wmLh6f8MZ/oV6Ymtr5XdIKU5kR9NCahUOOtJDbFCC9QcaAEmaI2uqnCyvv85 gkNFrrHVQGWtvp0p+xUTVAWgER1FglcinJvFaOk+bUraje5NDU3n19BUELxy0XzF3o68 vhOeuOuti3stAp5ze/NUefxXPqpLuwXDS3bdIAdBjU1QDohh1T6Qmd5TlAEjR9QNJ0go rhP+LNvYxrtU9+cojUKO6L/GUYDDXTVrQegFe5m5RZPrh2DxrYbcxe4X9fE9/fOqE641 aTE8TMag8RvOYanybSMqQPla9wkeMGLcn7cIwW9ubmjKZ1/ozuGk74BbKDdYprygHO6C kb7A==
X-Gm-Message-State: AOAM531HnKXoHDA9EDestfzWChrfGjy6WdjKmUmeB8v4p2Kvoewr59s0 qKNmx43aGZggBL3QgXeWpW2x90VeOyhDtbiVv/Y=
X-Google-Smtp-Source: ABdhPJwGPwX8AnVtK+FvrSSVCOOGp4Ton+Uyi2ZSo3hWx5Mkbwpa0b5EHA8oxGA8THeq6sgSWnQLMOntcSoQpGsWAGA=
X-Received: by 2002:a25:16c4:: with SMTP id 187mr2894429ybw.281.1604672486356; Fri, 06 Nov 2020 06:21:26 -0800 (PST)
MIME-Version: 1.0
References: <160381151685.9996.2859530250089756904@ietfa.amsl.com> <CAP7zK5YOtdr1=MzErfcNh8Gf6PvFCA7YAAk=tuS=ntRA4OjnaQ@mail.gmail.com> <DM6PR11MB3802A59D7A3A7C9EB9EAD39CD3EE0@DM6PR11MB3802.namprd11.prod.outlook.com> <CAP7zK5Yfo4_O956y2aJkkNfpCgBZJmBhqUkcO+TCzwwW6-VP2w@mail.gmail.com> <DM6PR11MB38022F27FF41E28F16F9E899D3EE0@DM6PR11MB3802.namprd11.prod.outlook.com> <CAP7zK5b-kr9LZenvgFiMzqVT-YUCaPgMub+t4peEV=HQ17HL_g@mail.gmail.com> <CADOd8-t5ZD3KUF1xbmrCGWiqipNB3MhEhxZvzQDeuhEeUvyFwA@mail.gmail.com> <DM6PR11MB3802E5451065366739A8A385D3EE0@DM6PR11MB3802.namprd11.prod.outlook.com> <571AB173-2A35-4037-967B-87C3797809CF@nokia.com> <DM6PR11MB38021AE20504CD3522A03034D3ED0@DM6PR11MB3802.namprd11.prod.outlook.com> <CAP7zK5YAQFYDeJJ7YErcgtks94jq9pLvdEUvxeMxi1ZVOzgROg@mail.gmail.com> <DM6PR11MB38027F03573AE34EFA3FDC1AD3ED0@DM6PR11MB3802.namprd11.prod.outlook.com> <CAB75xn6P0q026F8YNZnRTHQ-CuY_PDrvVyVHMRrLSQnUxPZbsQ@mail.gmail.com> <DM6PR11MB380259C08B1A125853CEB6B3D3ED0@DM6PR11MB3802.namprd11.prod.outlook.com>
In-Reply-To: <DM6PR11MB380259C08B1A125853CEB6B3D3ED0@DM6PR11MB3802.namprd11.prod.outlook.com>
From: Cyril Margaria <cyril.margaria@gmail.com>
Date: Fri, 06 Nov 2020 14:21:15 +0000
Message-ID: <CADOd8-uxXfmCvxrLWEPc4x91qy0rBtzo_AZCYyE9icOxgY7pdA@mail.gmail.com>
To: "Mike Koldychev (mkoldych)" <mkoldych@cisco.com>
Cc: Dhruv Dhody <dhruv.ietf@gmail.com>, "Mike Koldychev (mkoldych)" <mkoldych=40cisco.com@dmarc.ietf.org>, Dhruv Dhody <dd@dhruvdhody.com>, pce-chairs <pce-chairs@ietf.org>, "pce@ietf.org" <pce@ietf.org>, "draft-ietf-pce-segment-routing-policy-cp@ietf.org" <draft-ietf-pce-segment-routing-policy-cp@ietf.org>, "Stone, Andrew (Nokia - CA/Ottawa)" <andrew.stone@nokia.com>
Content-Type: multipart/alternative; boundary="00000000000087bc7805b370ed11"
Archived-At: <https://mailarchive.ietf.org/arch/msg/pce/Cxs7nJddfS45-PQlENDtJXrl5VE>
Subject: Re: [Pce] Association Source in draft-ietf-pce-segment-routing-policy-cp-01
X-BeenThere: pce@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Path Computation Element <pce.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/pce>, <mailto:pce-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/pce/>
List-Post: <mailto:pce@ietf.org>
List-Help: <mailto:pce-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/pce>, <mailto:pce-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Nov 2020 14:21:30 -0000

Hi Mike

On Fri, 6 Nov 2020 at 14:09, Mike Koldychev (mkoldych) <mkoldych@cisco.com>
wrote:

> Hi Dhruv,
>
> -----Original Message-----
> From: Dhruv Dhody <dhruv.ietf@gmail.com>
> Sent: Friday, November 6, 2020 8:27 AM
> To: Mike Koldychev (mkoldych) <mkoldych=40cisco.com@dmarc.ietf.org>
> Cc: Dhruv Dhody <dd@dhruvdhody.com>; pce-chairs <pce-chairs@ietf.org>;
> pce@ietf.org; draft-ietf-pce-segment-routing-policy-cp@ietf.org; Cyril
> Margaria <cyril.margaria@gmail.com>; Stone, Andrew (Nokia - CA/Ottawa) <
> andrew.stone@nokia.com>
> Subject: Re: [Pce] Association Source in
> draft-ietf-pce-segment-routing-policy-cp-01
>
> Hi Mike,
>
> On Fri, Nov 6, 2020 at 5:08 PM Mike Koldychev (mkoldych) <mkoldych=
> 40cisco.com@dmarc.ietf.org> wrote:
> >
> > Hi Dhruv,
> >
> > I don't think it's valid to dismiss race conditions in the protocol
> because they are "rare". If they can happen at all means that
> implementations need to have extra logic to handle these race conditions.
> >
>
> Doesn't this "extra" logic exist anyway, as you must make sure there is
> only one SR policy association with a given set of SR Policy parameters
> under normal operations.
>
> [MK] If the PCC allocates the Association Source/ID, then it's always
> going to choose a unique value, so there will never be any collision. So
> no, this "extra" logic won't exist if we go with my proposal.
>

[MC] that's assuming that the PCE always sends 0, and not the previously
returned value, at that point why bother using or tracking association ?

<cut>

>
>
> BTW, what are your thoughts on the operator-configured association in the
> previous email? Not viable?
>
> [MK] You could set AssocExtID=Color, but I’m not sure what you would set
> Source to? Can we just set it to 0.0.0.0/0::0 and be done? Isn't that
> also a "special value"?
>

AssocExtID=Color, endpoint

Source should be a valid IP address, 0.0.0.0 looks OK, but I am rusty on
that.
0 is reserved, 0xFFFF is all assocation, 1 works as a fixed number not in a
reserved range.


>
> > All of this can be avoided if we just allow Source/ID to be 0 in PCInit
> messages. Is that really such a big change?
> >
>
> No, but the WG worked on RFC 8697 to make sure all the associations can be
> handled in a common way as much as possible. When deviating from that, IMHO
> a higher bar should be met. The WG should ponder if it is met here based on
> the scenario described above, that's all.
>
> [MK] I fully understand, but the value of 0 is reserved in that RFC. Can
> each application use 0/0.0.0.0/0::0 for its own purpose? Is that
> allowed/forbidden in the RFC?
>

 <cut>