[spring] SRv6 Network programming minor detail

"Joel M. Halpern" <jmh@joelhalpern.com> Sun, 08 December 2019 20:18 UTC

Return-Path: <jmh@joelhalpern.com>
X-Original-To: spring@ietfa.amsl.com
Delivered-To: spring@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4551D12007C for <spring@ietfa.amsl.com>; Sun, 8 Dec 2019 12:18:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.701
X-Spam-Level:
X-Spam-Status: No, score=-2.701 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=joelhalpern.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 4A7wjqkJh_am for <spring@ietfa.amsl.com>; Sun, 8 Dec 2019 12:18:58 -0800 (PST)
Received: from mailb2.tigertech.net (mailb2.tigertech.net [208.80.4.154]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0AF21120071 for <spring@ietf.org>; Sun, 8 Dec 2019 12:18:58 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by mailb2.tigertech.net (Postfix) with ESMTP id 47WHhx6n7tz1nsNm for <spring@ietf.org>; Sun, 8 Dec 2019 12:18:57 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelhalpern.com; s=2.tigertech; t=1575836337; bh=q5Exosp5bYCmzWMHsL/ZFgS5ddLDlkWHKGKfAYFUMjU=; h=To:From:Subject:Date:From; b=VbdOkT3wKTEnbfYH+z4/fBt7+MYkOHHT7ja2bxrNccYuEPDRbx02awn02SCdN3q8V /V3t1+c7u4aR60/L4TL34AJR8xv6/XV4THdtxNsN69XQ8yeXtUY0sqLJZxVee40B/g xUE5grXlOvsH6r/y7TOybqsKpHjtNLhweTffi4pw=
X-Virus-Scanned: Debian amavisd-new at b2.tigertech.net
Received: from [192.168.128.43] (209-255-163-147.ip.mcleodusa.net [209.255.163.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mailb2.tigertech.net (Postfix) with ESMTPSA id 47WHhx3kbZz1ns6S for <spring@ietf.org>; Sun, 8 Dec 2019 12:18:57 -0800 (PST)
To: "spring@ietf.org" <spring@ietf.org>
From: "Joel M. Halpern" <jmh@joelhalpern.com>
Message-ID: <5e9b7c7e-db34-eeda-dba1-1d9663766611@joelhalpern.com>
Date: Sun, 08 Dec 2019 15:18:55 -0500
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/ETMjS5C8j8NCDARuIpYD7JNtUEE>
Subject: [spring] SRv6 Network programming minor detail
X-BeenThere: spring@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Source Packet Routing in NetworkinG \(SPRING\)" <spring.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/spring>, <mailto:spring-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/spring/>
List-Post: <mailto:spring@ietf.org>
List-Help: <mailto:spring-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/spring>, <mailto:spring-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 08 Dec 2019 20:18:59 -0000

In reading section 3.1 on the SID format, I noticed a small inconsitency 
with a large impact.  My guess is that either I am misreading the text, 
or there is a typo.

The first part of the section talks about LOC:FUNCT and is clear that 
this uses all 128 bits of the IPv6 address.  I think I understand that.

Later in the section, in talking about arguments, it says 
"LOC:FUNCT:ARGS::".  Is the final :: intended?  That seems to require 
that the entire thing fit in the upper 64 bits of the IPv6 address. 
Which I believe is not intended.  I would have expected simply 
"LOC:FUNCT:ARGS".

Thank you,
Joel