Re: [spring] Per segment service instructions

Tarek Saad <tsaad.net@gmail.com> Mon, 16 September 2019 15:59 UTC

Return-Path: <tsaad.net@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 6D8D5120052; Mon, 16 Sep 2019 08:59:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 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] 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 krsEh5nJMASE; Mon, 16 Sep 2019 08:59:23 -0700 (PDT)
Received: from mail-io1-xd32.google.com (mail-io1-xd32.google.com [IPv6:2607:f8b0:4864:20::d32]) (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 B3A9F120120; Mon, 16 Sep 2019 08:59:23 -0700 (PDT)
Received: by mail-io1-xd32.google.com with SMTP id k5so256148iol.5; Mon, 16 Sep 2019 08:59:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:thread-topic:thread-index:date:message-id :references:in-reply-to:accept-language:content-language :mime-version; bh=jH60CoHZ1zAp7VgokI2a1afwblJ9ecjFpb3/xWVQZ3k=; b=jgkvtdbXMmzeAO9FFcQdgbqW08Wb+WJHYgaf0GuTC+7v1EU45Zi6FZfIhdQ6JtiW+Z TM0Lailk2ddm8NWz+flnhFDr5Yv1olo5kJ/J45PGQw+8SfyVkt3x1YJT8YiqfDjvaJBk 4byHcFryPs6vb4x8+yVGwzBIhVOSRycCFP8vAf5jkTHQfWiBOEVJWrlQRzrvNB6ifr8J AujXrcmTfguLEvXim7x4pOgE+rNvHg3Wl0Q7EpjJlAAPuILKbMvPebtD8ToAfAGh1Jxa Vm5Uor91JcijCq7vHMlEVJTbZgE+mOqdoBhv1u+NXUKIHFOfi6pcxPd1pA0S8xvwvOjf XMKQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:thread-topic:thread-index :date:message-id:references:in-reply-to:accept-language :content-language:mime-version; bh=jH60CoHZ1zAp7VgokI2a1afwblJ9ecjFpb3/xWVQZ3k=; b=GFujG1Qm40wDsFLuUsDWSmtZmUYUSx4fhiFDXsFv4YtNDDV2Y/JNcufEuR9l9aMX+2 8COLHOQWY0KaiNUoouDod40DVWk/vdxd9h2h8cMJrS2qAuo1+nG28gXrCSsCBSJXMxsC QOcZRJ76VLkB5wKRLeOWeREIqdAT34ilbBeWdPjMGIyf9hlnPkFCL/+sWxa2b96HqJLL hD02vHGNloTA+0J8lVHJ3mex95/uv7UDKg/zfrg1cZRF3JUfPq7NidZfmzoTYwGyJl4e kOCsdsv2h5TYTkP13rr9EQTw6vHJbFz6wRnZnuPe0Bla9bj+rkbOPNQi/C/Pm113SUqY TdRQ==
X-Gm-Message-State: APjAAAW5/aF7GVo3ZAM613s5vvzOVM3S6RmBWf2UOaEhs1KevKny4hmO 6shkQUAG3IN6MnDOphmgN9c=
X-Google-Smtp-Source: APXvYqzU5exM2cVCAXWAQEM+4gEmn77H7s2Ckdxax9SCN9R0bCsWC6pcYp6E7sXK593iuFjN5b4whw==
X-Received: by 2002:a6b:db0e:: with SMTP id t14mr594814ioc.93.1568649562974; Mon, 16 Sep 2019 08:59:22 -0700 (PDT)
Received: from BYAPR19MB3415.namprd19.prod.outlook.com ([2603:1036:307:293b::5]) by smtp.gmail.com with ESMTPSA id m21sm5142982iob.82.2019.09.16.08.59.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Sep 2019 08:59:22 -0700 (PDT)
From: Tarek Saad <tsaad.net@gmail.com>
To: "Bernier, Daniel" <daniel.bernier@bell.ca>, Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org>, Robert Raszuk <robert@raszuk.net>
CC: SPRING WG <spring@ietf.org>, 6man <6man@ietf.org>
Subject: Re: [spring] Per segment service instructions
Thread-Topic: [spring] Per segment service instructions
Thread-Index: AUVFRDQ0Xpdx8rrF03kgSRBiTjE2wKBOxv62
X-MS-Exchange-MessageSentRepresentingType: 1
Date: Mon, 16 Sep 2019 15:59:21 +0000
Message-ID: <BYAPR19MB3415DA7196E45FF52A740ED3FC8C0@BYAPR19MB3415.namprd19.prod.outlook.com>
References: <5971B5F4-74C1-4DD0-BBD2-D76BE105532E@bell.ca>
In-Reply-To: <5971B5F4-74C1-4DD0-BBD2-D76BE105532E@bell.ca>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-Exchange-Organization-SCL: -1
X-MS-TNEF-Correlator:
X-MS-Exchange-Organization-RecordReviewCfmType: 0
Content-Type: multipart/alternative; boundary="_000_BYAPR19MB3415DA7196E45FF52A740ED3FC8C0BYAPR19MB3415namp_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/jIz0sOanRsbFKU9c3gAz5wVfJpo>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.29
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: Mon, 16 Sep 2019 15:59:28 -0000

Hi all,

A possible way to avoid domain wide scope of PSSI, would be to encode a per node ID within the PSSI (per node namespace of Service IDs).
This allows the node parsing the DOH to identify PSSI(s) that needs to be invoked locally and to resolve the Service ID within its node scope. The per node ID can be a SRV6+ short SID that is instantiated locally on the node.

So, a PSSI = Short-SID.SE1

DOH can contain:
Short-SID1.SE1
Short-SID2.SE2
Etc.

Regards,
Tarek



From: spring <spring-bounces@ietf.org> on behalf of "Bernier, Daniel" <daniel.bernier@bell.ca>
Date: Saturday, September 14, 2019 at 1:03 AM
To: Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org>, Robert Raszuk <robert@raszuk.net>
Cc: SPRING WG <spring@ietf.org>, 6man <6man@ietf.org>
Subject: Re: [spring] Per segment service instructions

Hi Ron,

If PSSI provide non-routing services such as SE1 from Robert’s example which offers DPI, FW and Packet Replication then, I need a domain-wide PSSI defining DPI + FW + Sampling but if somewhere else in my network I just need FW, then I need another domain-wide PSSI for only FW.
In that model, I will end up with and endless list of permutations which must be agreed upon to ensure interop (i.e. vendor A cannot use a PSSI X for FW while vendor B think’s its DPI).
Thx
Dan B



On 2019-09-13, 2:10 PM, "ipv6 on behalf of Ron Bonica" <ipv6-bounces@ietf.org<mailto:ipv6-bounces@ietf.org> on behalf of rbonica=40juniper.net@dmarc.ietf.org<mailto:rbonica=40juniper.net@dmarc.ietf.org>> wrote:

Robert,

In your email, you ask how I would solve a TE problem with a Per Segment Service Instruction (PSSI). In SRv6+:


-          The CRH and the SIDs that it contains are used to solve TE problems

-          The PSSI is used too provide non-routing services (e.g., firewalling, sampling, DPI)

This leaves the following questions to be answered:


-          How would I solve the TE problem that you describe in your email?

-          Given another example, explain how PSSI works?

Which question would you like me to tackle first?

                                                                    Ron


From: Robert Raszuk <robert@raszuk.net>
Sent: Friday, September 13, 2019 8:45 AM
To: Ron Bonica <rbonica@juniper.net>
Cc: SPRING WG <spring@ietf.org>; 6man <6man@ietf.org>
Subject: Per segment service instructions

Dear Ron,

I have read yet one more draft from the SRv6+ package defining another Destination Option type - this time Per Segment Service Instruction(s) described in draft-bonica-6man-seg-end-opt

I have one technical question regarding it.

Imagine I have following topology - drawing only what is relevant to the question:

PE1 - - P1 - - SE1 - - P2 - -  SE2 - - P3 - - PE2

When packet enters the network PE1 is instructed to program my flow A to execute following following functions on Segment End 1 (SE1) and Segment End 2 (SE2):

SE1 - When packet is routed out of SE1 consider only interfaces of bw 10G and up

SE2 - When packet is routed out of SE2 make sure that path to segment end node is no more then 2 hops away.

>From reading the draft I think the answer is that you mandated the segment end functions in SRv6+ to have domain-wide significance such that the function itself contains not only the instruction but also as it is of domain-wide significance the location of the instruction to execute it on.

So far so good ... Flow-A get's CRH and PSSI encoding the above requirement.

When packet enters SE1 Destination Options preceding RH is read and PSSIs are attempted to get executed ! Both instructions are tried but only one is known so only one get's executed on SE1. Same story on SE2.

Not sure if eveyone would be ok with such model to read and attempt to execute instructions which are not for a given end segment but let's assume some may accept it.

But now how unfortunate it may sound PE1 is receving the flow-B and for flow B the requirements are opposite:

SE1 - When packet is routed out of SE1 make sure that path to segment end node is no more then 2 hops away.

SE2 - When packet is routed out of SE2 consider only interfaces of bw 10G and up.

Well what do you - simple - you allocate another two domain wide functions and encode it in the packet at PSSI DOH on PE1.

But if my description matches the plan you now end up with per flow !!! state in the network which is the price to pay for splitting SIDs with its functions into completely different headers.

I don't know about others but I think we went in the past via multiple attempts to put any per flow state into the large network and it all failed when faced scale.

Also SR specifically in its architecture RFC8402 says that segment routing is "maintaining per-flow state only at the ingress node(s) to the SR domain."

Kind regards,
Robert.



Juniper Business Use Only