Re: [Pce] Question about Originator Address in draft-ietf-pce-segment-routing-policy-cp

Oscar González de Dios <oscar.gonzalezdedios@telefonica.com> Fri, 17 September 2021 17:41 UTC

Return-Path: <oscar.gonzalezdedios@telefonica.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 885333A0A60; Fri, 17 Sep 2021 10:41:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.552
X-Spam-Level:
X-Spam-Status: No, score=-2.552 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.452, 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_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=telefonica.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 wN4jYOJuZB3D; Fri, 17 Sep 2021 10:40:56 -0700 (PDT)
Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10131.outbound.protection.outlook.com [40.107.1.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 177C93A0A3C; Fri, 17 Sep 2021 10:40:55 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VfRz1le8Dwj2SmyDNmfkm0e66Owe7QC2LLtwr3ZIeYLHdYfbQ23ccOyvaNArmzb8Y1zkX9vim2u+YV3BSYbtD+o3Vwd/rBNvlbpFyMWFc6B3N2LHVSWtazNeYHbhYTn6KG6MrxYP5forMa6K8MKwGyBKjJTgNMv4rpUaDAjle7AVo3AWAY64MgBXCfnwl3QDDn3MK2L6JO87di7qXlGrTIdmktFgF6gTKcPuHRsIUa4QBZzSDXXAcWGfWKEjRL0WIz+DbfOrrwSTvSJlC5N9JEe0UsNn7jy95pXTp7KjxQMt66jx9qx2TZMCl3EC9yfluogMkTDhP9ycXJTICILwSg==
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; bh=99PJDK09k5/2+JLa0UZZtL6muymye/yj+0QUzbobrc0=; b=Yn9TXWMkpCtCFQM/ZBOp3mrn0RpQKXkgLFNZx+HW8le44pcxtDc6OTU7QvCSPUDcofcpBnTFIGc/QBv6FrXaNUUrRDfEzO7UJ1WLz0c6u3jzFPHC5L5Se+aQGleCN6DsfBHwWUGPijOYhDN7jt1HCKBjW6IyGWjl1O91oyb2T5XkNgSAgXbrIyVv1H8LNtATYF5IEYaptlQhKHyVXOBIahYub67ubdDJh5nyU/KNYc1aAg2+C+y/dx5ao8sZVIs9Cv7U++c2BoFgqJb2StnEkP6qgM/s2a6HvDkbRBU2yjpX4JiVnqzTorUdlZ09//9z7pHdJ2RyUf+ZyPnMTGyYCQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=telefonica.com; dmarc=pass action=none header.from=telefonica.com; dkim=pass header.d=telefonica.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telefonica.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=99PJDK09k5/2+JLa0UZZtL6muymye/yj+0QUzbobrc0=; b=Couu3Cu1tdPg/LuDIsmdb0l0qMjj1rqkGqlyyzAKIYL4AfubqIZ+gq+3/FxHdVz2W+SdiBJQG9ImZm8Wqv7pY1UZkdcDlIGlqsies4T3fuROUkKkIlhI65nxElub+78eL3C+7dAwlFUszI6KkbpZ9tzF+5zFtqvTGmOPVrenblU=
Received: from PAXPR06MB7872.eurprd06.prod.outlook.com (2603:10a6:102:1a3::9) by PAXPR06MB7807.eurprd06.prod.outlook.com (2603:10a6:102:151::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.16; Fri, 17 Sep 2021 17:40:51 +0000
Received: from PAXPR06MB7872.eurprd06.prod.outlook.com ([fe80::dc1e:4a84:4569:af43]) by PAXPR06MB7872.eurprd06.prod.outlook.com ([fe80::dc1e:4a84:4569:af43%8]) with mapi id 15.20.4500.018; Fri, 17 Sep 2021 17:40:51 +0000
From: Oscar González de Dios <oscar.gonzalezdedios@telefonica.com>
To: "Mike Koldychev (mkoldych)" <mkoldych@cisco.com>, "pce@ietf.org" <pce@ietf.org>, "draft-ietf-pce-segment-routing-policy-cp@ietf.org" <draft-ietf-pce-segment-routing-policy-cp@ietf.org>
Thread-Topic: Question about Originator Address in draft-ietf-pce-segment-routing-policy-cp
Thread-Index: AderuriOTq4noi3gSkSsKNfqOpjcqQAKmCnAAACUkIA=
Date: Fri, 17 Sep 2021 17:40:51 +0000
Message-ID: <PAXPR06MB78723F3A669D58E183AFE9EEFDDD9@PAXPR06MB7872.eurprd06.prod.outlook.com>
References: <PAXPR06MB78729218D5104A20B36ED9ECFDDD9@PAXPR06MB7872.eurprd06.prod.outlook.com> <DM6PR11MB3802113810EC16CA37DDE091D3DD9@DM6PR11MB3802.namprd11.prod.outlook.com>
In-Reply-To: <DM6PR11MB3802113810EC16CA37DDE091D3DD9@DM6PR11MB3802.namprd11.prod.outlook.com>
Accept-Language: es-ES, en-US
Content-Language: es-ES
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: cisco.com; dkim=none (message not signed) header.d=none;cisco.com; dmarc=none action=none header.from=telefonica.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: f5c6e928-f4c0-4d03-6824-08d97a024b29
x-ms-traffictypediagnostic: PAXPR06MB7807:
x-microsoft-antispam-prvs: <PAXPR06MB78074882C6D7F2ABC7BF4C6FFDDD9@PAXPR06MB7807.eurprd06.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:8882;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: k8apzFvb1T1pqF2mUhSI063rZV5M1Vg6nd3w2OwjPo0oGzCA33FWHhga9lQ8sTkG32MuCo402NVr6YKOvtFMaDzHr0tn0RWlg0duQgnZN6FFKaf3l5rpovI3cwH6OgquIFTj2ypnjONZHRJqZscLzssjpXB/3R91lO6BBkwmXlh+sfw98JvuKoVs5f90wG4yc14gZWcf8Szs8xl9QHDsHuCh6HNdbChp4JyAmL57Usx5IWOKbKWLpIQX9SIQdKwpF5TjsAJ/zMwn/NKMs8RrNspSIQ8fOgy/7yUYbjME0T1SI+bLf/JxajKI0iCvGrQWcvwxrad19cCOdEJKnVPckYhfLghr+XtkjtT/vaN/4AiU2aNno6eUf1tPL9U5+cXqRjHxc2ZVcNvXV6LXBGTxVP+W1BXgUj1IPYA0BwDuZlMP4lL5aDds2ofrKOTz/utPj1Y59aAHp1/BrDCXTYBjPpjSwYF39k697KMn/sEyDn9ObCyNfEM2AH81Qhcadaa3rVrE1KD8jGo+KyayAzWtbQTdnbDzJaF0tKt2XCH7rYA5Xp9bitG0Oeqa2ZiDfjxef0N0jye0NUK3lteRmtdjH1xVQTZN/jODwZay/ht7Ux132j8w5kLx2G24WYNPPkV4jbsAWbz7+GkmGWRHuOo3DxLbutmsf7NePBoYeypomR7m1zmwHmIkoMeF3dn6ztJU3Mc6s+LEYdfRH7vQG0qJGyLle8vPuXzhLG9KcCu1HTKpsJu7HPiQxqL2jnPiLv6Q
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PAXPR06MB7872.eurprd06.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(38070700005)(316002)(110136005)(38100700002)(122000001)(86362001)(19627235002)(508600001)(66556008)(66446008)(52536014)(71200400001)(9686003)(55016002)(8936002)(8676002)(26005)(5660300002)(6506007)(53546011)(7696005)(186003)(83380400001)(66574015)(76116006)(2906002)(66476007)(64756008)(66946007)(33656002)(9010500006); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: ZrXnHPL88sNJU1aDzKKMBLJjGpV6H/G0fpT3evv/14+U1gYIyn0Q4C5PWu40HdE1ek6aMobEaSfvsY2G6hbuseVUtA5t/kRaPuc/OJaT68SBIAKtZskQsV/Qm1ut74QjHKFIHfiWbpG64YJcedY4w9hZunYsUusn22FS1YPZXLQWftyqIfbS62kvlNttwedje70O6jCcetjY9gO0sgNTzexFBvsVg0W8VZTbgZBZPtamRAhPfdmtlskKcjAgQ6qqBEsOy/1QwN9pw0YqSdoGsQJ2o+GnZUwlO9OmP4efUSgR3EIvVZQJ6jY+vF1n/QSNgtUQIzoGD5fgdf/M4C8nzYKT2kxnqb3J3nzyNrCAdK1G72T2EOOnLVu4bRZg9fbPComhM9udp15KDIplTKqCupzo//UhHscLiwe2UoiClopQBXW5/87SIw9cwG4MxifwTTeRf3oIYEE0b3ZZQLk1ylO2KGN58ig2tjfcUuTmEibhosTz67+xenyd6n2Nf8IpMPuD8O64Xry7+1gm/ieSSlfGFcaHh3qDOEprcfd2mkBhSRxJazYNgx2LM6iP/ejNZnS/vljvGc471JSdiusplnBrtYBrFERyRFwRe4D90tAIH0HJ43Q4Q9HM1WaTS4jo6kJX0m2fyt8b94wvPG2CIGXFqmkDJzu9c5CJv5Dv3E5JMb5IYY+UgwdCSNSyj2RCylW2fdVKcen0uoFDpWSSNUpzMFzQ3seoh3WGNpuZAjCCZ7uh/S9Idbkyi007LpQdEJ/W8OrlNNSMF/gRstkQoIwDPcpuTfR8M/2kS97AyOnqZzsHQbEc9rFp694yBg0recB+R/XykKhDhEbkOK3NJiuIK/A1QkNbzobY2usjRmoKmTTGDPtGMxvfjbduYfZMWDv8z+HhHg+JSqzaqOPFtJAeVEZjP88i8OJEngwxC3G8P/uFpYZqS+M77Vg/whdeyMWexT8Yn+KkTpEhcG5ZwPIRDcbmOYSifuGWsW4CFVPyFiWBKtVqR5uacas8VukUP03vcrWZdDBYTXt2D7hi+xEryaF2YmFCdUMzFxsOxGackjN/qtJ4+f4TwtqBlE8Yvr3TXHTO7izx0Ub9FGjHqH1lR7LU+uLAXEhK994S68NPuCeXfuOhRQPjPYi+O6oypOmTqVh834zGwUlaG7ZDYFLlhRGaK1FST/MZiliqJHWh+dyQCjfdViHrQG+Br9/coCWazXXg3IOLtfPcZvI98pf5gVc5QH80DB48T3x6rTNld/+9NkJ7dyitq8VBuNmUoNhhzGN9KKYL+dyaPbzJLpr0cTrSP90NhlitB2bwhLi2efwQHh80Ezq7wcdOEXyz
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_PAXPR06MB78723F3A669D58E183AFE9EEFDDD9PAXPR06MB7872eurp_"
MIME-Version: 1.0
X-OriginatorOrg: telefonica.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: PAXPR06MB7872.eurprd06.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: f5c6e928-f4c0-4d03-6824-08d97a024b29
X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Sep 2021 17:40:51.7725 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 9744600e-3e04-492e-baa1-25ec245c6f10
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: DjmXkCsN3U4g1RXkNNdkdbrCylUrG3xXUDex9LjJEWSZHXIASqAOPq2YAIo4rFc6yYYaX2/Hf64Mzrf8dP2lGugJmLuVYgoDG7OKJOPPPT2nq1vNjsj9xAgbaOgl8S4b
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR06MB7807
Archived-At: <https://mailarchive.ietf.org/arch/msg/pce/sAeTZyiRAZ97IE8KDa8dnN9nC7s>
Subject: Re: [Pce] Question about Originator Address in draft-ietf-pce-segment-routing-policy-cp
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, 17 Sep 2021 17:41:08 -0000

Thanks Mike,

                Another question/comment.

                The color & endpoint are encoded in the Extended Association ID TLV (defined in RFC 8697. The Extended Association ID TLV is an optional TLV for use in the ASSOCIATION object. The meaning and usage of the Extended Association ID TLV are as per Section 4 of [RFC6780] .

                The content of the Extended Association TLV is defined here. Hence, the content of the TLV as expressed in the draft is only valid when the association type is 6 (segment routing). In other cases, the format would be completely different.

                Typically the content of all PCEP TLVs are well defined without requiring knowledge of the object in which they are carried. Some sort of type is used to determine the content.

                Looking at Section 4 of [RFC6780], the "Extended Association ID: variable, 4-byte aligned
      This field contains data that is additional information to support
      unique identification.  The length and contents of this field is
      scoped by the Association Source.  ".

                There, all association fields are together, so it makes sense. However, as in PCEP RFC 8697 "stripped off" the extended association ID to a TLV... well, we have the problem of having a TLV without any pre-defined format or any way of knowing its content without context...

                Is there any particular reason for this behavior?  Does color & endpoint absolutely need to be part of the Extended Association TLV or could they have their own TLV?

                Best Regards,

                                Oscar

De: Mike Koldychev (mkoldych) <mkoldych@cisco.com>
Enviado el: viernes, 17 de septiembre de 2021 19:01
Para: Oscar González de Dios <oscar.gonzalezdedios@telefonica.com>; pce@ietf.org; draft-ietf-pce-segment-routing-policy-cp@ietf.org
Asunto: RE: Question about Originator Address in draft-ietf-pce-segment-routing-policy-cp

Hi Oscar,

Yes, I believe your understanding is correct.

Thanks,
Mike.

From: Oscar González de Dios <oscar.gonzalezdedios@telefonica.com<mailto:oscar.gonzalezdedios@telefonica.com>>
Sent: Friday, September 17, 2021 8:02 AM
To: 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>
Subject: Question about Originator Address in draft-ietf-pce-segment-routing-policy-cp

Dear PCE WG & draft-ietf-pce-segment-routing-policy-cp authors,

        I have one (easy) question about the SR Policy Candidate Path Identifiers TLV in section 5.2.2.
"Originator Address: Represented as 128 bit value where IPv4 address
   are encoded in lowest 32 bits, part of the originator identifier, as
   specified in [I-D.ietf-spring-segment-routing-policy] Section 2.4."
In [I-D.ietf-spring-segment-routing-policy] Section 2.4. :
"Node Address : represented as a 128-bit value.  IPv4 addresses
      MUST be encoded in the lowest 32 bits, and the high-order bits
      MUST be set to zero."

             I guess an IPv4 Originator address would be encoded as follows: (apologies if the lines do not appear properly)

       0                   1                   2                   3
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |             Type              |             Length            |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      | Proto. Origin |                    Reserved                   |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                         Originator ASN                        |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |   all zeros                                                   |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |   all zeros                                                   |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |   all zeros                                                   |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                    Originator IPv4 Address                    |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                         Discriminator                         |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+


        I ask it because in one interoperability test we are carrying out now, in one implementation the IPv4 address is encoded in the bits right after Originator ASN. Hence... I just want to be sure my understanding is correct to avoid a philosophical discussion :)

        Best Regards,

                Oscar


  ________________________________

Este mensaje y sus adjuntos se dirigen exclusivamente a su destinatario, puede contener información privilegiada o confidencial y es para uso exclusivo de la persona o entidad de destino. Si no es usted. el destinatario indicado, queda notificado de que la lectura, utilización, divulgación y/o copia sin autorización puede estar prohibida en virtud de la legislación vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción.

The information contained in this transmission is privileged and confidential information intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this transmission in error, do not read it. Please immediately reply to the sender that you have received this communication in error and then delete it.

Esta mensagem e seus anexos se dirigem exclusivamente ao seu destinatário, pode conter informação privilegiada ou confidencial e é para uso exclusivo da pessoa ou entidade de destino. Se não é vossa senhoria o destinatário indicado, fica notificado de que a leitura, utilização, divulgação e/ou cópia sem autorização pode estar proibida em virtude da legislação vigente. Se recebeu esta mensagem por erro, rogamos-lhe que nos o comunique imediatamente por esta mesma via e proceda a sua destruição

________________________________

Este mensaje y sus adjuntos se dirigen exclusivamente a su destinatario, puede contener información privilegiada o confidencial y es para uso exclusivo de la persona o entidad de destino. Si no es usted. el destinatario indicado, queda notificado de que la lectura, utilización, divulgación y/o copia sin autorización puede estar prohibida en virtud de la legislación vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción.

The information contained in this transmission is privileged and confidential information intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this transmission in error, do not read it. Please immediately reply to the sender that you have received this communication in error and then delete it.

Esta mensagem e seus anexos se dirigem exclusivamente ao seu destinatário, pode conter informação privilegiada ou confidencial e é para uso exclusivo da pessoa ou entidade de destino. Se não é vossa senhoria o destinatário indicado, fica notificado de que a leitura, utilização, divulgação e/ou cópia sem autorização pode estar proibida em virtude da legislação vigente. Se recebeu esta mensagem por erro, rogamos-lhe que nos o comunique imediatamente por esta mesma via e proceda a sua destruição