[DMM] 6.2. End.MAP pesudo code (SRv6-mobile-uplane)

Kentaro Ebisawa <ebiken.g@gmail.com> Mon, 11 March 2019 06:27 UTC

Return-Path: <ebiken.g@gmail.com>
X-Original-To: dmm@ietfa.amsl.com
Delivered-To: dmm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E57DA130FB4 for <dmm@ietfa.amsl.com>; Sun, 10 Mar 2019 23:27:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 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, 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 FxkmWQ6yhjZg for <dmm@ietfa.amsl.com>; Sun, 10 Mar 2019 23:27:44 -0700 (PDT)
Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) (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 97E95130F4D for <dmm@ietf.org>; Sun, 10 Mar 2019 23:27:44 -0700 (PDT)
Received: by mail-ed1-x52e.google.com with SMTP id n14so882298edv.8 for <dmm@ietf.org>; Sun, 10 Mar 2019 23:27:44 -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; bh=90dCLaxLxN9WnMcocJAHqWn2xF7NknjUQjJaqZsGgbc=; b=mQUv1kFSID1uPKoeKVHvnli+5rl440owfc7N8cOXhOHXIqsjN0QPeSF98+PWYLRwXL SREqi5bNVqWxEYNrStD2yQrYmiZgDeCK3I38+V5WesEwfuXpbRqsfs+HZh7Zf0Q3KsXd bnhCFxnn46FXpHa4GKi3QSDOSNFXS9s4/97drYszdgg7zE5u9ZFEEUZQU+ELTPbgpJvK 1t2wzCQIJTuEb/tOXLuSfmwcDBNq97Sfl/gBirgMX2iLYBF1MSLCFxUJzDziAjlOni+K pjHhmzA+YLOX5CFXRfZJ/G3yVM6hf4RuhvxxOj+lI6kBTx8JA6hQoKjGPwl0b4Hz+H0F Kdiw==
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; bh=90dCLaxLxN9WnMcocJAHqWn2xF7NknjUQjJaqZsGgbc=; b=KMBJamLb81IVmStw+qdgJpYx2dP5AntCCIBme8hGNoVnaaheh0g3V28csRkyYDVBnw EkVpu/7LroC3MaZdGfF69wdFiC3/LJgKQKzCs/F9K52gWS2605EMIl+7WSOhN2qY7NQx zQMxEnw2ebYEiaIROiC+I4nsMzTMe7qpLaakB7Iqsh7ww8fU73z6G00stm09nmsjUvtU W7aIMKDSYCoXB5g2YLNFgkHkEx47GibcI4pYTVhAp0R2Sg1XQEJLUg9F6aEhWloPaQw5 4mkZWpdLv37HnzTZyaazfUWWamlqlY/F68vCUVp5v+rA2trsInulAr3uDcgxdkzSaJvE 3S8A==
X-Gm-Message-State: APjAAAVENJHFTKAqiT37RROUtohWc1uX0pxu+yjmOJyXxZo9ANgp6Vcu XtmxhzDRMpwpXxaJyU6sgm4wi7bAqdVFeUbFI2nIG1RXcqU=
X-Google-Smtp-Source: APXvYqzDGMPV4+0/eQhznBuSUbjzDTHEZa/fkabfp2c7vNUtoL28WvGVQQKboo7lpry7pvdVWJ9PtXUAkPX71t74ef0=
X-Received: by 2002:a05:6402:78b:: with SMTP id d11mr8585164edy.172.1552285662796; Sun, 10 Mar 2019 23:27:42 -0700 (PDT)
MIME-Version: 1.0
From: Kentaro Ebisawa <ebiken.g@gmail.com>
Date: Mon, 11 Mar 2019 15:27:31 +0900
Message-ID: <CAEQxF6USwVuwiZCOYp=ED52PmDZroOxULGAG2vbYEXo9r6_KSw@mail.gmail.com>
To: dmm <dmm@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dmm/DrludtufgPJ5Z2mAwLgEUEvwZx0>
Subject: [DMM] 6.2. End.MAP pesudo code (SRv6-mobile-uplane)
X-BeenThere: dmm@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Distributed Mobility Management Working Group <dmm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dmm>, <mailto:dmm-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dmm/>
List-Post: <mailto:dmm@ietf.org>
List-Help: <mailto:dmm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dmm>, <mailto:dmm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Mar 2019 06:27:47 -0000

Hi,

I have a few questions in regards to "6.2 End.MAP pesudo code".

* Looks like "IF" line is missing? (It has ELSE)
* What is "segment_list" on line 3? Is it segment list of the original
packet, or is it new segment list of the End.Map function?

> 1.     look up the IPv6 DA in the mapping table
> 2.     update the IPv6 DA with the new mapped SID ;; Note 1
> 3.     IF segment_list > 1
> 4.         insert a new SRH
> 5.     forward according to the new mapped SID
> 6. ELSE
> 7.     Drop the packet
> Note 1: The SID in the SRH is NOT modified.

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