Re: [mpls] [spring] redux: Special purpose labels in draft-hegde-spring-traffic-accounting-for-sr-paths

Greg Mirsky <gregimirsky@gmail.com> Fri, 17 November 2017 04:53 UTC

Return-Path: <gregimirsky@gmail.com>
X-Original-To: mpls@ietfa.amsl.com
Delivered-To: mpls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4A209120726; Thu, 16 Nov 2017 20:53:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.698
X-Spam-Level:
X-Spam-Status: No, score=-2.698 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_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=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 AA8PHlB35o3B; Thu, 16 Nov 2017 20:53:55 -0800 (PST)
Received: from mail-lf0-x22d.google.com (mail-lf0-x22d.google.com [IPv6:2a00:1450:4010:c07::22d]) (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 86FD6127136; Thu, 16 Nov 2017 20:53:54 -0800 (PST)
Received: by mail-lf0-x22d.google.com with SMTP id i14so1323994lfc.1; Thu, 16 Nov 2017 20:53:54 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=9nKDj1zMw5QUKFjHk/tb185WYN/9UlbI6JTCJR9MtLk=; b=LMDVoBjInM0hWRdxS6s9u6YBxVgTFu/eirLpzcflOZGV4FEOKKTI9icf5UGDZ8yAkm PMdrxTPA3FzGnxtp/tHSQqIz8eeTGPiOHP+Qq5a1mexShxAIGBvwMh3xqfg5kY5jrQfF 9NMcqvCHhfgGwNDEmK4VkZThMO5NCLC1eUclqoFpvT8VQIwIfFd92n0eoQDQng21rwm7 fb2891T0TguaUuQ+dVErNp+Il1D+dZtL0UCcOWL8Ds/OkdZWnxQlqwVfRA9P5gfYc0dF HT2++41BSusRt036qa3SeGK8YfLBiSFn1Aw3Pke/EY+OEvy7V4gX0w9i930wfmmUbr9Y iJBA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=9nKDj1zMw5QUKFjHk/tb185WYN/9UlbI6JTCJR9MtLk=; b=Gr7XUBtOFfTzXoKmt6OE4Q6sxFGa/QPQQMEcBQ1yTWov0ZvPRQdeVGL9aD0I/QsVpd CGh4CuYTEZtecet1+tv1+Et005itaL07DagNxNSa9Styjss544/Rwfppga6RO7KsFOQQ W/N8wO1VUq9A4i+TsLyfZRD4JWXNNn32BwltDlYIvSfdNEEydqMgd84nDtUhjpmjMIcY OSG6UtYG8VD7Ky/DbpqKJVoQ4nwUlftbNXFH5mYKD67eaRNbROePz0hTkPt/sA2o68rW nEMjR/pFgd2jYyaR1VArZNEjHSMxaqAck2Nex+U1em2D1TlAKi1XIzwsrH66NCJ0KqDL 1AlA==
X-Gm-Message-State: AJaThX4GKA7L7H7bt3PNdYGbGnLOZa411zDbOSIHxxjAi62fxw00a/JN ihoWvd4HQgO5HjEIy/Q7Z120jIDf3O+W97NZj3U=
X-Google-Smtp-Source: AGs4zMY5IFPLfu5vSC0o6kRtqdwzJERwtwMg7wwcCNqWQ87PNQdXZk0dVNEISSuxS+df5lFSm2rqqd+1lMFasKDDsVY=
X-Received: by 10.46.68.6 with SMTP id r6mr273925lja.1.1510894432753; Thu, 16 Nov 2017 20:53:52 -0800 (PST)
MIME-Version: 1.0
Received: by 10.46.32.136 with HTTP; Thu, 16 Nov 2017 20:53:52 -0800 (PST)
In-Reply-To: <MWHPR05MB3551810B278B964DD7822526C72F0@MWHPR05MB3551.namprd05.prod.outlook.com>
References: <12fc01d35e9c$ad540470$07fc0d50$@olddog.co.uk> <LEXPR01MB0094E212D3765DA6BA1AAEC49C2E0@LEXPR01MB0094.DEUPRD01.PROD.OUTLOOK.DE> <MWHPR05MB3551B49226876BE7FD0EA584C72E0@MWHPR05MB3551.namprd05.prod.outlook.com> <E6C17D2345AC7A45B7D054D407AA205C68FD8F26@eusaamb105.ericsson.se> <MWHPR05MB3551810B278B964DD7822526C72F0@MWHPR05MB3551.namprd05.prod.outlook.com>
From: Greg Mirsky <gregimirsky@gmail.com>
Date: Fri, 17 Nov 2017 12:53:52 +0800
Message-ID: <CA+RyBmWZbt=cLjD6X0faVdwar0wqmNVeHt7ZjSPtrQMyvG1BYg@mail.gmail.com>
To: John E Drake <jdrake@juniper.net>
Cc: David Allan I <david.i.allan@ericsson.com>, "Ext - Ruediger.Geib@telekom.de" <Ruediger.Geib@telekom.de>, "adrian@olddog.co.uk" <adrian@olddog.co.uk>, "draft-hegde-spring-traffic-accounting-for-sr-paths@ietf.org" <draft-hegde-spring-traffic-accounting-for-sr-paths@ietf.org>, "spring@ietf.org" <spring@ietf.org>, "zali@cisco.com" <zali@cisco.com>, "robert@raszuk.net" <robert@raszuk.net>, "mpls@ietf.org" <mpls@ietf.org>
Content-Type: multipart/alternative; boundary="94eb2c1a656cf51ca4055e2685e5"
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/BSyTpWMpeDSbgmrMilaF91drXVo>
Subject: Re: [mpls] [spring] redux: Special purpose labels in draft-hegde-spring-traffic-accounting-for-sr-paths
X-BeenThere: mpls@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Multi-Protocol Label Switching WG <mpls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mpls>, <mailto:mpls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mpls/>
List-Post: <mailto:mpls@ietf.org>
List-Help: <mailto:mpls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mpls>, <mailto:mpls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 17 Nov 2017 04:53:58 -0000

Hi John, et. al,
GAL may be placed anywhere in the stack, not only at the BoS. That was
re-affirmed by RFC 6423 that extended applicability of the GAL to PWs. Thus
GAL indicates that the ACH immediately follows the label stack, i.e. what
ever label has S bit set. Resulting from that, I think, we may set GAL
multiple times in SR-MPLS stack to work around the RLD syndrome. Yes, it is
bump-in-a-wire with ACH.

Regards,
Greg

On Fri, Nov 17, 2017 at 12:02 PM, John E Drake <jdrake@juniper.net> wrote:

> Dave,
>
>
>
> I think the EoS bit is set in the GAL.  I.e., there would be a small fixed
> size identifier between the stack and the payload.  As I indicated it’s
> just a suggestion.
>
>
>
> Yours Irrespectively,
>
>
>
> John
>
>
>
> *From:* David Allan I [mailto:david.i.allan@ericsson.com]
> *Sent:* Thursday, November 16, 2017 10:26 PM
> *To:* John E Drake <jdrake@juniper.net>; Ext - Ruediger.Geib@telekom.de <
> Ruediger.Geib@telekom.de>; adrian@olddog.co.uk
> *Cc:* draft-hegde-spring-traffic-accounting-for-sr-paths@ietf.org;
> spring@ietf.org; zali@cisco.com; robert@raszuk.net; mpls@ietf.org
> *Subject:* RE: [spring] [mpls] redux: Special purpose labels in
> draft-hegde-spring-traffic-accounting-for-sr-paths
>
>
>
> Would not the concept of
>
>
>
> <forwarding labels><GAL><id>(EOS set)<payload>
>
>
>
> Get a bit strange?  We are simply swapping one reserved label for another…
>
>
>
> Dave
>
>
>
> *From:* spring [mailto:spring-bounces@ietf.org <spring-bounces@ietf.org>] *On
> Behalf Of *John E Drake
> *Sent:* Thursday, November 16, 2017 8:00 PM
> *To:* Ext - Ruediger.Geib@telekom.de <Ruediger.Geib@telekom.de>;
> adrian@olddog.co.uk
> *Cc:* draft-hegde-spring-traffic-accounting-for-sr-paths@ietf.org;
> spring@ietf.org; zali@cisco.com; robert@raszuk.net; mpls@ietf.org
> *Subject:* Re: [spring] [mpls] redux: Special purpose labels in
> draft-hegde-spring-traffic-accounting-for-sr-paths
>
>
>
> Ruediger,
>
>
>
> There is also the possibility of using a GAL w/ a new fixed size GACH
> containing the SR Segment List Id.  This is similar to Robert’s suggestion
> of using a VXLAN header.
>
>
>
> Yours Irrespectively,
>
>
>
> John
>
>
>
> *From:* mpls [mailto:mpls-bounces@ietf.org <mpls-bounces@ietf.org>] *On
> Behalf Of *Ruediger.Geib@telekom.de
> *Sent:* Thursday, November 16, 2017 4:44 AM
> *To:* adrian@olddog.co.uk
> *Cc:* draft-hegde-spring-traffic-accounting-for-sr-paths@ietf.org;
> spring@ietf.org; robert@raszuk.net; mpls@ietf.org; zali@cisco.com
> *Subject:* Re: [mpls] [spring] redux: Special purpose labels in
> draft-hegde-spring-traffic-accounting-for-sr-paths
>
>
>
> Adrian,
>
>
>
> to me, there’s no ideal solution. But an analysis may help to find a
> useful solution. There’s a need to collect traffic statistics also for
> packets which don’t follow the shortest end to end path. There’s no simple
> howto, I think.
>
>
>
> For the time being, I’d prefer not to add special labels to the stack.
> What other options are there?
>
> -        Accounting at the router pushing a relevant label stack only.
>
> -        Accounting of an n-label stack.
>
> -        Acoounting of a subset of labels only (e.g. Node-SID Labels and
> Anycast-SID, but not ADJ-SID). The idea is a compromise to limit the number
> of counters be maintained. Consider accounting of the top 2 labels carrying
> global routing information.
>
> -        A special label. Shradda proposes to put such a label into the
> stack. The labels present there prior to the addition are maintained. One
> might think about a single top label which identifies and replaces the
> label stack carrying routing information relevant for the path. That would
> simplify accounting, but it requires suitable IGP functionality.
>
>
>
> None of the options sounds simple. Are there more (and simpler) ones I
> didn’t come upon?
>
>
>
> Regards, Ruediger
>
>
>
> *Von:* spring [mailto:spring-bounces@ietf.org <spring-bounces@ietf.org>] *Im
> Auftrag von *Adrian Farrel
> *Gesendet:* Donnerstag, 16. November 2017 06:35
> *An:* 'Mach Chen' <mach.chen@huawei.com>; 'Jeff Tantsura' <
> jefftant.ietf@gmail.com>; 'Robert Raszuk' <robert@raszuk.net>
> *Cc:* 'draft-hegde-spring-traffic-accounting-for-sr-paths' <
> draft-hegde-spring-traffic-accounting-for-sr-paths@ietf.org>; 'spring' <
> spring@ietf.org>; 'Zafar Ali (zali)' <zali@cisco.com>; 'mpls' <
> mpls@ietf.org>
> *Betreff:* Re: [spring] [mpls] redux: Special purpose labels in
> draft-hegde-spring-traffic-accounting-for-sr-paths
>
>
>
> Let's unpick a couple of things...
>
>
>
> 1. This work is not talking about per-flow accounting, it is talking about
> peer SR-path accounting
>
> 2. ipfix on its own does not cut it because you still have to put a marker
> in the packets
>
> 3. Yes, SR assumes there is no (i.e. zero) state per SR-path in the network
>
> But this third point causes a tension: we want to use SR because it is
> good, but we want to do transit node diagnostics because (frankly) they are
> necessary.
>
> To get the full picture of why they are necessary read the draft, or
> consider ECMP.
>
>
>
> This discussion will not be unfamiliar to those who tried to debug LDP
> networks.
>
>
>
> Adrian
>
>
>
> _______________________________________________
> mpls mailing list
> mpls@ietf.org
> https://www.ietf.org/mailman/listinfo/mpls
>
>