Re: [OSPF] Suresh Krishnan's Discuss on draft-ietf-ospf-encapsulation-cap-06: (with DISCUSS and COMMENT)

"Acee Lindem (acee)" <acee@cisco.com> Thu, 31 August 2017 09:50 UTC

Return-Path: <acee@cisco.com>
X-Original-To: ospf@ietfa.amsl.com
Delivered-To: ospf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4966413239C; Thu, 31 Aug 2017 02:50:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.519
X-Spam-Level:
X-Spam-Status: No, score=-14.519 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, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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
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 Uwwd_-aEVJkJ; Thu, 31 Aug 2017 02:50:26 -0700 (PDT)
Received: from rcdn-iport-9.cisco.com (rcdn-iport-9.cisco.com [173.37.86.80]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 979AE1329AB; Thu, 31 Aug 2017 02:50:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=18591; q=dns/txt; s=iport; t=1504173025; x=1505382625; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=22jVWagny6uv2LAzt7n5dcMrig3LO/ZEmuRU+e67afo=; b=KQInhaCWbsb4grtXNWI6L7bZMyxBv1zsnzlO3+JAYn6b6129J7Craw0r Eam25gwjWd6vhJ/Up2xp/WX5TGuup19nn5o6ewSiuUFiTvK1P4qXDim29 HLYmUIwuzFB+A3qcZpxkCIQ0A/Bv1bcoot3cmEVcFZvCr4IajPGHty7Gd I=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0BKAQCx2qdZ/5RdJa1eGQEBAQEBAQEBAQEBBwEBAQEBgm8+LWSBFQeDcIogkB6KKogwhT4OggQshRsCGoQZPxgBAgEBAQEBAQFrKIUZBiNWEAIBCD8DAgICHxEUEQIEAQ0FiU1MAxUQsC+CJ4c4DYN/AQEBAQEBAQEBAQEBAQEBAQEBAQEBGAWDKoICgzGDKIJXgWsBEgE2gnyCYQWKAwWWKzwCh1mIAIR2ghOFZ4p0jE6JdgEfOIECC3cVhhaBTnYBiAqBI4EPAQEB
X-IronPort-AV: E=Sophos;i="5.41,451,1498521600"; d="scan'208,217";a="287477285"
Received: from rcdn-core-12.cisco.com ([173.37.93.148]) by rcdn-iport-9.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 31 Aug 2017 09:50:24 +0000
Received: from XCH-RTP-011.cisco.com (xch-rtp-011.cisco.com [64.101.220.151]) by rcdn-core-12.cisco.com (8.14.5/8.14.5) with ESMTP id v7V9oOH9012731 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Thu, 31 Aug 2017 09:50:24 GMT
Received: from xch-rtp-015.cisco.com (64.101.220.155) by XCH-RTP-011.cisco.com (64.101.220.151) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Thu, 31 Aug 2017 05:50:23 -0400
Received: from xch-rtp-015.cisco.com ([64.101.220.155]) by XCH-RTP-015.cisco.com ([64.101.220.155]) with mapi id 15.00.1263.000; Thu, 31 Aug 2017 05:50:23 -0400
From: "Acee Lindem (acee)" <acee@cisco.com>
To: Suresh Krishnan <suresh.krishnan@gmail.com>, The IESG <iesg@ietf.org>
CC: "draft-ietf-ospf-encapsulation-cap@ietf.org" <draft-ietf-ospf-encapsulation-cap@ietf.org>, "ospf-chairs@ietf.org" <ospf-chairs@ietf.org>, "ospf@ietf.org" <ospf@ietf.org>
Thread-Topic: Suresh Krishnan's Discuss on draft-ietf-ospf-encapsulation-cap-06: (with DISCUSS and COMMENT)
Thread-Index: AQHTIgPX4WyLR+mAKk63l1SCZ83jsKKeOQIA
Date: Thu, 31 Aug 2017 09:50:23 +0000
Message-ID: <D5CD5190.C53B6%acee@cisco.com>
References: <150414779958.16833.5322499494351720362.idtracker@ietfa.amsl.com>
In-Reply-To: <150414779958.16833.5322499494351720362.idtracker@ietfa.amsl.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.116.152.196]
Content-Type: multipart/alternative; boundary="_000_D5CD5190C53B6aceeciscocom_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/ospf/kvudn9t44uFRVxFPJs-ubMgEoJ8>
Subject: Re: [OSPF] Suresh Krishnan's Discuss on draft-ietf-ospf-encapsulation-cap-06: (with DISCUSS and COMMENT)
X-BeenThere: ospf@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: The Official IETF OSPG WG Mailing List <ospf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ospf>, <mailto:ospf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ospf/>
List-Post: <mailto:ospf@ietf.org>
List-Help: <mailto:ospf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ospf>, <mailto:ospf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 31 Aug 2017 09:50:29 -0000

