Re: [Lsr] Enhancement related to Area Leader Sub-TLV

Huaimo Chen <hchen@futurewei.com> Tue, 28 May 2019 02:50 UTC

Return-Path: <hchen@futurewei.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 0CE071200CD for <lsr@ietfa.amsl.com>; Mon, 27 May 2019 19:50:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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=futurewei.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 Juk8SbtzqxvX for <lsr@ietfa.amsl.com>; Mon, 27 May 2019 19:50:14 -0700 (PDT)
Received: from NAM04-SN1-obe.outbound.protection.outlook.com (mail-eopbgr700090.outbound.protection.outlook.com [40.107.70.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 53FDE12006B for <lsr@ietf.org>; Mon, 27 May 2019 19:50:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Futurewei.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=SivBPpzYspP7oiFGcynpq6NNymuk3aAHt6+pQFqjEJM=; b=lEF6UOfszVtlu/rNAdzTJsDTM0uJLwWD3h9LwQxA67jfNzRV4CK2ASTJ/zTIn/OY3kw+Yq8KOaWifp8ynOBxntfXWrEcuxpmTsyRB4r+RCJe7z3OEokvftkDmykrhFfxpRNAGVnngkTj4/0R3C5cm8PnKTXBKV164gZb+kvRkAc=
Received: from MN2PR13MB3470.namprd13.prod.outlook.com (10.255.237.83) by MN2PR13MB3149.namprd13.prod.outlook.com (20.179.150.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1943.13; Tue, 28 May 2019 02:50:12 +0000
Received: from MN2PR13MB3470.namprd13.prod.outlook.com ([fe80::b125:6fc1:69df:68b1]) by MN2PR13MB3470.namprd13.prod.outlook.com ([fe80::b125:6fc1:69df:68b1%7]) with mapi id 15.20.1943.015; Tue, 28 May 2019 02:50:12 +0000
From: Huaimo Chen <hchen@futurewei.com>
To: "tony.li@tony.li" <tony.li@tony.li>
CC: "lsr@ietf.org" <lsr@ietf.org>
Thread-Topic: Enhancement related to Area Leader Sub-TLV
Thread-Index: AQHVEnBx76G1LJb8GEmtrIB+eKBaE6Z6wX6AgAUXy1o=
Date: Tue, 28 May 2019 02:50:12 +0000
Message-ID: <MN2PR13MB3470011BC47D57EDF1DFB19AA31E0@MN2PR13MB3470.namprd13.prod.outlook.com>
References: <MN2PR13MB3470FB2091E28D9EB98A230AA3020@MN2PR13MB3470.namprd13.prod.outlook.com>, <55DE9C76-90FB-4EF1-B64B-DDED154F15C9@tony.li>
In-Reply-To: <55DE9C76-90FB-4EF1-B64B-DDED154F15C9@tony.li>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=hchen@futurewei.com;
x-originating-ip: [12.111.81.80]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 1f8634ff-f392-4441-c05d-08d6e317346c
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:MN2PR13MB3149;
x-ms-traffictypediagnostic: MN2PR13MB3149:
x-microsoft-antispam-prvs: <MN2PR13MB314958CE96AE660170C877E2A31E0@MN2PR13MB3149.namprd13.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-forefront-prvs: 00514A2FE6
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(346002)(39840400004)(396003)(366004)(136003)(376002)(189003)(199004)(33656002)(6606003)(5024004)(26005)(561944003)(486006)(6436002)(11346002)(186003)(7696005)(19627405001)(6116002)(3846002)(5640700003)(76176011)(5660300002)(478600001)(8676002)(4326008)(6916009)(316002)(2351001)(99286004)(229853002)(446003)(14454004)(476003)(53936002)(66946007)(71190400001)(6506007)(71200400001)(66556008)(86362001)(102836004)(66476007)(9686003)(73956011)(2501003)(54896002)(6246003)(68736007)(236005)(256004)(81156014)(91956017)(55016002)(74316002)(66066001)(76116006)(52536014)(25786009)(7736002)(2906002)(8936002)(64756008)(66446008)(81166006)(53546011)(53946003)(579004); DIR:OUT; SFP:1102; SCL:1; SRVR:MN2PR13MB3149; H:MN2PR13MB3470.namprd13.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: futurewei.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: 00qo4daaDDPoEvEJ/nfKSDMfu0Cx1uaJXp9zdjfCAAZOlVJb3gyRZci6+KeJp+BTCCdwytpkUMrGwhciVUGUbXGQlDgOnx6pamuguRj89Y4ko2V6P5lOzvs1Qs90heLopuuyB5S9u90yJF22DqibL34eTmVcco0Vbc7krt4bgIZXBD98w7oCRN3KsXnvy6s9gEkXxuqVVYSZdjANg3a3mlvLtJUlgnyvdhHbZqY4WKqRAH3LZ2ATbQ9CE6VPILoBYVUFKsyerEYO/BYHnKjA7h0QvuhhLJ5uC2To5uT924cAEA1ia4TQSFvHO/ZG7VwVk0fE7CCULvnFNlHv491S1m80vAtfSeKSgXEdDctCDksq3T6DLR5sq4d9IHKaH5nKv5B5CMOLmACk+sIbWhMMyrzc4Lhu+srA70mBWNl9U3c=
Content-Type: multipart/alternative; boundary="_000_MN2PR13MB3470011BC47D57EDF1DFB19AA31E0MN2PR13MB3470namp_"
MIME-Version: 1.0
X-OriginatorOrg: Futurewei.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 1f8634ff-f392-4441-c05d-08d6e317346c
X-MS-Exchange-CrossTenant-originalarrivaltime: 28 May 2019 02:50:12.1609 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 0fee8ff2-a3b2-4018-9c75-3a1d5591fedc
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: hchen@futurewei.com
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR13MB3149
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsr/brqAVU1dyIRs_04q7-N2wHnL0B8>
Subject: Re: [Lsr] Enhancement related to Area Leader Sub-TLV
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, 28 May 2019 02:50:18 -0000

Hi Tony,


    Thank you for your explanations.

    After moving one byte for the priority from Area Leader Sub-TLV to Dynamic Flooding Sub-TLV, only one Area Leader Sub-TLV is advertised. For an area with N nodes supporting both centralized and distributed mode, my understanding is below.

    Before moving, each of N nodes may advertise an Area Leader Sub-TLV and a Dynamic Flooding Sub-TLV. After moving, only the leader node advertises a (Updated) Area Leader Sub-TLV. Thus (N - 1) Area Leader Sub-TLVs are saved, which use space of (N-1)*S1 bytes, where S1 is the size of Area Leader Sub-TLV. Each of N nodes may advertise a (Updated) Dynamic Flooding Sub-TLV, which has one extra byte for the priority. Thus N bytes are used.

    The saving on space after moving should be (N-1)*S1 - N. S1 is 4 in IS-IS; S1 is 8 in OSPF.
For N = 1000 and IS-IS, the saving is (1000-1)*4 - 1000 = 2996 (bytes)
For N = 1000 and OSPF, the saving is (1000-1)*8 - 1000 = 6992 (bytes)

Best Regards,
Huaimo
________________________________
From: Tony Li <tony1athome@gmail.com> on behalf of tony.li@tony.li <tony.li@tony.li>
Sent: Friday, May 24, 2019 4:56 PM
To: Huaimo Chen
Cc: lsr@ietf.org
Subject: Re: Enhancement related to Area Leader Sub-TLV


Hi Huaimo,

Thank you for your proposal.

The area leader sub-tlv is only advertised by systems that are willing to be area leader.  Presumably, that’s not necessarily all of the ones who support dynamic flooding.  Thus, what you’re proposing moves one byte from one TLV into another TLV that will be more commonly used. So your proposal actually consumes more LSP space.

The intention here is that the candidates for area leader advertise the Area Leader Sub-TLV.  All nodes that support dynamic flooding would advertise the Dynamic Flooding Sub-TLV.
Since the priority is part of the Area Leader election, it makes sense for it to be part of the Area Leader Sub-TLV.

Regards,
Tony

p.s. IS-IS does not depend on word-alignment, so we typically do not leave reserved bytes in our TLV formats. OSPF is a different kettle of fish… :-)


On May 24, 2019, at 1:44 PM, Huaimo Chen <hchen@futurewei.com<mailto:hchen@futurewei.com>> wrote:

Hi Tony,

     An enhancement related to Area Leader Sub-TLV is briefed below for discussions.  A .pdf file is attached in the case that the formats below are messed up.


The leader of an area advertises an Area Leader Sub-TLV to indicate/instruct whether centralized or distributed mode is to be used by all the nodes in the area (Algorithm = 0: centralized mode; Algorithm = N (N>0): distributed mode and N is the algorithm to be used by every node to compute flooding topology).



Currently for IS-IS, IS-IS Area Leader Sub-TLV below is used by each of the nodes to advertise its priority for becoming the leader
    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    | Priority      |   Algorithm   |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
                     (Current) IS-IS Area Leader Sub-TLV



It seems hard to understand that every node uses an Area Leader Sub-TLV to advertise its priority for becoming the leader, and at the same time to indicate/instruct whether centralized or distributed mode is to be used by all the nodes in the area.



When every node advertises an Area Leader Sub-TLV, only one for indication/instruction for flooding reduction mode is used, and all the others are not used, which consume space and processing time.



An enhancement is to let every node advertise its priority for becoming the leader and the algorithms that it supports though using a Dynamic Flooding Sub-TLV, and only the leader advertise the indication for the flooding reduction mode. To achieve this, some changes to the two Sub-TLVs and the texts related to the Sub-TLVs should be made.



For IS-IS, IS-IS Area Leader Sub-TLV is updated as follows (Priority is removed)
    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    | Reserved      |   Algorithm   |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
                                                   (Updated) IS-IS Area Leader Sub-TLV



The Priority is added into IS-IS Dynamic Flooding Sub-TLV. The current IS-IS Dynamic Flooding Sub-TLV
    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    | Algorithm...  |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
                   (Current) IS-IS Dynamic Flooding Sub-TLV



is changed to:
    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    | Priority       |Algorithm...  |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
                   (Updated) IS-IS Dynamic Flooding Sub-TLV



Similarly for OSPF, the current OSPF Area Leader Sub-TLV below
       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            |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |    Priority   |   Algorithm   |            Reserved           |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
                                                   (Current) OSPF Area Leader Sub-TLV
is changed to
       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            |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |    Reserved   |   Algorithm   |            Reserved           |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
                                                   (Updated) OSPF Area Leader Sub-TLV



The current OSPF Dynamic Flooding Sub-TLV below
       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            |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      | Algorithm ... |                                               |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
                      (Current) OSPF Dynamic Flooding Sub-TLV
is changed to
       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            |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |    Priority   | Algorithm ... |                               |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
                      (Updated) OSPF Dynamic Flooding Sub-TLV


Best Regards,
Huaimo

<EnhanceOnAdvertisePriority4Leader.pdf>