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

"Les Ginsberg (ginsberg)" <ginsberg@cisco.com> Tue, 28 May 2019 15:19 UTC

Return-Path: <ginsberg@cisco.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 DD80D120115 for <lsr@ietfa.amsl.com>; Tue, 28 May 2019 08:19:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.499
X-Spam-Level:
X-Spam-Status: No, score=-14.499 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_HI=-5, 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=NMfIpqsh; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=sCT76yAv
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 k7S0wkIvtFDx for <lsr@ietfa.amsl.com>; Tue, 28 May 2019 08:19:14 -0700 (PDT)
Received: from rcdn-iport-4.cisco.com (rcdn-iport-4.cisco.com [173.37.86.75]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9A2D512006E for <lsr@ietf.org>; Tue, 28 May 2019 08:19:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=65159; q=dns/txt; s=iport; t=1559056754; x=1560266354; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=Yy0cYBjxiKAtFtx1hI5F5vr8NHpNeLZexmaBPPnu7ps=; b=NMfIpqshBP83o4ZKz9a4qwbGcW7e+CpWMlTDfcrrST//S6yW+CuRV3s3 N2kBtnIlVXvKaCJiq6AuX/wfR11imPha4svkcBdPx3tsxZZbbn5V9QFv3 3B0hK36DMPjrdLhdWUqALLemNIUzvywNb4OTcJWyyZnmBJt9IIXxH+FuM E=;
IronPort-PHdr: 9a23:Y95vXRcWrnouy24w0Qq+lSgclGMj4e+mNxMJ6pchl7NFe7ii+JKnJkHE+PFxlwGQD57D5adCjOzb++D7VGoM7IzJkUhKcYcEFnpnwd4TgxRmBceEDUPhK/u/YC08B85PTlBN9HCgOk8TE8H7NBXf
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AGAACaUO1c/5pdJa1lGQEBAQEBAQEBAQEBAQcBAQEBAQGBUQQBAQEBAQsBgQ4vJAUnA2lVIAQLKIdaA4RSiiuCV4lBjWqBLhSBEANUCQEBAQwBASUIAgEBhEACgmMjNAkOAQMBAQQBAQIBBG0cDIVKAQEBAQMSGxMBATcBDwIBCA4DBAEBIQEGByERFAkIAgQBDQUIGoMBgR1NAx0BAgyePwKBOIhfgiCCeQEBBYR9DQuCDwMGgTQBi1IXgUA/gRBHgh4uPoIaRwEBAgGBRhoMGAcJgwaCJpJviCWNBj0JAoINhjSIfYN/gh+GZo1Ei1KBHIcCgVqNHAIEAgQFAg4BAQWBTziBV3AVgyeCDwkagQIBB4JDg0aBToU/cgEBgSeNZwEB
X-IronPort-AV: E=Sophos;i="5.60,523,1549929600"; d="scan'208,217";a="565747279"
Received: from rcdn-core-3.cisco.com ([173.37.93.154]) by rcdn-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 28 May 2019 15:19:13 +0000
Received: from XCH-ALN-006.cisco.com (xch-aln-006.cisco.com [173.36.7.16]) by rcdn-core-3.cisco.com (8.15.2/8.15.2) with ESMTPS id x4SFJDHg015915 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Tue, 28 May 2019 15:19:13 GMT
Received: from xhs-aln-003.cisco.com (173.37.135.120) by XCH-ALN-006.cisco.com (173.36.7.16) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 28 May 2019 10:19:12 -0500
Received: from xhs-rtp-002.cisco.com (64.101.210.229) by xhs-aln-003.cisco.com (173.37.135.120) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 28 May 2019 10:19:11 -0500
Received: from NAM04-CO1-obe.outbound.protection.outlook.com (64.101.32.56) by xhs-rtp-002.cisco.com (64.101.210.229) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Tue, 28 May 2019 11:19:11 -0400
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=czDqgZZ/zHs+5KuOxwlRqB7rwePy2wCQ0b7iqdZXEE8=; b=sCT76yAvlj7OHmuik0h3P5FlXE6R7ZLka257NpZbvt7YbkM8m5FaCuGFyoDvgv7GZFZ7+vlPzi8cSg1MJvJfjeXt4xq3GaJn+0RrKdtAkLZKZlcQ0S1+1FYwTnCSwTh0BEcEeZQVVdRnZOFaMRW5l+TpCq+hBilIchyaOABHNLM=
Received: from BYAPR11MB3638.namprd11.prod.outlook.com (20.178.237.19) by BYAPR11MB3510.namprd11.prod.outlook.com (20.177.226.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1922.20; Tue, 28 May 2019 15:19:09 +0000
Received: from BYAPR11MB3638.namprd11.prod.outlook.com ([fe80::ace2:8693:202d:5a30]) by BYAPR11MB3638.namprd11.prod.outlook.com ([fe80::ace2:8693:202d:5a30%7]) with mapi id 15.20.1922.021; Tue, 28 May 2019 15:19:09 +0000
From: "Les Ginsberg (ginsberg)" <ginsberg@cisco.com>
To: Huaimo Chen <hchen@futurewei.com>, "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: AQHVFQAqz44IUEmY/UeNez0pw2DYKaaApORw
Date: Tue, 28 May 2019 15:19:09 +0000
Message-ID: <BYAPR11MB36381BDE7F6F49C03AA595F2C11E0@BYAPR11MB3638.namprd11.prod.outlook.com>
References: <MN2PR13MB3470FB2091E28D9EB98A230AA3020@MN2PR13MB3470.namprd13.prod.outlook.com>, <55DE9C76-90FB-4EF1-B64B-DDED154F15C9@tony.li> <MN2PR13MB3470011BC47D57EDF1DFB19AA31E0@MN2PR13MB3470.namprd13.prod.outlook.com>
In-Reply-To: <MN2PR13MB3470011BC47D57EDF1DFB19AA31E0@MN2PR13MB3470.namprd13.prod.outlook.com>
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=ginsberg@cisco.com;
x-originating-ip: [2001:420:30d:1320:e4f7:6d4c:8387:d33f]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 20e8700e-652e-433d-f934-08d6e37fd52e
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:BYAPR11MB3510;
x-ms-traffictypediagnostic: BYAPR11MB3510:
x-ms-exchange-purlcount: 3
x-microsoft-antispam-prvs: <BYAPR11MB35100D6F8A09CADECECF9071C11E0@BYAPR11MB3510.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-forefront-prvs: 00514A2FE6
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(376002)(39860400002)(366004)(396003)(136003)(189003)(199004)(790700001)(6116002)(2906002)(2501003)(476003)(11346002)(236005)(446003)(486006)(66556008)(66946007)(66476007)(76116006)(14454004)(54896002)(478600001)(64756008)(6436002)(6306002)(229853002)(606006)(73956011)(66446008)(966005)(55016002)(86362001)(9686003)(68736007)(71200400001)(71190400001)(8936002)(6246003)(33656002)(53936002)(7736002)(561944003)(256004)(52536014)(81156014)(5024004)(5660300002)(8676002)(53546011)(316002)(6506007)(76176011)(46003)(53946003)(7696005)(102836004)(99286004)(4326008)(25786009)(74316002)(81166006)(186003)(110136005)(579004); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR11MB3510; H:BYAPR11MB3638.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: cisco.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: 2EsbDARcBDHPyjaWqp644JQUbtLBcibR51MByENiO8BGLr/47OZZPqr7vKfwg2BSRz0YKJHslKWUWfr91SYo5wwiivP8oS2nVsQNiytqhbGaWGsqPPRuRK0og5Mbj8Pd8S3bryM76AXKzxv8TugmwXCe6USij1nPk94INyWiU1981hIG5PVbcvc7JwgbA5yKq6pE4W/CRtBE13RKrFlkM5AR0H09xhIAjMoRh9U0JMAfhD7kcSiR14zyePRBDMw3WNXHpzxIRwFYfZ1N+IdWFMjnv5g8G8wIAuY1ErK0tj4qd/PEweksggg83j9i/PD60tfRSfV0+cUIqOmC2tse/OVWmBWByPwClwnQiFplCThRn+wW6E9e69MoYXCR6nJ+ZoOPYG5uzJM6iJguH3npZeoa1AMMEOkuv0TO8qH2Jdk=
Content-Type: multipart/alternative; boundary="_000_BYAPR11MB36381BDE7F6F49C03AA595F2C11E0BYAPR11MB3638namp_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 20e8700e-652e-433d-f934-08d6e37fd52e
X-MS-Exchange-CrossTenant-originalarrivaltime: 28 May 2019 15:19:09.5031 (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: ginsberg@cisco.com
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB3510
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.16, xch-aln-006.cisco.com
X-Outbound-Node: rcdn-core-3.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsr/0jSnyrWIiUY4ycCwsLXMR5UC85I>
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 15:19:17 -0000

Huaimo -

It is highly undesirable that there only be one Area Leader sub-TLV advertisement. The latest version of the draft (V2) highlights this. Please see https://tools.ietf.org/html/draft-ietf-lsr-dynamic-flooding-02#section-6.8.10

You have also not responded to Tony's point that we do not expect ALL nodes to advertise Area Leader Sub-TLV - which means the savings you calculate below isn't real.

   Les


From: Lsr <lsr-bounces@ietf.org> On Behalf Of Huaimo Chen
Sent: Monday, May 27, 2019 7:50 PM
To: tony.li@tony.li
Cc: lsr@ietf.org
Subject: Re: [Lsr] Enhancement related to Area Leader Sub-TLV


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<mailto:tony1athome@gmail.com>> on behalf of tony.li@tony.li<mailto:tony.li@tony.li> <tony.li@tony.li<mailto:tony.li@tony.li>>
Sent: Friday, May 24, 2019 4:56 PM
To: Huaimo Chen
Cc: lsr@ietf.org<mailto: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>