Hi Suresh,

On 8/30/17, 10:49 PM, "Suresh Krishnan" <suresh.krishnan@gmail.com<mailto:suresh.krishnan@gmail.com>> wrote:

Suresh Krishnan has entered the following ballot position for
draft-ietf-ospf-encapsulation-cap-06: Discuss

When responding, please keep the subject line intact and reply to all
email addresses included in the To and CC lines. (Feel free to cut this
introductory paragraph, however.)


Please refer to https://www.ietf.org/iesg/statement/discuss-criteria.html
for more information about IESG DISCUSS and COMMENT positions.


The document, along with other ballot positions, can be found here:
https://datatracker.ietf.org/doc/draft-ietf-ospf-encapsulation-cap/



----------------------------------------------------------------------
DISCUSS:
----------------------------------------------------------------------

* There seems to be an difference between this document's definition of
sub-TLVs (with 2 octet types and lengths) and those of RFC5512 (with 1 octet
types and lengths). So I am surprised to see the document point to the RFC5512
based TLVs for both syntax and semantics (Sections 5.1, 5.2, 5.3 ...) . Can you
please explain how these sub-TLVs are encoded on the wire to be compatible with
this draft?

I can answer this one since I specifically told the authors to use this format. If you look at RFC 7770, you’ll see that all OSPF Router Information (RI) LSA TLVs and Sub-TLVs have 2 octet types and lengths.

2.3. OSPF Router Information LSA TLV Format

The format of the TLVs within the body of an RI LSA is the same as
the format used by the Traffic Engineering Extensions to OSPF [TE].
The LSA payload consists of one or more nested Type/Length/Value
(TLV) triplets. The format of each TLV is:

 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 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Value... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Figure 3. TLV Format


Additionally, if you look at https://www.ietf.org/id/draft-ietf-idr-tunnel-encaps-07.txt (which obsoletes RFC 5512), you’ll see that the 1 octet length with insufficient.


   Each sub-TLV consists of three fields: a 1-octet type, a 1-octet or
   2-octet length field (depending on the type), and zero or more octets
   of value.  A sub-TLV is structured as shown in Figure 2:

                   +-----------------------------------+
                   |      Sub-TLV Type (1 Octet)       |
                   +-----------------------------------+
                   |     Sub-TLV Length (1 or 2 Octets)|
                   +-----------------------------------+
                   |     Sub-TLV Value (Variable)      |
                   |                                   |
                   +-----------------------------------+

               Figure 2: Tunnel Encapsulation Sub-TLV Format

   o  Sub-TLV Type (1 octet): each sub-TLV type defines a certain
      property about the tunnel TLV that contains this sub-TLV.





Rosen, et al.           Expires January 18, 2018                [Page 7]

Internet-Draft       Tunnel Encapsulation Attribute            July 2017


   o  Sub-TLV Length (1 or 2 octets): the total number of octets of the
      sub-TLV value field.  The Sub-TLV Length field contains 1 octet if
      the Sub-TLV Type field contains a value in the range from 1-127.
      The Sub-TLV Length field contains two octets if the Sub-TLV Type
      field contains a value in the range from 128-254.

   o  Sub-TLV Value (variable): encodings of the value field depend on
      the sub-TLV type as enumerated above.  The following sub-sections
      define the encoding in detail.

Thanks,
Acee


----------------------------------------------------------------------
COMMENT:
----------------------------------------------------------------------

* IANA considerations

Looks like the value 65535 is included both as experimental and reserved. Suggest changing

OLD:
65500-65535    Experimental                              This document

NEW:
65500-65534    Experimental                              This document