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

John E Drake <jdrake@juniper.net> Fri, 17 November 2017 04:02 UTC

Return-Path: <jdrake@juniper.net>
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 5331A127BA3; Thu, 16 Nov 2017 20:02:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, 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=juniper.net
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 2LaDkqlhAbXo; Thu, 16 Nov 2017 20:02:39 -0800 (PST)
Received: from mx0b-00273201.pphosted.com (mx0a-00273201.pphosted.com [208.84.65.16]) (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 50E0D127843; Thu, 16 Nov 2017 20:02:39 -0800 (PST)
Received: from pps.filterd (m0108157.ppops.net [127.0.0.1]) by mx0a-00273201.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id vAH3ww6E019328; Thu, 16 Nov 2017 20:02:19 -0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=PPS1017; bh=UjZKPIRwCUrZ3h+0wPemCoe6Nz44zrEFnBBaK/JrJd4=; b=e2/G4J9Hs5EOLtxIVLuJviEgv1JWwjFnEqT6eWS0lfU9R2bfpQaX8waonW38vLvCbSGw VxBlb3/emNMOQ9XiiLyE62POvZXWRbwuE23b+0AXkfGwBbPkwoN5br1E5bxv1Y/qXbTo Km+JaavZ0mmAXBqjwSQFSxauSTXPU+KIAAyCDZmAVt0zGmuSE1WIZwdqN5rE7b8Sgs7i G8AVIR/TuPbMJqhCuEV/VGVIopcLmsFHDlcveLmGgeWz5drM5xOFfOmrg9RcbGLSkwEi ODdaVq4G38I0gCKqRqeTmgYUk9tFRwe+D3hYmG128TkA0DkTVlA9xEVCpta0pvGfiCPK 4g==
Received: from nam02-cy1-obe.outbound.protection.outlook.com (mail-cys01nam02lp0051.outbound.protection.outlook.com [207.46.163.51]) by mx0a-00273201.pphosted.com with ESMTP id 2e9py7g4qk-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 16 Nov 2017 20:02:19 -0800
Received: from MWHPR05MB3551.namprd05.prod.outlook.com (10.174.250.154) by MWHPR05MB3550.namprd05.prod.outlook.com (10.174.250.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.20.239.4; Fri, 17 Nov 2017 04:02:16 +0000
Received: from MWHPR05MB3551.namprd05.prod.outlook.com ([10.174.250.154]) by MWHPR05MB3551.namprd05.prod.outlook.com ([10.174.250.154]) with mapi id 15.20.0239.004; Fri, 17 Nov 2017 04:02:16 +0000
From: John E Drake <jdrake@juniper.net>
To: 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>
CC: "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>
Thread-Topic: [spring] [mpls] redux: Special purpose labels in draft-hegde-spring-traffic-accounting-for-sr-paths
Thread-Index: AQHTX1PUAMgWAdbFeEqd/KQN3fgDSqMX8mfA
Date: Fri, 17 Nov 2017 04:02:16 +0000
Message-ID: <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>
In-Reply-To: <E6C17D2345AC7A45B7D054D407AA205C68FD8F26@eusaamb105.ericsson.se>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [66.129.241.14]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; MWHPR05MB3550; 6:XFg46LxAM4DQdLykcHvfxnekmmA3wVV/P7+V1sI/2aFTKcrSUtSgX+ohkrxrzbf7TkoNlTC4GJucF6Wkp7lCX4OAV/9KUhHNWTO8wlpe5ApfQ2yb/cgIUijFsZSk9RyjcyoANINkyhV3eAvw9m0vgRMUftvUu9G1Qn1tthsU2KiDWHFy4OkvXiMkBuuX9FJrv3AxRWXUEINsUFhoxFsS1RLi67Yd/Vrq1zVvY2Mzj10Cyjuuzhi6j/390C+YCdUpybG6cXl+OOK35vmWNYBS5x1uNZabJAhIPJlOgMU9kc4Gt839hnGHyxILGf5KKBMtKjwDGxbuxEmLM+yPMY31gZMXNdkV4cbHKRighEponRI=; 5:EGymxi51VoTcy3ap7eVXCDu0ftDxnGJ+eouzzoV4HEAtAdsdaZygrJ0GsBAlNmtiLUTE/8R+KWESy96HSv665payVc8T+T5DYbok4fbmTtbUGhobicoH2EJEMQ9hmGMe+zsBzf9S+XZLFy0cLqcmLkcV4BAwWMCmVMQ/ltCMH+0=; 24:RCIRMRQZ+9GMOswTAIAOuf6wlvH19sEPQhPEX0EY2CugdRpohla7/frHfaSp/eAv9zc1ZJHaerLJIOs3fByj/inTrt/D6SDxicY+ou2k+Rs=; 7:kqv1jnyOL9mRkBw7Jaqal2n7AJ1TVxLWtIArHb8xuIPTua7WiNh4pCq62hlwdUUdD5bbtBwaNKuo1LWk4y7o+rY89IgVBZBDL7bFn55VsGV7OWe0vXnH8800ZwInGNTLXxM/dMlfMwXJSfKUAwtX/vu6JQtukxzX63ICIbDkTFVpVpGobWu9CzrtobapCfs01FfrsxsqD8ZWaClmeutfTFUFee95fEYslID4ViaXX4jwc+uQEMQ+2++JPuOiz6Pi
x-ms-exchange-antispam-srfa-diagnostics: SSOS;
x-ms-office365-filtering-correlation-id: 85e9c57f-9ddb-486f-1b92-08d52d6ffd9e
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(48565401081)(2017052603258); SRVR:MWHPR05MB3550;
x-ms-traffictypediagnostic: MWHPR05MB3550:
x-ld-processed: bea78b3c-4cdb-4130-854a-1d193232e5f4,ExtAddr
x-microsoft-antispam-prvs: <MWHPR05MB3550B2E36C54EB37EDD1FA34C72F0@MWHPR05MB3550.namprd05.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(37575265505322)(138986009662008)(95692535739014)(227612066756510)(21748063052155)(50582790962513);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(3002001)(100000703101)(100105400095)(3231022)(10201501046)(93006095)(93001095)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123562025)(20161123560025)(20161123555025)(20161123564025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:MWHPR05MB3550; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:MWHPR05MB3550;
x-forefront-prvs: 049486C505
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(346002)(376002)(39860400002)(189002)(199003)(50986999)(3660700001)(54356999)(105586002)(790700001)(189998001)(102836003)(53936002)(6116002)(81166006)(7736002)(68736007)(33656002)(81156014)(8676002)(3846002)(101416001)(74316002)(4326008)(66066001)(3280700002)(6246003)(2906002)(478600001)(106356001)(230783001)(76176999)(236005)(14454004)(54906003)(15650500001)(10710500007)(2420400007)(99286004)(9686003)(25786009)(6306002)(54896002)(2900100001)(316002)(6436002)(8936002)(77096006)(53546010)(55016002)(110136005)(229853002)(2950100002)(93886005)(5660300001)(2501003)(7110500001)(6506006)(97736004)(86362001)(7696004); DIR:OUT; SFP:1102; SCL:1; SRVR:MWHPR05MB3550; H:MWHPR05MB3551.namprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en;
received-spf: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_MWHPR05MB3551810B278B964DD7822526C72F0MWHPR05MB3551namp_"
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-Network-Message-Id: 85e9c57f-9ddb-486f-1b92-08d52d6ffd9e
X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Nov 2017 04:02:16.1629 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR05MB3550
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-11-17_01:, , signatures=0
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1711170052
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/AcI1OHmT8KKLVElhSo-hYcyn15k>
Subject: Re: [spring] [mpls] redux: Special purpose labels in draft-hegde-spring-traffic-accounting-for-sr-paths
X-BeenThere: spring@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Stacked Tunnels for Source Routing \(STATUS\)." <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: Fri, 17 Nov 2017 04:02:42 -0000

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] On Behalf Of John E Drake
Sent: Thursday, November 16, 2017 8:00 PM
To: Ext - Ruediger.Geib@telekom.de<mailto:Ruediger.Geib@telekom.de> <Ruediger.Geib@telekom.de<mailto:Ruediger.Geib@telekom.de>>; adrian@olddog.co.uk<mailto:adrian@olddog.co.uk>
Cc: draft-hegde-spring-traffic-accounting-for-sr-paths@ietf.org<mailto:draft-hegde-spring-traffic-accounting-for-sr-paths@ietf.org>; spring@ietf.org<mailto:spring@ietf.org>; zali@cisco.com<mailto:zali@cisco.com>; robert@raszuk.net<mailto:robert@raszuk.net>; mpls@ietf.org<mailto: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] On Behalf Of Ruediger.Geib@telekom.de<mailto:Ruediger.Geib@telekom.de>
Sent: Thursday, November 16, 2017 4:44 AM
To: adrian@olddog.co.uk<mailto:adrian@olddog.co.uk>
Cc: draft-hegde-spring-traffic-accounting-for-sr-paths@ietf.org<mailto:draft-hegde-spring-traffic-accounting-for-sr-paths@ietf.org>; spring@ietf.org<mailto:spring@ietf.org>; robert@raszuk.net<mailto:robert@raszuk.net>; mpls@ietf.org<mailto:mpls@ietf.org>; zali@cisco.com<mailto: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] Im Auftrag von Adrian Farrel
Gesendet: Donnerstag, 16. November 2017 06:35
An: 'Mach Chen' <mach.chen@huawei.com<mailto:mach.chen@huawei.com>>; 'Jeff Tantsura' <jefftant.ietf@gmail.com<mailto:jefftant.ietf@gmail.com>>; 'Robert Raszuk' <robert@raszuk.net<mailto:robert@raszuk.net>>
Cc: 'draft-hegde-spring-traffic-accounting-for-sr-paths' <draft-hegde-spring-traffic-accounting-for-sr-paths@ietf.org<mailto:draft-hegde-spring-traffic-accounting-for-sr-paths@ietf.org>>; 'spring' <spring@ietf.org<mailto:spring@ietf.org>>; 'Zafar Ali (zali)' <zali@cisco.com<mailto:zali@cisco.com>>; 'mpls' <mpls@ietf.org<mailto: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