Re: 6man w.g. last call for <draft-ietf-6man-segment-routing-header-11.txt>

Kentaro Ebisawa <ebiken.g@gmail.com> Fri, 06 April 2018 06:51 UTC

Return-Path: <ebiken.g@gmail.com>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4F83812E896 for <ipv6@ietfa.amsl.com>; Thu, 5 Apr 2018 23:51:11 -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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-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 PvArgnM6-XSM for <ipv6@ietfa.amsl.com>; Thu, 5 Apr 2018 23:51:10 -0700 (PDT)
Received: from mail-ot0-x22e.google.com (mail-ot0-x22e.google.com [IPv6:2607:f8b0:4003:c0f::22e]) (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 D76E612DA3F for <ipv6@ietf.org>; Thu, 5 Apr 2018 23:51:09 -0700 (PDT)
Received: by mail-ot0-x22e.google.com with SMTP id a14-v6so150623otf.6 for <ipv6@ietf.org>; Thu, 05 Apr 2018 23:51:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=zK7coQC3XUFuNTqJ8Bo7zhQAidnkdsc3fom+nymCOHM=; b=ZTLT+YU8M0btP1gmyt7PVn3IREWvsYFmK1pY7pO3i/RITqnpbSmCfZnPFRS7rCVnBp GlpzQdElMp+WT7EYLvH1tjbkGNmoOnz8ugT5zjs5CNZaSworE7AN7ox1gcnfBsrNBfSG e0sSEOJVP8OWTVMqLwc+0Sf/UpbELr5JrV7Fu+CDP9Uj60K6gZgqdeYlnNi/hUcd4zPf 1kcKVRWz/4g2pIs/ageHolKi/e6zVndm7qXAj2Puzt6JInXqq2nwxX0OP0zswCxYBg23 fPgOHfg7nE1kOslZc3Ok14nwvTi1I5i1Z2JvPe1mYf2mNNUSXQ8r7nwrfMgklIniGpEF 2eRw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=zK7coQC3XUFuNTqJ8Bo7zhQAidnkdsc3fom+nymCOHM=; b=RnLNRBxZGJSnaeE5aT7zaZ1JWaU46WDSv2OroUeZfudJerCJV8glaVC+3Gs/m7SF45 02MsKjtfO3eYs4ULA33q6cbx7wZHr224r2bSb7Mxb5WWKOOdofx9hN9mxisM30Xg07MY t6+SUQOIb70pmVRx/cWX+Ial5g/zLf0wgp7t8eTgVXhbt3Kk7KDIwX0haHbDEehSkV38 aO3mbFGqEjXPtdb7fwhG5s9NlBFUS3WwWa2o4bC7oKOuadGYmlKBojQZkN/zIE4kktS7 psABApzUe3w6DHh5k+So3LBIzl/3AtH45Bcc6UVqV065ZWBcCmJtpl5lsR+5Giwqy1Cx +LgQ==
X-Gm-Message-State: ALQs6tAvtrXdcepwuuuH/79g0rTKZaVW8uJQX/iojAtoumFvpUkA0II6 5y1RGmpio8kkhaW9EK5/NJpWtyuoOsO3K8cNALNCmQ==
X-Google-Smtp-Source: AIpwx4+NgXVekOGK86hASxf5GmRq4/1iBY6pF+BCeNnZvnwdcFGM7Tplpth83LJBxp4ZKC+/uUiOtx6hGRCYVYMXuhc=
X-Received: by 2002:a9d:2e68:: with SMTP id c37-v6mr10237661otd.373.1522997468968; Thu, 05 Apr 2018 23:51:08 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:a9d:572b:0:0:0:0:0 with HTTP; Thu, 5 Apr 2018 23:51:08 -0700 (PDT)
From: Kentaro Ebisawa <ebiken.g@gmail.com>
Date: Fri, 06 Apr 2018 15:51:08 +0900
Message-ID: <CAEQxF6WeiLOoyq2g=_Ff2jyvLO_WHUof2pdxCLP7XzcAs4QDuA@mail.gmail.com>
Subject: Re: 6man w.g. last call for <draft-ietf-6man-segment-routing-header-11.txt>
To: ipv6@ietf.org
Cc: rbonica@juniper.net, ddukes@cisco.com, cf@cisco.com
Content-Type: multipart/alternative; boundary="00000000000021baa00569287b43"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/gYvKfY1JcbhTxLZmKuGfQ7R0BPU>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Apr 2018 06:51:11 -0000

Hi,

I have a question about the definition of SL which Ron has pointed out, but
from a slightly different standpoint.

Recently there was a new function "T.Encaps.Red" defined
in draft-filsfils-spring-srv6-network-programming-04 which will insert SRH
with two segments and SL=2.
> 5.5. T.Encaps.Red: Transit with reduce encaps in an SRv6 Policy
> 1. push an IPv6 header with its own SRH (S3, S2; SL=2)

And in draft-ietf-6man-segment-routing-header-11 it's defined as follows.
> "Defined in [RFC8200], it contains the index, in the Segment List, of the
next segment to inspect.  Segments Left is decremented at each segment."

But since there are only two segments, SegmentList[0] and [1], in the
SRH, there
is no such segment with "INDEX=2".

So the definition in RFC8200 seems more clear which defines SL not as an
index but as "Number of route segments remaining".

Regards,
-- 
Kentaro Ebisawa <ebiken.g@gmail.com>