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

"Mike Koldychev (mkoldych)" <mkoldych@cisco.com> Fri, 06 November 2020 01:53 UTC

Return-Path: <mkoldych@cisco.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 8FC223A0A9F; Thu, 5 Nov 2020 17:53:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.597
X-Spam-Level:
X-Spam-Status: No, score=-9.597 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, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, 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 header.b=KL/Y4u/V; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=juvC0u3J
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 10jkg229RFjZ; Thu, 5 Nov 2020 17:53:12 -0800 (PST)
Received: from alln-iport-7.cisco.com (alln-iport-7.cisco.com [173.37.142.94]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2EA073A0A9C; Thu, 5 Nov 2020 17:53:12 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=49458; q=dns/txt; s=iport; t=1604627592; x=1605837192; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=lGaUADpyZc51m8Q8NNzu03Y3yKsQzdYQrunQlh1g6gM=; b=KL/Y4u/Vx/TRfQDiAfCFcfUNlBKlidq8zcRYZFerQQ/hwxQhjUIV0xfV NVJ5gDtoFTWJ0E1Gk7FjvFwhLpGtElN5QyWou7BGI6HGNj9bAuNbiW9R9 jBgAuAtdPUH1Eco5uBRnhpehV+zKqgH9iOD6EcY5XkaZaAJYxgRDCbFKB Q=;
X-IPAS-Result: A0C4AQD8q6RffYYNJK1iGwEBAQEBAQEBBQEBARIBAQEDAwEBAYIPgSMvIy53WS8uCoQzg0kDjVWKE45sgUKBEQNPBQsBAQENAQEYAQwIAgQBAYRKAheBdwIlOBMCAwEBAQMCAwEBAQEFAQEBAgEGBBQBAYY8DIVyAQEBAwEBARAICQoTAQEsCwEPAgEIEQMBAQEBIAEGAwICAh8GCxQJCAIEAQ0FCBqDBYF+TQMOIAEOpVoCgTuIaHaBMoMEAQEFgTcCDkGDBg0LghAJgTiCcoNxgQaBPoQTG4FBP4EQAUOCTz6CG0IBAQIBARWBEQESASMeBgcJCIJZM4IskBghLwYDgnOHGieLA5BxOFQKgm2JCoxshTWDGIEqiGiKJ4QShgqTRwaKeIJujiKEPAIEAgQFAg4BAQWBQSohaXBwFRohgmkJRxcCDY4fDBeDToUUhUR0AgEBNAIGAQkBAQMJfIw7AYEQAQE
IronPort-PHdr: 9a23:qNItXBY+t0MMIwGhvM+57en/LSx94ef9IxIV55w7irlHbqWk+dH4MVfC4el21QaVD4Pc6PNNzeHRtvOoVW8B5MOHt3YPONxJWgQegMob1wonHIaeCEL9IfKrCk5yHMlLWFJ/uX3uN09TFZX4YF7Tqzu56jtBUhn6PBB+c+LyHIOahs+r1ue0rpvUZQgAhDe0bb5oahusqgCEvcgNiowkIaE0mRY=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-AV: E=Sophos;i="5.77,454,1596499200"; d="scan'208,217";a="582113473"
Received: from alln-core-12.cisco.com ([173.36.13.134]) by alln-iport-7.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 06 Nov 2020 01:53:10 +0000
Received: from XCH-RCD-003.cisco.com (xch-rcd-003.cisco.com [173.37.102.13]) by alln-core-12.cisco.com (8.15.2/8.15.2) with ESMTPS id 0A61rA6J029270 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Fri, 6 Nov 2020 01:53:10 GMT
Received: from xhs-rcd-003.cisco.com (173.37.227.248) by XCH-RCD-003.cisco.com (173.37.102.13) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 5 Nov 2020 19:53:09 -0600
Received: from xhs-aln-001.cisco.com (173.37.135.118) by xhs-rcd-003.cisco.com (173.37.227.248) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 5 Nov 2020 19:53:09 -0600
Received: from NAM04-CO1-obe.outbound.protection.outlook.com (173.37.151.57) by xhs-aln-001.cisco.com (173.37.135.118) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Thu, 5 Nov 2020 19:53:09 -0600
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g2E/3ghkg2sXyYLcnPbKSv6hCCIaHN2lXoSjdB5t27WiYD/OZ1/wBn5rvdhdi1RBvhlXeyPP4t4IoR51GXqYOgbdhapyxBbN4Wc1bRD41FZQvtA1ADzud0CXTINVVAHWQ4bAxmBOK5qn6czWCMu3Y7L5qv7V7Ct0GAvCtms68oxhkQu8Wm/wTXDRvaZR02Fc6bVFKxkusSZav/LnzwcR7doL3G2TZFVCH818bHnHw+8rqinJVMSDUriF2FZoSJNPdKNQwa6rBgtCxZIuRDoA70jMYxhUx/vpC1fBrpCX66tVsmCLPmqUg+EengyQqXcems1Xul9dCB4tZsqArpRN/Q==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lGaUADpyZc51m8Q8NNzu03Y3yKsQzdYQrunQlh1g6gM=; b=PpbVf2Nyeb9foyFCY0y62GjFQYAmjLjm0fIdWEGPiWNY/iNYxgkPQJCiJek57ac1b3Bc9HTeNPtT0NpQCf5w9Ij8OeL0tgLARwYTQsGOSr982o07H+JLgyXX9sECn0AZpkFZMPRy3onyKl5CVGXA/COsb3lJMsR7k7Jyhok2Y/xYEzDNZlmAEYuaaVWYM4yxWIfPv+54MbRQtU/N2bVX04dyddkEm3k+wQVqWWs+dMgHlIjC9XrSiyW4sZnijlaxm5ZiRfqoOWo6ziKMGL/RF2VQrFaeX88anz/pu68YFomaHUi4HdvouRLs8IRVEg8KtimhlOflA+pOWMDe1+VnQw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lGaUADpyZc51m8Q8NNzu03Y3yKsQzdYQrunQlh1g6gM=; b=juvC0u3JYhO647AuPyThnwIEAkxeW3bVkGsjtZ7IFexbiHL42xpYee/xorU1nV8wVsTxUIOnK8eQa6rAAEwfHlmst1aPaH1oAGUp3FyfASBQ2yfIG3itLp/QKyv0x0jLbwLzFxOWelkTFbUr149KxIzF0Zga0Vwa4gMSi5keFfk=
Received: from DM6PR11MB3802.namprd11.prod.outlook.com (2603:10b6:5:143::30) by DM6PR11MB4346.namprd11.prod.outlook.com (2603:10b6:5:1dd::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.18; Fri, 6 Nov 2020 01:53:08 +0000
Received: from DM6PR11MB3802.namprd11.prod.outlook.com ([fe80::74ba:9dd3:1dcf:1de8]) by DM6PR11MB3802.namprd11.prod.outlook.com ([fe80::74ba:9dd3:1dcf:1de8%6]) with mapi id 15.20.3499.032; Fri, 6 Nov 2020 01:53:08 +0000
From: "Mike Koldychev (mkoldych)" <mkoldych@cisco.com>
To: "Stone, Andrew (Nokia - CA/Ottawa)" <andrew.stone@nokia.com>, Cyril Margaria <cyril.margaria@gmail.com>, Dhruv Dhody <dd@dhruvdhody.com>
CC: "pce@ietf.org" <pce@ietf.org>, "draft-ietf-pce-segment-routing-policy-cp@ietf.org" <draft-ietf-pce-segment-routing-policy-cp@ietf.org>, pce-chairs <pce-chairs@ietf.org>
Thread-Topic: [Pce] Association Source in draft-ietf-pce-segment-routing-policy-cp-01
Thread-Index: AQHWs0FDpv7QUwBDr0CmS9tu2ryFnKm5kByggAAeEQCAAASBcIAABMEAgAAFWwCAAB488IAAKGYAgABP1tA=
Date: Fri, 06 Nov 2020 01:53:08 +0000
Message-ID: <DM6PR11MB38021AE20504CD3522A03034D3ED0@DM6PR11MB3802.namprd11.prod.outlook.com>
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>
In-Reply-To: <571AB173-2A35-4037-967B-87C3797809CF@nokia.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: nokia.com; dkim=none (message not signed) header.d=none;nokia.com; dmarc=none action=none header.from=cisco.com;
x-originating-ip: [174.112.148.189]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: a14f77a3-ac58-4219-0d3b-08d881f6b58f
x-ms-traffictypediagnostic: DM6PR11MB4346:
x-microsoft-antispam-prvs: <DM6PR11MB43464FAA77C1DA8C808AA932D3ED0@DM6PR11MB4346.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: b+EGYFO406o9lt3JFnQciMaIcpVKDY/P0exc+unTtFssNsgp7J1jP1umutzpXV1PPqsMnuUbqevRG7Uh7I9452lb6wr7+XOmLNJHv70jzdVPEaY0+3k4SrpqGwyHJcUNn8O/8Hoc+94V2DoacjR7iVCl7o9HSkTGT3p20ceiD39iS0B+el8nA2crpETieGGYyt2YRfO9C/zyJZfaTXjGZ12GhnW75Ho/R9HrvcO0OEIFD3+34Bkzb9q6Dz9eL5vwIYwyuIeLe4/DpboZIrxXC1ih6cGBceKT7nizLPpqotD8vTVak94//YYoEF+r9Oy6N0dHwkhCBJJWpKcoIS6P+YAVz93eZGZCkSg/lS6oP8JrzUfxl+zCdmxg1rgga5pZeEMj5zUWxt+vzijy1OrwhVpt+3n9L5eJ9c+QkpUIYpEMcPN3vcE45qL4tnSKq3bK
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB3802.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(376002)(366004)(396003)(346002)(39860400002)(136003)(86362001)(64756008)(52536014)(166002)(966005)(5660300002)(66574015)(71200400001)(30864003)(66476007)(66446008)(83380400001)(66946007)(7696005)(66556008)(76116006)(478600001)(2906002)(26005)(6506007)(8936002)(110136005)(316002)(55016002)(186003)(9686003)(296002)(54906003)(8676002)(9326002)(4001150100001)(33656002)(53546011)(4326008)(60764002); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: WFFuaKpCWkpOAJdhs7wuPsYR+oavTIBLPj4TMDbWY8eLqQHHyjh3YoVFduQMf3AncxU1PGLh6hl75K7arNNywe/9D2ENhbMkk19TSfKOxnGl3ablLC1Rwn2a8PkF64E7Y3nly4/OI9y6MZ6GqBA7vZqta1L0gnMi1QMUl76ZIUFphGrY1kPTIIHDzPNljlp46C8mFdrRbXUZE3ZDFmi7kIcmK/wJnxAKfdps5WOiycCOzxc3TIe/UEWp5+iuc322lc431naGTSrDjW+Gnl+aYcBG2lymXzlH3FBE7Qi19jGC7DqT0CTu7/YtIW58MpNg90iMg5Tr/UwLc7qfo8a1iZXlEypphcKSChVXNFQ3cs5S4r7A7r3uxWVu3pmTpwBH/MASMaOIP5ApoIr2JCz6cpopewljQrVk81qX8LOQGk6JMnyy/YKb8DN4pYREnLz1FTZrYGwrdBn39pafY7UIHZD3OGUVQg04Nmt4Tg5ke1IhIPXPjLIzqEegFpWpyJbsibqMCwbDXMgQNMXMLQTdBV301Ak+8MLiX2g+3LwUdSBck6wJ5PrnOMirtNECOmeiNKh9nVTHu+t+1xhncDmCgsvmxD/1++10QkXH1b9V/GG36q57vgCUPmrJM4l7M//+pFzpQLJpa0+ixoTtpOGInA==
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_DM6PR11MB38021AE20504CD3522A03034D3ED0DM6PR11MB3802namp_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: DM6PR11MB3802.namprd11.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: a14f77a3-ac58-4219-0d3b-08d881f6b58f
X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Nov 2020 01:53:08.0454 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: qqR8X894jDDjeXIzvOmCA/p//GQ9JuDtOGf3KJvEouKzJ/jn9Ia2dyIM0KWOgYKzWNVjZD8Sov2A8Xc4PYgUWw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB4346
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.13, xch-rcd-003.cisco.com
X-Outbound-Node: alln-core-12.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/pce/j3ony0Mh9Oe_qeB8SYcBvrCleJc>
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 01:53:16 -0000

Hi Andrew,

See inline with [MK]

From: Stone, Andrew (Nokia - CA/Ottawa) <andrew.stone@nokia.com>
Sent: Thursday, November 5, 2020 3:48 PM
To: Mike Koldychev (mkoldych) <mkoldych@cisco.com>; Cyril Margaria <cyril.margaria@gmail.com>; Dhruv Dhody <dd@dhruvdhody.com>
Cc: pce@ietf.org; draft-ietf-pce-segment-routing-policy-cp@ietf.org; pce-chairs <pce-chairs@ietf.org>
Subject: Re: [Pce] Association Source in draft-ietf-pce-segment-routing-policy-cp-01

Hi Mike, Dhruv, Cyril:

We do use errors on initiate messages during race conditions, for example, symbolic name uniqueness on pce-initiated vanilla LSPs. So error based protection to enforce uniqueness and protect race conditions is manageable/done today.
[MK] The chances of symbolic-names being the same is much less than the chance of Association Sources being different. Also the symbolic-name actually has an important meaning, the Association Source has no meaning. Getting a flood of PCError messages about a field that has no meaning would be bad. If we can eliminate these error messages completely, why not do that?

However: would it make sense for the SRPAG definition, to be defined by the ‘first’ entity which created the candidate path? when it’s a shared construct with other entities which are now forced to re-use that value? Using a Virtual IP on the PCE(s) would certainly help, but wouldn’t work correctly with mixed use PCC/PCE init candidate paths (would anyone do that?), or different vendor PCE/clusters/different virtual IPs would add more complexity.  The common element I see is the uniqueness on PCC and the fact that SRPAG==SRPolicy. Since Association Source is ‘scoping for the association ID’, and there is no association scoping used/needed, then the value is essentially unused – therefore just a dummy value assigned by PCC?
[MK] Yes it’s unused! I like the idea of PCC choosing it.

I think there is a bit of ambiguity as mentioned (PCEP session? Router ID? ), and still run the risk that PCEP is terminating on different addresses towards different PCEs / different view of the ‘PCC address’.  Requesting the PCC to just assign the (unused?) value seems to like a way to avoid all of the above.  With that said, I could be missing other implications/usage of the Association Source field.
[MK] Yes, requesting the PCC to assign a value would resolve this issue. But the question is what value would the PCE send in PCInit message when first creating a policy? I propose that PCE can send just 0.0.0.0 or 0::0 in PCInit messages to indicate to the PCC to pick a value. Alternatively, PCE can send any value of Association Source/ID, but the PCC will not honor it and just choose its own Association Source/ID.

Cheers
Andrew

From: Pce <pce-bounces@ietf.org<mailto:pce-bounces@ietf.org>> on behalf of "Mike Koldychev (mkoldych)" <mkoldych=40cisco.com@dmarc.ietf.org<mailto:mkoldych=40cisco.com@dmarc.ietf.org>>
Date: Thursday, November 5, 2020 at 1:30 PM
To: Cyril Margaria <cyril.margaria@gmail.com<mailto:cyril.margaria@gmail.com>>, Dhruv Dhody <dd@dhruvdhody.com<mailto:dd@dhruvdhody.com>>
Cc: "pce@ietf.org<mailto:pce@ietf.org>" <pce@ietf.org<mailto:pce@ietf.org>>, "draft-ietf-pce-segment-routing-policy-cp@ietf.org<mailto:draft-ietf-pce-segment-routing-policy-cp@ietf.org>" <draft-ietf-pce-segment-routing-policy-cp@ietf.org<mailto:draft-ietf-pce-segment-routing-policy-cp@ietf.org>>, pce-chairs <pce-chairs@ietf.org<mailto:pce-chairs@ietf.org>>
Subject: Re: [Pce] Association Source in draft-ietf-pce-segment-routing-policy-cp-01

Hi Cyril,

See inline with [MK]

From: Cyril Margaria <cyril.margaria@gmail.com<mailto:cyril.margaria@gmail.com>>
Sent: Thursday, November 5, 2020 11:35 AM
To: Dhruv Dhody <dd@dhruvdhody.com<mailto:dd@dhruvdhody.com>>
Cc: Mike Koldychev (mkoldych) <mkoldych@cisco.com<mailto:mkoldych@cisco.com>>; pce@ietf.org<mailto:pce@ietf.org>; pce-chairs <pce-chairs@ietf.org<mailto:pce-chairs@ietf.org>>; draft-ietf-pce-segment-routing-policy-cp@ietf.org<mailto:draft-ietf-pce-segment-routing-policy-cp@ietf.org>
Subject: Re: [Pce] Association Source in draft-ietf-pce-segment-routing-policy-cp-01


I have a related question: how do you define the "PCC address", PCEP session address , one router id?
[MK] By PCC Address, I meant the IP address of the PCEP session. I believe a better approach is actually to set Association Source in PCInitiate message to 0.0.0.0 or 0::0 and let the PCC allocate the correct Source, same as how Association ID allocation is proposed in the draft.


For the association source race condition, the race condition will result in a "Conflicting SRPAG TLV" from a PCInitiate/PCUpd, the PCE can use the correct SRPAG.
[MK] It’s not a good protocol design to allow PCError messages to appear randomly when all the parties are following the protocol. Would really like to avoid that.



On Thu, 5 Nov 2020 at 16:16, Dhruv Dhody <dd@dhruvdhody.com<mailto:dd@dhruvdhody.com>> wrote:
Hi Mike,

On Thu, Nov 5, 2020 at 9:34 PM Mike Koldychev (mkoldych)
<mkoldych@cisco.com<mailto:mkoldych@cisco.com>> wrote:
>
> Hi Dhruv,
>
>
>
> Perhaps we can avoid this by letting PCE send PCInitiate message with Association Source set to some reserved value, like 0. This can mean that the PCE is basically requesting the PCC to allocate an Association Source and to “own” that Association. We already do this with the Association ID. PCE sets the ID to 0 in PCInitiate and PCC chooses an Association ID and reports it back.
>
>

The comment was applicable for association-id as well as
association-source! The use of 0 as association ID is being introduced
by your draft and not part of the base RFC 8697 and that triggered the
original email. Julien and I were uncomfortable with that and wanted
to understand what is new here for SR policy association that requires
a new procedure and cant be handled by RFC 8697.

Thanks,
Dhruv

>
> Thanks,
>
> Mike.
>
>
>
> From: Dhruv Dhody <dd@dhruvdhody.com<mailto:dd@dhruvdhody.com>>
> Sent: Thursday, November 5, 2020 10:43 AM
> To: Mike Koldychev (mkoldych) <mkoldych@cisco.com<mailto:mkoldych@cisco.com>>
> Cc: draft-ietf-pce-segment-routing-policy-cp@ietf.org<mailto:draft-ietf-pce-segment-routing-policy-cp@ietf.org>; pce@ietf.org<mailto:pce@ietf.org>; pce-chairs <pce-chairs@ietf.org<mailto:pce-chairs@ietf.org>>
> Subject: Re: Association Source in draft-ietf-pce-segment-routing-policy-cp-01
>
>
>
> Hi Mike,
>
>
>
> On Thu, Nov 5, 2020 at 7:51 PM Mike Koldychev (mkoldych) <mkoldych@cisco.com<mailto:mkoldych@cisco.com>> wrote:
>
> Hi Dhruv,
>
>
>
> Thanks for bringing this up.
>
>
>
> By setting ASSO_SOURCE = PCC_ADDRESS, we guarantee that:
>
> all 3 parties: PCC, PCE1 and PCE2 agree on the same source, AND
> they agree without talking to each other.
>
>
>
> In your proposal below, if we set ASSO_SOURCE = NMS_ADDRESS, it seems that condition 1 may be fulfilled, but it requires exchange of PCRupt/PCUpd messages between the 3 entities, which violates condition 2. Please correct me if I misunderstood something. In the picture that you drew, you say that “Policy Endpoint=X” and “Association Source=X”, are you suggesting to use the policy endpoint as the ASSO_SOURCE? That would satisfy both conditions, but I’m not sure if you intended that?
>
>
>
>
>
> No, I did not!
>
>
>
>
>
> I believe condition 2 is important to satisfy, because otherwise there could be race conditions where the 3 parties have different ASSOC_SOURCE for the same policy. Consider what happens when all 3 parties try to create the same policy at the same time.
>
>
>
>
>
> The SR-Policy association is "dynamic" in nature, and we need to go by the association parameters we receive from the PCEP peer. Condition 2 of talking to each other is the very nature of a dynamic association!
>
>
>
> If the race condition is the issue to solve, we can use the SR-Policy parameters (color, endpoint, source). And make sure there is only one SR-Policy-association-group with a given set of SR-Policy parameters (and generate an error otherwise). The other PCE would learn about the association and can use it subsequently!
>
>
>
> I’m open to any proposal, but IMO we should respect the above two requirements.
>
>
>
>
>
> I feel the requirement 2 is not compatible with a dynamic association.
>
>
>
> Thanks!
>
> Dhruv
>
>
>
>
>
> Thanks,
>
> Mike.
>
>
>
> From: Dhruv Dhody <dd@dhruvdhody.com<mailto:dd@dhruvdhody.com>>
> Sent: Thursday, November 5, 2020 1:59 AM
> To: draft-ietf-pce-segment-routing-policy-cp@ietf.org<mailto:draft-ietf-pce-segment-routing-policy-cp@ietf.org>
> Cc: pce@ietf.org<mailto:pce@ietf.org>; pce-chairs <pce-chairs@ietf.org<mailto:pce-chairs@ietf.org>>
> Subject: Association Source in draft-ietf-pce-segment-routing-policy-cp-01
>
>
>
> Hi Authors,
>
> In https://tools.ietf.org/html/draft-ietf-pce-segment-routing-policy-cp-01#section-4.2,  you state -
>
>    The Association Source MUST be set to the PCC's address.  This
>    applies for both PCC-initiated and PCE-initiated candidate paths.
>    The reasoning for this is that if different PCEs could set their own
>    Association Source, then the candidate paths instantiated by
>    different PCEs would by definition be in different PCEP Associations,
>    which contradicts our requirement that the SR Policy is represented
>    by an Association.
>
>
>
>
>    The Association ID MUST be chosen by the PCC when the SR policy is
>    allocated.  In PCRpt messages from the PCC, the Association ID MUST
>    be set to the unique value that was allocated by the PCC at the time
>    of policy creation.  In PCInit messages from the PCE, the Association
>    ID MUST be set to the reserved value 0, which indicates that the PCE
>    is asking the PCC to choose an ID value.  The PCE MUST NOT send the
>    Extended Association ID TLV in the PCInit messages.
>
>
> But the base RFC 8697 https://www.rfc-editor.org/rfc/rfc8697.html#section-6.1.3 gave quite a bit of leeway while setting the association source.
>
> Consider 2 PCEs - PCE1 & PCE2, I am assuming if candidate paths are created via two different PCEs both will be aware of SR Policy identifiers (color, end-point, etc). When PCE1 initiates CP1, it could use the association source as Virtual-IP or NMS (instead of PCE1). The PCE2 will learn about the association and the corresponding SR policy parameters via the PCRpt message which is sent to both PCEs. So when the PCE2 initiates CP2, it could use the same association!
>
> This was the very reason to include the flexibility in setting the association source in RFC 8697.
>
> Julien and I discussed this and we feel you are trying to solve the issue of sharing an association ID between several PCEs by using a new mean than the one in RFC 8697. If you have other reasons then please state them, otherwise, RFC 8697 should take precedence.
>
> Thanks!
> Dhruv & Julien
>
> PS. I quickly drew a figure if that helps (see attached)!
>
>
>
> On Tue, Oct 27, 2020 at 8:42 PM <internet-drafts@ietf.org<mailto:internet-drafts@ietf.org>> wrote:
>
>
> A New Internet-Draft is available from the on-line Internet-Drafts directories.
> This draft is a work item of the Path Computation Element WG of the IETF.
>
>         Title           : PCEP extension to support Segment Routing Policy Candidate Paths
>         Authors         : Mike Koldychev
>                           Siva Sivabalan
>                           Colby Barth
>                           Shuping Peng
>                           Hooman Bidgoli
>         Filename        : draft-ietf-pce-segment-routing-policy-cp-01.txt
>         Pages           : 20
>         Date            : 2020-10-27
>
> Abstract:
>    This document introduces a mechanism to specify a Segment Routing
>    (SR) policy, as a collection of SR candidate paths.  An SR policy is
>    identified by <headend, color, end-point> tuple.  An SR policy can
>    contain one or more candidate paths where each candidate path is
>    identified in PCEP via an PLSP-ID.  This document proposes extension
>    to PCEP to support association among candidate paths of a given SR
>    policy.  The mechanism proposed in this document is applicable to
>    both MPLS and IPv6 data planes of SR.
>
>
>
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-ietf-pce-segment-routing-policy-cp/
>
> There are also htmlized versions available at:
> https://tools.ietf.org/html/draft-ietf-pce-segment-routing-policy-cp-01
> https://datatracker.ietf.org/doc/html/draft-ietf-pce-segment-routing-policy-cp-01
>
> A diff from the previous version is available at:
> https://www.ietf.org/rfcdiff?url2=draft-ietf-pce-segment-routing-policy-cp-01
>
>
> Please note that it may take a couple of minutes from the time of submission
> until the htmlized version and diff are available at tools.ietf.org<http://tools.ietf.org>.
>
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/
>
>
> _______________________________________________
> Pce mailing list
> Pce@ietf.org<mailto:Pce@ietf.org>
> https://www.ietf.org/mailman/listinfo/pce

_______________________________________________
Pce mailing list
Pce@ietf.org<mailto:Pce@ietf.org>
https://www.ietf.org/mailman/listinfo/pce