Re: [spring] SRv6 Network programming minor detail

"Pablo Camarillo (pcamaril)" <pcamaril@cisco.com> Mon, 09 December 2019 15:21 UTC

Return-Path: <pcamaril@cisco.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 D0EC1120089 for <spring@ietfa.amsl.com>; Mon, 9 Dec 2019 07:21:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.501
X-Spam-Level:
X-Spam-Status: No, score=-14.501 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_HI=-5, SPF_PASS=-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=Sg9GLuc9; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=PTn7N+qn
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 OJjps6z0dYrg for <spring@ietfa.amsl.com>; Mon, 9 Dec 2019 07:21:16 -0800 (PST)
Received: from alln-iport-3.cisco.com (alln-iport-3.cisco.com [173.37.142.90]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5807F12000F for <spring@ietf.org>; Mon, 9 Dec 2019 07:21:11 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1656; q=dns/txt; s=iport; t=1575904871; x=1577114471; h=from:to:subject:date:message-id:references:in-reply-to: content-id:content-transfer-encoding:mime-version; bh=Z2qr10oC0/4jXHWqq03mniFEYyfJ3hoe9+55kGvDyTg=; b=Sg9GLuc9ozgd4BUD1duV8tMP4iu9hDxx3++IljuthO6JHi1uXS0//Est g2aa8BQGaRngKsY9bouAS1d7VK0sVFZPlhC622gQDdwyO73D2Y2WrkKga 4z3uj3Xc00wACB2AShypR/NTo3jzPjIcG6+0qUGuBKBDlHg7BSdi8S64/ s=;
X-IPAS-Result: A0AeAwCyZe5d/4oNJK1kHAEBAQEBBwEBEQEEBAEBgW0EAQELAYFKUAVsWCAECyoKg3iDRgOLA06CEZgFgUKBEANUCQEBAQwBARgLCgIBAYN7RQIXggIkNwYOAgMBAQEDAgMCAQEEAQEBAgEFBG2FNwyFUgEBAQEDAQEQEREMAQEsDAsEAgEIEQMBAgMCJgICAiULFQgIAgQBEiKDAAGCRgMuAQ6hGAKBOIhhdYEygn4BAQWCSoJMGIIXAwaBDigBjBcagUE/gREnIIJMPoJkAQGBSxiDEDKCLJAnnjYKgi6VZhuaMo5KmisCBAIEBQIOAQEFgWgjgVhwFTsqAYJBUBEUjGYMF4NQhRSFP3SBKIxZAYEPAQE
IronPort-PHdr: 9a23:VU7s8h3o3dL2n+wMsmDT+zVfbzU7u7jyIg8e44YmjLQLaKm44pD+JxKGt+51ggrPWoPWo7JfhuzavrqoeFRI4I3J8RVgOIdJSwdDjMwXmwI6B8vQEUbyKffwbigSF8VZX1gj9Ha+YgBY
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-AV: E=Sophos;i="5.69,164,1571702400"; d="scan'208";a="397758771"
Received: from alln-core-5.cisco.com ([173.36.13.138]) by alln-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 09 Dec 2019 15:21:10 +0000
Received: from XCH-ALN-005.cisco.com (xch-aln-005.cisco.com [173.36.7.15]) by alln-core-5.cisco.com (8.15.2/8.15.2) with ESMTPS id xB9FLAF7005066 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Mon, 9 Dec 2019 15:21:10 GMT
Received: from xhs-rcd-002.cisco.com (173.37.227.247) by XCH-ALN-005.cisco.com (173.36.7.15) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 9 Dec 2019 09:21:09 -0600
Received: from xhs-aln-002.cisco.com (173.37.135.119) by xhs-rcd-002.cisco.com (173.37.227.247) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 9 Dec 2019 09:21:09 -0600
Received: from NAM10-BN7-obe.outbound.protection.outlook.com (173.37.151.57) by xhs-aln-002.cisco.com (173.37.135.119) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Mon, 9 Dec 2019 09:21:09 -0600
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TMtsFYPjCrkNRUm4qRcj4iUMY5ne07fX2Rnqwl4SLBTOeFrapsxnhHFaXR33xiuGptKWnborm1QSWO+9/MqlLR77s5uIxsg1qXNUkvBqSu54ilo5di62JUJQGvY49FuJhkZuk2AJYEQMm64cibz0cAosmievlm2OFFRtxA9Ec14cXd7ZlCxNxWa9GhYn7lB5Sfn5QEYC/YvOuzuIFDJWj7Eb1tBvglN63D5QQ7oxFvJRWYptX1Mxt6zDRSYclTC322o7BoSUMcYFGZKmTmyhCDtvyZrwVMusUiHs2rNZvf02trzyet8bBo21L7CGvEBv9d3njCizCq0a70+IPHxESw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Z2qr10oC0/4jXHWqq03mniFEYyfJ3hoe9+55kGvDyTg=; b=nCd8LszfdLFKQrJawPEnmehui1XThmo2/jJKwPsjHgzrRE9RBbYrws80eebLfRrMUVWYyoA4ni24Hz2mNJ/Roj8mzfFR55/P1d43+/2vHWSeCTmdpxmRYnv6IMHzhTX2grqEeNaYVMBVdV5tKxR6QoEdA0sU/F/ITpmJfxx1f5uFcpPee/pzcpV9jWupoVw2V21Ux8yURAhh3f7YlK48i4Ji2K1XGE9rhK6a7RFP1kHJ+WaDbb8Xa4+JEY1WVcQfIBvA1QjfUNWtzWHDeSa5aGlrD3t409hvkoo9a3qWZTp5sxoA/TRALVd+btp86ySt/OxydjeqVNMThcjGQHTv6A==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
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=Z2qr10oC0/4jXHWqq03mniFEYyfJ3hoe9+55kGvDyTg=; b=PTn7N+qnC8Kd2D29lFuQYsbsFNKYQ+2+OXORQIop+CwDJR7b+n/bQ9JetSY3zBS3+RTYCmxzqjNMaS/f6rGu1jivWRxfBEnKNfzUpYqlyOpk3sRCXYlE32HJfrcwVMN87Lo3RnH/MgWponBv78OFz9c9VKdxembwSHFNx0O2F/c=
Received: from MWHPR11MB1374.namprd11.prod.outlook.com (10.169.234.8) by MWHPR11MB1840.namprd11.prod.outlook.com (10.175.55.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.12; Mon, 9 Dec 2019 15:21:08 +0000
Received: from MWHPR11MB1374.namprd11.prod.outlook.com ([fe80::b04b:c9bb:2378:7a8d]) by MWHPR11MB1374.namprd11.prod.outlook.com ([fe80::b04b:c9bb:2378:7a8d%11]) with mapi id 15.20.2516.018; Mon, 9 Dec 2019 15:21:08 +0000
From: "Pablo Camarillo (pcamaril)" <pcamaril@cisco.com>
To: "Joel M. Halpern" <jmh@joelhalpern.com>, "spring@ietf.org" <spring@ietf.org>
Thread-Topic: [spring] SRv6 Network programming minor detail
Thread-Index: AQHVrgTF6Xf/ybtoRE+Lvp63OzKy9qeycqGA
Date: Mon, 09 Dec 2019 15:21:08 +0000
Message-ID: <2F833751-B075-4FF5-AFC6-886FCBFA69E7@cisco.com>
References: <5e9b7c7e-db34-eeda-dba1-1d9663766611@joelhalpern.com>
In-Reply-To: <5e9b7c7e-db34-eeda-dba1-1d9663766611@joelhalpern.com>
Accept-Language: en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.1f.0.191110
authentication-results: spf=none (sender IP is ) smtp.mailfrom=pcamaril@cisco.com;
x-originating-ip: [173.38.220.39]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 9ecccf16-36ea-4e12-943b-08d77cbb6a85
x-ms-traffictypediagnostic: MWHPR11MB1840:
x-microsoft-antispam-prvs: <MWHPR11MB184081D14810075AB72D7900C9580@MWHPR11MB1840.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:8882;
x-forefront-prvs: 02462830BE
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(376002)(39860400002)(346002)(366004)(136003)(189003)(199004)(13464003)(86362001)(478600001)(36756003)(229853002)(305945005)(66476007)(66556008)(966005)(6486002)(2906002)(66446008)(110136005)(4744005)(316002)(64756008)(5660300002)(8676002)(2616005)(6506007)(53546011)(186003)(33656002)(6512007)(76116006)(91956017)(66946007)(8936002)(26005)(81156014)(81166006)(71200400001)(71190400001); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR11MB1840; H:MWHPR11MB1374.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: BCL:0;
x-microsoft-antispam-message-info: rYeU6TcLL6sqVtlyR8KLaQ9gylQFP8MTxjDDKhm2JtlJHKNvP17iVk3r3TekZhsuJ77h2oTz68lHdN4MD1faxkFIJ7Eh2Q49eHZ1evKe3rEVmcRcAHz1Xz4SA+B/lbZES8LVoNZkZN/iqUbDOmjpMiIRx/IIjUzxYLavSsK1V2bd9Bjfi+9n1yvjlqcC8M3htc4HF8RRzDG8EojLWPl6ayzSpqDInoOBG1taKwdrzptAxej11ghOfi2gXoPORuKdiOasbE+yolvCD+gUFJMcNZPYfTyfRV7/X/Qj/w9F04erFzwyuVpakZHU9qWAwNwXF7PxLeE0oIgGbamgyRWcIdOyQ/hBWBE/qfxw0VNlfhhsnOkiNqBK9dPL46IYJBYrMosRF6PQh7YB2jXensUiIAZ6DrbO5Ix6SqmBa6Mom3hP8ImTpAvQGveZb1ZI8gvl2Z1FK1e3FYOnV8xj/JWL9Y4/wZwxUt6Bk0qki631e2VwZWqeLoH4poueJAJrr8nGWXAwhsuQwdrCRgG+bCBcnXZtYuozBazPcPa1vDcSYrA=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <5A1D4F8CE057F24B949D9E22AC7BA42F@namprd11.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 9ecccf16-36ea-4e12-943b-08d77cbb6a85
X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Dec 2019 15:21:08.3762 (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: Sa4Zudv0alf0ktR1kk2KE5s5fKmb3yyPWWONaLGHCc5CDobhbDtopA6ELsdiBg5gKYxR5b4W7v5o4/rcKtEy4w==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB1840
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.15, xch-aln-005.cisco.com
X-Outbound-Node: alln-core-5.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/VFqjqMix2fVkM4BM-pIabnv5JHk>
Subject: Re: [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: Mon, 09 Dec 2019 15:21:18 -0000

Joel,

You are right, the final :: are not needed and will be removed.

Cheers,
Pablo.

-----Original Message-----
From: spring <spring-bounces@ietf.org> on behalf of "Joel M. Halpern" <jmh@joelhalpern.com>
Date: Sunday, 8 December 2019 at 21:19
To: "spring@ietf.org" <spring@ietf.org>
Subject: [spring] SRv6 Network programming minor detail

    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
    
    _______________________________________________
    spring mailing list
    spring@ietf.org
    https://www.ietf.org/mailman/listinfo/spring