[bess] RtgDir review: draft-ietf-bess-nsh-bgp-control-plane-13

Ravi Singh <ravi.singh.ietf@gmail.com> Wed, 29 January 2020 02:14 UTC

Return-Path: <ravi.singh.ietf@gmail.com>
X-Original-To: bess@ietfa.amsl.com
Delivered-To: bess@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7A8C4120115; Tue, 28 Jan 2020 18:14:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.997
X-Spam-Level:
X-Spam-Status: No, score=-1.997 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 D4YljrQhi3Bs; Tue, 28 Jan 2020 18:14:46 -0800 (PST)
Received: from mail-pg1-x531.google.com (mail-pg1-x531.google.com [IPv6:2607:f8b0:4864:20::531]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D9A901200B3; Tue, 28 Jan 2020 18:14:45 -0800 (PST)
Received: by mail-pg1-x531.google.com with SMTP id b9so8004440pgk.12; Tue, 28 Jan 2020 18:14:45 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:mime-version:subject:message-id:date:cc:to; bh=IO0B3HOZUPvrrACBBy93exKPLIUpiOX65S32p3iL6hg=; b=pU2iwLr7oAb0cgyORiqQnLgUKdk9Ay/kJpykENCZ19DT6CPXSUlDOSKUKaD2p8dZWm +YQG0qDp09QKW+FL1IyYK2fybL44mN95yOzntsg2lGLMDfJSRwE4R0MGpaNE62Z90vO+ qUUVM0v+lRdhdXwtXlRwwBTSo8Mg7hCjmA3CoFpjlnDHbIyYspNY8egnpNVh94Mar3ww OsNmkQsOcQ9gM7CEpckXM2gjUgr8wo90NbgQXjK3nosDJkD3TPy9HGewfOaJZ87dRD/p AdStCEN0v1b2lRvJjrIQDu8Vb5+SwkYcJGi7LJp1H97voa25hPI37eIOxzhllPUZ/lzF /Mvw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:message-id:date:cc:to; bh=IO0B3HOZUPvrrACBBy93exKPLIUpiOX65S32p3iL6hg=; b=bTJ2wvoQOQ6QCQxIy7okMrha6l0Jr+Oxq/ggi0Btbd6a/9/saIVbj8ajbuaIVRTy+m pYsWlKjj+6/1dY0oQ+yaZQBJQ377rAlYB/i33v6sHUdkfRl7XP9wy48pu1Fe1zFGssZk SfEau6vl+7uHC0xYph+V0V1pW5iwKCLMiCjI/+rZsxowSjSOf76F74DHk4s1/zUozRlx rPihWNr+3zd9DUdlxw19h0hEakwkNiQNTsCbV40QCyUWsVqq5VkXkDZ8tQP9PDHZieN0 GY1Zr8zUyd1U37zv7KkcMetRycm9V6k/PytETVDJcSUrfQp8stGCzXAg4QCsgQeREPHV dJSA==
X-Gm-Message-State: APjAAAW9pprfI+IFkQGrHMB4G7gBFECpNXbIiKE+MYNkDG+HOMgegXq6 nY2ZH/b8nBD5xCO4vFu5/y9OkpRL
X-Google-Smtp-Source: APXvYqysEVJS8QP8Z7wEzfS1PY/qDLsTG2N0e2ejXjyMFIj2MBQnOrMTQcXe1kZI6Y8hHWn7Ua4d5A==
X-Received: by 2002:aa7:9aa7:: with SMTP id x7mr6701652pfi.78.1580264084681; Tue, 28 Jan 2020 18:14:44 -0800 (PST)
Received: from [192.168.108.41] ([208.185.173.211]) by smtp.gmail.com with ESMTPSA id r62sm340135pfc.89.2020.01.28.18.14.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Jan 2020 18:14:44 -0800 (PST)
From: Ravi Singh <ravi.singh.ietf@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_2B37B583-8F71-405A-87A3-2F591AE5F7E0"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
Message-Id: <CB9D67F2-5799-47B9-99C6-51EFF907C411@gmail.com>
Date: Tue, 28 Jan 2020 18:14:43 -0800
Cc: draft-ietf-bess-nsh-bgp-control-plane.all@ietf.org, bess@ietf.org, rtg-dir@ietf.org
To: rtg-ads@ietf.org
X-Mailer: Apple Mail (2.3445.104.11)
Archived-At: <https://mailarchive.ietf.org/arch/msg/bess/SUhGltD2AOX2855umZZhAcsOeIk>
Subject: [bess] RtgDir review: draft-ietf-bess-nsh-bgp-control-plane-13
X-BeenThere: bess@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: BGP-Enabled ServiceS working group discussion list <bess.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/bess>, <mailto:bess-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/bess/>
List-Post: <mailto:bess@ietf.org>
List-Help: <mailto:bess-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/bess>, <mailto:bess-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 Jan 2020 02:14:49 -0000

Hello,

I have been selected as the Routing Directorate reviewer for this draft. The Routing Directorate seeks to review all routing or routing-related drafts as they pass through IETF last call and IESG review, and sometimes on special request. The purpose of the review is to provide assistance to the Routing ADs. For more information about the Routing Directorate, please see ​http://trac.tools.ietf.org/area/rtg/trac/wiki/RtgDir <http://trac.tools.ietf.org/area/rtg/trac/wiki/RtgDir>
Although these comments are primarily for the use of the Routing ADs, it would be helpful if you could consider them along with any other IETF Last Call comments that you receive, and strive to resolve them through discussion or by updating the draft.

Document: draft-ietf-bess-nsh-bgp-control-plane-13.txt
Reviewer: Ravi Singh
Review Date: 01-26-2020
Intended Status: Standards Track

Summary:
I have some minor concerns about this document that I think should be resolved before publication.


Comments: 
0.  Having finished reading through the entire doc, the whole picture comes together clearly. 
However, given the size of this document…..as one is reading this document it takes a high level of effort to stay with the picture.
I feel the readability could be somewhat improved.  See #1 under “minor issues” for a suggestion.

Major Issues:
No major issues found.

Minor issues:

1.
Section2: During an initial reading, the terminology comes across as overly repetitive and a bit pedantic….which takes away from the readability a bit when one is reading the sections in the order listed. Content of RFC7665/8300 are also contributors to this.
Eg: "In fact, each SI is mapped to one or more SFs that are implemented by one or more Service Function Instances (SFIs) that support those specified SFs. "  : almost sounds like legalese when someone who has not grasped the complete picture of the draft.
 
Wrote up the above as I was reading that section for the first time.
However, after finishing the review…started to appreciate this.
 
In having read the sections in order, I think the readability would have been greatly enhanced if I had read section 8 first, else once just gets lost in all the details.
It would be worthwhile suggesting in the text that once the reader has read through section 2, it would help to read section 8 before reviewing the intervening sections.
 
2. Section 3.2.1: page 16:
"[RFC7606]
   revises BGP error handling specifically for the for UPDATE message,"
 
->
"[RFC7606]
   revises BGP error handling specifically for the UPDATE message,”

3. 
Page 17:
  a. Was the intention for treating error 4 any different from errors, [1,2,6,7]? If not, why the need to call out 4 separately?
  b. "Unknown SFIR-RD found in a Hop TLV." :
The format of the Hop TLV in section 3.2.1.2 contains no reference to an RD. So, was the intention instead to refer to the SFIR-RD list of one of the SFT TLVs inside the Hop TLV?

4.
Section 3.2.1.2: "At least one sub-TLV MUST be present. "
Where are these sub-TLVs defined?
In this regard,
  a. Section 3.2.1.3 says "The SFT TLV MAY be included in the list of sub-TLVs of the Hop TLV.":
  b. Section 3.2.1.4 says "The MPLS Swapping/Stacking TLV (Type value 4) is a zero length sub-TLV that is OPTIONAL in the Hop TLV "

In the absence of specific mention of details of sub-TLVs in section 3.2.1.2, is a reader to assume that SFT TLVs & the MPLS swap/stack TVLs are the only possible subTLVs under a hop-TLV (as intended in this revision of the ID)?
This aspect becomes clear later, when one gets to reading the description of the subsequently mentioned TLVs. Might be worth alluding to this in 3.2.1.2.

5.
"In the normal case the SPI remains unchanged and the SI will have been decremented to indicate the next SF along the path.": will SI really be decremented instead of just setting it to the appropriate value? As per this draft, set to an appropriate lower value…

6.
What exactly does the following mean? "Also, as described in [RFC8300], an SFF receiving an SI that is unknown in the context of the SPI can reduce the value to the next meaningful SI value in the SFP indicated by the SPI. If no such value exists or if the SFF does not support this function, the SFF drops the packet and should log the event: such logs are also subject to rate limits."

7. 
Figure 1: showing the SFIs hosted on SFF2 and SFF3 in the same conceptual block (just because they share the same type) is a bit confusing when the diagram is showing a logical view of the physical layout of the elements of the solution.

8.
Section 3.1:the following is an ambiguous sentence & I suggest rewording to clarify:
"Note that it is assumed that each SFF has one or more globally unique SFC Context Labels and that the context label space and the SPI address space are disjoint." 
This sounds like that the "context label space" and the "SPI address space" are disjoint w.r.t. each other. What appears to be intended is that the SFC context labels and SPI-address-space should be disjoint across the different SFFs.
However, is it not sufficient to just have the SFC-context label spaces be disjoint across SFFs?

9.
Section 3.2: Why is "If two SFPRs are originated from different Controllers they MUST have different RDs" needed when "All SFPs MUST be associated with different RDs." is already stated?

10.
Section 3.2.1: "The Extended Length bit is set according to the length of the SFP attribute as defined in [RFC4271].": minor quibble: but this sentence needs rewording for correctness of intended meaning.

11.
Pg26: Typo in "This makes the bevahior "

12.
Section 5: pg 29: suggest rewording "Thus, at any point in time when an SFF selects its next hop, it chooses from the intersection of the set of next hop RDs contained in the SFPR and the RDs contained in its local set of SFIRs." to
"Thus, at any point in time when an SFF selects its next hop, it chooses from the intersection of the set of next hop RDs contained in the SFPR and the RDs contained in the SFPR's local set of SFIRs."

13.
Section 5 pg 29: Not clear "Similarly, when this condition obtains " what is intended here?

14.
Section 6: typo in "If the SPI indicates anther path,"

15.
Section 6.1: SI (As defined in SFIR format in section 3.1) is a 1 octet quantity. So, want to make the SI field 1 byte long and the reserved field 4 bytes long?

16.
Section 6.1: "Note that Special Purpose SFTs MUST NOT be advertised in SFIRs.": what is the intended behavior if these were so advertised?

17.
Section 7.4: "that can be used to disposition those packets" and "it MUST NOT be used for dispositioning the packets of the specified" feels a little strange: perhaps the RFC-editor will have more to say about this, if this really is strange

18.
Section 7.6: "with that SFP’ last hop." -> "with that SFP’s last hop."

19.
Section 8.4: "path selecting between all SFF2 that support an SF of type 43 and SFF3 that supports" could use some rewording.

20.
Section 8.7: "[SI = 245, SFT = 42, RD = 192.0.2.3:7]" could be made more in line with the encoding, by showing it as [SFT = 42, RD = 192.0.2.3:7] with the SI=245 being nested under [SI=245, …] on the lines of as is done in section 8.4.

21.

Section 8.9.2: what is gained by having a given SFI be identified using multiple different SI s?
Eg:
[SI = 255, SFT = 41, RD = 192.0.2.1:11],
And
[SI = 253, SFT = 41, RD = 192.0.2.1:11]
 
The above 2 representations are for the same SFI: i.e. SFT & RD are the same. So, why represent them using different SI s?
This ties to the question about: why worry about the numeric ordering of the SI values in a given SFP?

Regards
Ravi