Re: [Lsr] draft-ietf-lsr-flex-algo

"Van De Velde, Gunter (Nokia - BE/Antwerp)" <gunter.van_de_velde@nokia.com> Tue, 15 June 2021 14:45 UTC

Return-Path: <gunter.van_de_velde@nokia.com>
X-Original-To: lsr@ietfa.amsl.com
Delivered-To: lsr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3D45A3A32A7; Tue, 15 Jun 2021 07:45:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.586
X-Spam-Level:
X-Spam-Status: No, score=-2.586 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.698, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-0.001, T_SPF_TEMPERROR=0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nokia.onmicrosoft.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 B9cq6mRwiEsg; Tue, 15 Jun 2021 07:45:02 -0700 (PDT)
Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60102.outbound.protection.outlook.com [40.107.6.102]) (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 5D1AA3A32A9; Tue, 15 Jun 2021 07:45:02 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hK1pMqDuqYtKggWx3iR4c5XYc6M0yw/6wOh4yuYCiJK3qh/kcAgcQWMQ+pOvlJ9IAo2Y3W/4YzuKIa9c6mNrHu50GAjxH89MGauhBPmBNQwXgNL/qWBHCNWhdQP2sYMFvPpMnIt+DZQh6g9WsgiVi2udyfaCPgMUBfxaM/atl0qLM6dmvwVL8frE4bSkxNXkMsfeZAUrZjef0JWqrUCh/ufFN8z2r4yzmgNcPvOlAc/OpHIdupbT4hRVz4aZ93jTHCFrdib5uNK2pSdNun/8eWruzqj6bop58WvkIQ+99omGr3u5rVnKemrf9qkXz6o4G7S4MRsM9feYLzNy8Mo79w==
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=mx/sIlWC6nZbSM7VdQG4l171OlDyPKnGhvAiWqC8wF4=; b=BMtBafFjfXxYuxrdf0DBZGCqnsbNpTQkzSLn/04Dgh4pCSeW9GqZyw7I8LFqmrzbwGAi31pNEO57k5fQg+42tSars4xQNsiNS7X4rp/hmfGjE1VMGUHeykpsUlXxMj3+MHoDb5+D/BZtmj53gRVFW4vOhkqP9t69fVWdLLdLSfscBwLa5I4Bh1IQh0iqx2Fx+o81Jmm+YefmVZZ9qoWLJ0hY6b+2reLBdgJuXQv/KV+rRDMsDOCGX0s6LqerqXN7cHa5+ttu/gH7iftu2vpho0LGimDsjIDmxQWr3Mq7ygNRN9O2D3r8mdrGUvW/2eE9rvwI/DpYgXObQg91g9PnBg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nokia.com; dmarc=pass action=none header.from=nokia.com; dkim=pass header.d=nokia.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nokia.onmicrosoft.com; s=selector1-nokia-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mx/sIlWC6nZbSM7VdQG4l171OlDyPKnGhvAiWqC8wF4=; b=fBtI4i5LY+1A+9SGToKLTwGl5ZfDOZ+HgkFIiu1oP1fQ9gY/5fsPEVv0UKMqyt92S2Daexa3A1WfPi93vYdmg+6W3Xe74HXYaFeLzgP3kxM7HH5hljLYPnO1C/4oyMzAqbprsMyetpQkZfSu42m0xih+JKZiEQq9oaM32heaU0g=
Received: from AM0PR07MB6386.eurprd07.prod.outlook.com (2603:10a6:20b:144::23) by AM0PR07MB5523.eurprd07.prod.outlook.com (2603:10a6:208:107::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.13; Tue, 15 Jun 2021 14:44:59 +0000
Received: from AM0PR07MB6386.eurprd07.prod.outlook.com ([fe80::d86c:ece7:1b8a:f0dd]) by AM0PR07MB6386.eurprd07.prod.outlook.com ([fe80::d86c:ece7:1b8a:f0dd%8]) with mapi id 15.20.4242.014; Tue, 15 Jun 2021 14:44:59 +0000
From: "Van De Velde, Gunter (Nokia - BE/Antwerp)" <gunter.van_de_velde@nokia.com>
To: "bruno.decraene@orange.com" <bruno.decraene@orange.com>, "draft-ietf-lsr-flex-algo@ietf.org" <draft-ietf-lsr-flex-algo@ietf.org>, "lsr@ietf.org" <lsr@ietf.org>
Thread-Topic: draft-ietf-lsr-flex-algo
Thread-Index: AddZFromXG5x33XaTbaJDXLAkqa/FAI1uCcg
Date: Tue, 15 Jun 2021 14:44:59 +0000
Message-ID: <AM0PR07MB63861D9C3B6E8E05FA746BACE0309@AM0PR07MB6386.eurprd07.prod.outlook.com>
References: <1957_1622797368_60B9EC38_1957_146_1_53C29892C857584299CBF5D05346208A4CDC156D@OPEXCAUBM43.corporate.adroot.infra.ftgroup>
In-Reply-To: <1957_1622797368_60B9EC38_1957_146_1_53C29892C857584299CBF5D05346208A4CDC156D@OPEXCAUBM43.corporate.adroot.infra.ftgroup>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: orange.com; dkim=none (message not signed) header.d=none;orange.com; dmarc=none action=none header.from=nokia.com;
x-originating-ip: [212.161.91.82]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: b67af3a5-db1c-4877-6ff6-08d9300c2697
x-ms-traffictypediagnostic: AM0PR07MB5523:
x-microsoft-antispam-prvs: <AM0PR07MB55235DD320F35A4699DD6C85E0309@AM0PR07MB5523.eurprd07.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: BjjVtQ+gfb/aCrKf2ifkoJtyMxH0BtswllwX+tg20pIAf2FHfTZqBhrE2auaUdU0ZWhakgHkpG24nq0VH9QaAfuvbcyA6eoRqkl+NkH9BJUaps65hMcvG7fj2awnM0kJ0NFVoIaAc5g1TzLsagAbujf1R3O4/+jrzjqBnnDgBTCZan/ujtBjtxk7pw+r5IaCbaIeD68Bg5diWV4/7JHw0zj8hY0NOHaKPuYluC/IuQibdMnrOMP1crkq8SUC+cNH+aMxx/Ep3jq/7spGs9Qy45UOzsoo6aPESQ3nRXi82teeRSs/Q9lXIRC/HxVoqqZMQuiiIjfnl5x/9HPVxJEScervMpL1RpZdOokc6hhdXmhUH/yM9c9i2nK1xGS9GyItVxqtsy/QbrVPIpr/eELmd1Uj2qvOXqz/4HVly5UJKKbs4/gATReaYlgwX3+Kaf0Y+mfsObkhLYyO7DPt+imKoc+FUH8By8WUZ+sSyCzAbzcDQKKZOD73IRrD0OIMrsnyLytW2LFs3PNGrnkPnlAFBxrZBCLg0RNWpqgB4TNgeRu84RdRRYJ9EnuuE8IF6Utt9rCBx/Of0VQPDyiv8Q6ZNvF0ag47WvSWCR/MoO0b1GcVf/eJm5Q1FYBp9Wt4EWwW00ORRYiidKZ3HIJ6zi4+SnWHNxVL8lWuXFFNWjRQ8xuRmMwPcrZvuvFu5fzCTJCBlpilC9zDxbCoWsy+O6I83EX+AkPyIsDI01KP877TrSLzVqMZ9pFrf7RljdAa/7YH
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR07MB6386.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(396003)(136003)(39860400002)(376002)(346002)(9686003)(66556008)(64756008)(71200400001)(66446008)(66946007)(66476007)(76116006)(110136005)(5660300002)(966005)(8936002)(478600001)(316002)(55016002)(7696005)(38100700002)(186003)(122000001)(26005)(6506007)(8676002)(86362001)(2906002)(53546011)(21615005)(52536014)(55236004)(166002)(83380400001)(33656002); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: Mq3GOrT2oJsUMRrXbO/7g9LS8SZ9pXIruZhsB8aw2MYgwmWclb3V4kj2KFKZYczitqq2sc1T7eUdn2NE++zFLLpekLkJU5h/L5XC0v0Dnk/qqaeUI8UY+t7wuX7JhmTgz9aUofUlRC/B/hfPbeR9vbksE10CuJhfZqCfG/iyTsfED4/Dw9ZvQT0A+wyu+bRu4wEOqWQDJW2Ndi6Q/+zw5uIZEo75PoJIrqkBD7eH+ePFpE9p8Mh1jmct7FYxA9YjY7owiw9iWFdwN5LkAHWhqITDGbMstRJtuwZNdJ/2uwZXaParakz+P/sybJoCtYkhsbOaPBSeMwwfqCUB4MSflxBsLOvx3dtx7z00QFcS5F3RqAr8ANSoNO6C29EqRZpZfieo+jrjFq6MEf46E4bJlDDCP9395eizTi11WxHoaWTG03/YfMJQng5hJ1QkP1h/rVlDhDWXW4yMFw1o/ukYS7YFN7UttoeCZVs+h5aq4p4rbYD3dDQbhR/8BujqMnai22icGdmVrJs/6XQ6Dn8xxtaB2PkcoO0AlyXDdop+8v7ectRWbq2ih+oeF7giLOl0LyCOWwoSolaqE3ARmrjk3nWm0zz0Fc0vkirjPoX/i4w5kuiCB5QdiKvVtvYozShgfu7hl5u0IOtk8sDjcIb4r3sUbckNK5wdJutqav1QNUZIdjYEfWIGk7nlVXnuw96K7rwTtdYsw26QfyD3i+opZn9DhnFvDtkPqBHvAwiHXgrZPubA/lrkCl6onpr4m11ibUebENuiPr4UZ8wGE2wpagU7mwKs11Nhu28Vdm5hq3L+mDZKEQ/lFZQTkyx4nEbzrlrRzepiGait+Fu1Ot2UzxD0rm17h62Ay/B+PSrDsnjKcQOQQMvfUWz5ydkByT5Tc7IoD4ptw8QsePXtMeUIYN1p0Hx3XH/dQ8hM08Rs8WXtIdnQ5LBdeNPYmiQoi8VASjHMxFSdY5WZpUIfhMt9/Qq/z71ZN6Stx2j+Li6ZkdLhVv1syF4k8Ba8Rhn4xmjHVHI3f6/MQ3rzH9IHgxBD4okIO74O3huCccpNu4+gcgFo/n5qBzLHTLpNX0/0MkIvJ4mlu4Xp4ctM4lc52f1ahOjLS2oH/BSMZGaEv121i23peWMnR/FRjKZGqxSQwdvXx6a2hTYzlQgYmrhUTvUSEru50QL9AG5NITEEJY5Aukz6K2xwE5sRt4O8ABTUvIz25IBrAofLbG/GcttVGIsjswNJD5TiiG/zThhvmnT8N3Knu6enG4iIK/Y5rs0JNwT4u9/zcrZHKkwNrb+qOjU3GGty8LIqaqjC4nWeIeRp5mi6KmoBDGtd+B9M12i5f4Mt
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_AM0PR07MB63861D9C3B6E8E05FA746BACE0309AM0PR07MB6386eurp_"
MIME-Version: 1.0
X-OriginatorOrg: nokia.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM0PR07MB6386.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: b67af3a5-db1c-4877-6ff6-08d9300c2697
X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Jun 2021 14:44:59.3590 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5d471751-9675-428d-917b-70f44f9630b0
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: yxQ7yMJ8V/2J4/92e9N21R1xMAemlyNHRIY96N+GzMB2utvw20h3Gh1MwpIg1XgjlcN3gATbYMcc6yvWz0XTwl+hM3Zbf7qSAshqlfT+VQU=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR07MB5523
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsr/iljSLp9hH3h03f8C6hsHDkHs09w>
Subject: Re: [Lsr] draft-ietf-lsr-flex-algo
X-BeenThere: lsr@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Link State Routing Working Group <lsr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lsr>, <mailto:lsr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lsr/>
List-Post: <mailto:lsr@ietf.org>
List-Help: <mailto:lsr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lsr>, <mailto:lsr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Jun 2021 14:45:09 -0000

Thanks for this interesting discussion. May I show a simple example to clarify a confusion, and I hope this helps to clarify implementation behavior:

Example: 2 ASLA TLV's are received for 1 link:

  *   ASLA TLV for all applications (SABML AND UDBML = 0) containing TE-Metric 5 and Admin Group 7
  *   ASLA TLV with Flex-Algo bit set containing TE-Metric 10

What would the implementation have to follow?
Option 1: TE-Metric 10 used for Flex-algo, while Admin-Group 7 is not used. I.e. the overruling is done on ASLA TLV basis.
Option 2: TE-Metric 10, Admin-Group 7 have to be used for Flex-Algo. I.e. the overruling is done on a per attribute basis.

if you read the related ISIS and OSPF RFC's, they seem to contradict (as pointer out by Bruno Decraene):

  *   ISIS seems to expect Option 1
  *   OSPF seems to expect Option 2

Now, if we look all the way back to a year ago (12 June 2020):
https://mailarchive.ietf.org/arch/msg/lsr/TsjdMZmegf1SDO5B-X7y04mkgCM/
Then that conclusion of the DISCUSS seems to indicate Option 2.

****snip****
    An application specific advertisement (Application Identifier Bit
    Mask with a matching Application Identifier Bit set) for an attribute
    MUST always be preferred over the advertisement of the same attribute
    with the zero length Application Identifier Bit Masks for both
    standard applications and user defined applications on the same link.
****End Snip****

This reads as option 2 seems to be the implementation of choice and overruling is done on a per attribute basis.

A fine question is what Les specifically means with "matching ASLA advertisements" ?
That can easily be read as the expected result is Option 1.

Long story short, what is the expected implementation behavior?
The DISCUSS indicate behavior as Option 2 (the overruling is done on a per attribute basis.)

G/

From: Lsr <lsr-bounces@ietf.org> On Behalf Of bruno.decraene@orange.com
Sent: Friday, June 4, 2021 11:03 AM
To: draft-ietf-lsr-flex-algo@ietf.org; lsr@ietf.org
Subject: [Lsr] draft-ietf-lsr-flex-algo

Hi all,

I think that I may have an issue with the way FlexAlgo [2] uses ASLA [1]

FlexAlgo is distributed routing computation so it's required that all routers use exactly the same data to compute the routes/SPF.

FlexAlgo is clear that ASLA MUST be used:

"Link attribute advertisements that are to be used during Flex-

   Algorithm calculation MUST use the Application-Specific Link

   Attribute (ASLA) advertisements defined in [RFC8919<https://datatracker.ietf.org/doc/html/rfc8919>] or [RFC8920<https://datatracker.ietf.org/doc/html/rfc8920>],"

However ASLA provides multiple ways to advertise IGP attributes and does not seem precise enough in its specification.
"If link attributes are advertised associated with zero-length Application Identifier Bit Masks for both standard applications and user-defined applications, then any standard application and/or any user-defined application is permitted to use that set of link attributes"

My issue is the use of the term "permitted" which

  1.  is not a normative keyword
  2.  IMHO translates to MAY hence also MAY NOT. While we need a MUST to ensure a consistent SPF.



One example of issue is when FlexAlgo uses a metric different from the IGP (e.g. TE-metric) , and one node advertises this TE-metric in an ASLA with zero-length Bit Mask.
- If one node uses this TE-metric (since it is permitted to) it includes that link in its SPF
- If another node does not use this TE-metric (since it is not required to) it prunes that link from its SPF
I think it's self-evident that we would end up with a permanent routing loop.

Ideally, I would probably have preferred ALSA to be specific about the behaviour but ASLA is already published as RFC so it's a bit late
So at this point, I think that the burden is on FlexAlgo to specify the precise behaviour as a MUST in section 12. [2]

The smallest change from FlexAlgo draft standpoint may be to _require_ the use of the ASLA _with the X-Flag set_ . But I'm fine with whatever interoperable behaviour (well for me, ideally I'd prefer the behaviour already implemented by the implementations that I've deployed ;-) but that would be a selfish requirement).

Note that there are existing implementations and this would impact them. That been said, we do need the interop behaviour so if there are already inconsistent behaviours, some implementations will need to be changed (and hence become non interoperable with themselves)

Thanks,
Regards,
--Bruno


[1] https://www.rfc-editor.org/rfc/rfc8919.html
[2] https://datatracker.ietf.org/doc/html/draft-ietf-lsr-flex-algo-16#section-12


_________________________________________________________________________________________________________________________



Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc

pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler

a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,

Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.



This message and its attachments may contain confidential or privileged information that may be protected by law;

they should not be distributed, used or copied without authorisation.

If you have received this email in error, please notify the sender and delete this message and its attachments.

As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.

Thank you.