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

Shraddha Hegde <shraddha@juniper.net> Thu, 16 November 2017 03:11 UTC

Return-Path: <shraddha@juniper.net>
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 CB5D712943A; Wed, 15 Nov 2017 19:11:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.021
X-Spam-Level:
X-Spam-Status: No, score=-2.021 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_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-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 2FagSBee7GQJ; Wed, 15 Nov 2017 19:11:21 -0800 (PST)
Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0103.outbound.protection.outlook.com [104.47.37.103]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AE3FF12943C; Wed, 15 Nov 2017 19:11:21 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=TiXxt8sbYWxZXMLpV411X1eQxKkLTlpb+n+GOR9baUw=; b=KupasfZyVdcxitymG/qiUtA/MnfQXFl4LkJaOSLRx0nT2tBbOKO3tn224jgyXTWWYIJe+ZD0ZqLjK7yqPoj/8LXVhACioGSH+4gOnddfuB6WbxsvclvQSrV0Tzm8Xdf71WVJeZn3VAvQcoTiyCRKuGkuNN41xC4RSrFYbuE5zgQ=
Received: from BN3PR05MB2706.namprd05.prod.outlook.com (10.167.2.135) by BN3PR05MB2708.namprd05.prod.outlook.com (10.167.2.137) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.260.2; Thu, 16 Nov 2017 03:11:20 +0000
Received: from BN3PR05MB2706.namprd05.prod.outlook.com ([10.167.2.135]) by BN3PR05MB2706.namprd05.prod.outlook.com ([10.167.2.135]) with mapi id 15.20.0239.005; Thu, 16 Nov 2017 03:11:19 +0000
From: Shraddha Hegde <shraddha@juniper.net>
To: Robert Raszuk <robert@raszuk.net>, Jeff Tantsura <jefftant.ietf@gmail.com>
CC: Xuxiaohu <xuxiaohu@huawei.com>, Greg Mirsky <gregimirsky@gmail.com>, spring <spring@ietf.org>, mpls <mpls@ietf.org>, "Zafar Ali (zali)" <zali@cisco.com>, draft-hegde-spring-traffic-accounting-for-sr-paths <draft-hegde-spring-traffic-accounting-for-sr-paths@ietf.org>
Thread-Topic: [spring] [mpls] Special purpose labels in draft-hegde-spring-traffic-accounting-for-sr-paths
Thread-Index: AQHTXoVQQtsEGKn4wUCvuuDCLNT9DKMWTlAAgAAD0nA=
Date: Thu, 16 Nov 2017 03:11:19 +0000
Message-ID: <BN3PR05MB2706590E51C262075908BFD1D52E0@BN3PR05MB2706.namprd05.prod.outlook.com>
References: <CA+RyBmUHAkuA3o-LpHhMwCbkh0k+emt9OZ3B8Njj2h=jaasTZw@mail.gmail.com> <3B1EE673-044F-4E47-9C56-6FF360905C58@cisco.com> <1FEE3F8F5CCDE64C9A8E8F4AD27C19EE3047CEC9@NKGEML515-MBS.china.huawei.com> <CA+b+ERkNqQqCLyPhKLaZuMp0jAyOFW7FTb=0QKsOyRy10auyrA@mail.gmail.com> <E4E0C34F-27A7-43A3-BACE-2EFDB3D8600C@gmail.com> <CA+b+ERmyzCw+VkcVqMmnOPbmf8aE0Sp2kbicomAL7hGtCO8Phg@mail.gmail.com>
In-Reply-To: <CA+b+ERmyzCw+VkcVqMmnOPbmf8aE0Sp2kbicomAL7hGtCO8Phg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [2001:67c:1232:144:1cbe:8515:7d99:4c2a]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; BN3PR05MB2708; 6:tfF/u2l0ONFudV3zKqEctt5DtMPzF5F1Gd76XSHYPdqNBGHhu+TPBWENQfLu+MKx0dye/2k9NEYpWtuESuXJtR7kD+pb/QTepWRIxAdKpDrNrGrHfCj2OFYYmf82paPLxpmPm7jJfmXFfe2cUjxKdyHgrLOhPEytz1Imrnz0tFMuY9hHHoliGv2NcJ6KMEGzWhSU9r6fXq3aPAakj0ZzGybL8631lOBNddOd4HOIy0egEK+7td8OJDjYi0lNLs9USXdJClvIYr6tbQbuOaEvrBXI/+Jtub57HzCHKjLszCpTtyKIwCmGJzm+9gGWA83gKnFPYf3GkEE0M7boKBwCyGe4pJiNNixtVaxItbSMO3s=; 5:BSaxMuoEDI7iys/pCFCAAWZO9ZTNFeQQ1UuV8ns9qUwn+mJc2dwPaRiFPdz+++6+D1VpCPtsSYCZzTKuTtVntoOHYtrZmJKsnaf0FseJi3ZcXidUjzCdVC/Jld1Wmezt+Xy1kln4NMsI2p//z03jkkLj6cvLfsOSi3oAV2iNfyc=; 24:brGz/BlsqO3Ndu0drcxuSZTLXPe6fPdailU++YKty2THpGnKv8T2wYC7Bbe0RB77SBCHv1FhpaVibq+NJlpVdb3ae2cy03lMG2XFLSMknQM=; 7:8PQY/tEPxbQ/rmCfsxVY/VXa8XtYKnQgoN1gxixyZ3vo2G9wmL+t1EOfk6Gb5jnarMevfA4s2+nbBkZvanl83RCEGJCfzj0saJc3LUYphnCdFGMIYEl+7RfZ7wy9bUAz/gzfE3fXE0gb9IA8mv5yWvWc4cJdwvV/8tUVcW5DcoXFzTbucRtjOWNkfl2rOuGGLSTrKQc4CfLOcyT9LaWZFWfFybeIdkKg5wbMfb8J6LeTCAxC7ZegCj1vs+u4qGvr
x-ms-exchange-antispam-srfa-diagnostics: SSOS;
x-ms-office365-filtering-correlation-id: 7d3328e6-8f7a-4e39-4eb7-08d52c9fb589
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(48565401081)(2017052603258); SRVR:BN3PR05MB2708;
x-ms-traffictypediagnostic: BN3PR05MB2708:
x-microsoft-antispam-prvs: <BN3PR05MB270841564D8218DF858A284ED52E0@BN3PR05MB2708.namprd05.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(10436049006162)(50582790962513)(95692535739014);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3231022)(100000703101)(100105400095)(3002001)(6055026)(6041248)(20161123558100)(20161123562025)(20161123555025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN3PR05MB2708; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN3PR05MB2708;
x-forefront-prvs: 0493852DA9
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(376002)(39860400002)(346002)(199003)(13464003)(189002)(24454002)(377424004)(6306002)(9686003)(99286004)(8676002)(81156014)(102836003)(6116002)(229853002)(6246003)(39060400002)(53936002)(101416001)(81166006)(25786009)(55016002)(77096006)(6506006)(105586002)(4326008)(6436002)(50986999)(54356999)(230783001)(189998001)(76176999)(106356001)(3660700001)(3280700002)(345774005)(15650500001)(2906002)(4001150100001)(2900100001)(478600001)(7696004)(74316002)(93886005)(305945005)(5660300001)(97736004)(7736002)(86362001)(53546010)(33656002)(68736007)(966005)(316002)(14454004)(2950100002)(8936002)(575784001)(110136005)(54906003); DIR:OUT; SFP:1102; SCL:1; SRVR:BN3PR05MB2708; H:BN3PR05MB2706.namprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en;
received-spf: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=shraddha@juniper.net;
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-Network-Message-Id: 7d3328e6-8f7a-4e39-4eb7-08d52c9fb589
X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Nov 2017 03:11:19.9421 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR05MB2708
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/5CCD9iCoqQbu0A4sM1PUoXnV6mY>
Subject: Re: [mpls] [spring] 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: Thu, 16 Nov 2017 03:11:28 -0000

Robert,

If we have to get the N:1 mapping then we need to count all the N flows on a transit router.
N is really huge number and it is really not practical to count every flow on a transit router.

There have also been comments about creating state in the network.
The proposed solution in the draft does not create per-path forwarding state and does not create any per-path control state in
The network. It's only the counters that are getting created per-path which is most essential for OAM.

Rgds
Shraddha

-----Original Message-----
From: rraszuk@gmail.com [mailto:rraszuk@gmail.com] On Behalf Of Robert Raszuk
Sent: Thursday, November 16, 2017 10:51 AM
To: Jeff Tantsura <jefftant.ietf@gmail.com>
Cc: Xuxiaohu <xuxiaohu@huawei.com>; Greg Mirsky <gregimirsky@gmail.com>; spring <spring@ietf.org>; mpls <mpls@ietf.org>; Zafar Ali (zali) <zali@cisco.com>; draft-hegde-spring-traffic-accounting-for-sr-paths <draft-hegde-spring-traffic-accounting-for-sr-paths@ietf.org>
Subject: Re: [spring] [mpls] Special purpose labels in draft-hegde-spring-traffic-accounting-for-sr-paths

As explained it is not needed to get all information required per path.

Yes you may have N:1 mapping of flows to path so what is the problem ?

thx
r.

On Nov 16, 2017 10:47, "Jeff Tantsura" <jefftant.ietf@gmail.com> wrote:

> Robert,
>
>
>
> HW counters are rather precious resources, but that’s beside the point.
>
> An architecture is not an immutable object, on contrary, a very import 
> property of a good architecture is flexibility and agility, ability to 
> adapt when business need arises.
>
>
>
> Keeping semantics aside – what’s needed, is a metadata (here encoded 
> as a
> label) that uniquely identifies a path, where FIB lookup would yield 
> an “counter hit”, potentially counter creation if the packet is the 
> first packet in the flow. Value of the label would be hashed in the 
> counter ID that is unique and could be resolved by a management layer 
> into accounting record.
>
>
>
> Cheers,
>
> Jeff
>
>
>
> *From: *spring <spring-bounces@ietf.org> on behalf of Robert Raszuk < 
> robert@raszuk.net>
> *Date: *Thursday, November 16, 2017 at 10:26
> *To: *Xuxiaohu <xuxiaohu@huawei.com>
> *Cc: *Greg Mirsky <gregimirsky@gmail.com>, spring <spring@ietf.org>, 
> mpls <mpls@ietf.org>, "Zafar Ali (zali)" <zali@cisco.com>, 
> draft-hegde-spring-traffic-accounting-for-sr-paths < 
> draft-hegde-spring-traffic-accounting-for-sr-paths@ietf.org>
> *Subject: *Re: [spring] [mpls] Special purpose labels in 
> draft-hegde-spring-traffic-accounting-for-sr-paths
>
>
>
> The architecture is fine. This is accounting state not forwarding state.
>
>
>
> But no new labels are needed.
>
>
>
> See on ingress you apply sr label stack based on some match of the 
> fields of actual packet. So all you need is to do accounting on the 
> very same fields of the packets on egress and you have path accounting 
> required for you.
>
>
>
> Besides this method also seamlessly works over non sr capable SFs as 
> long as such SFs do not mess with the packet content of those tuples.
>
>
>
> cheers,
>
> r.
>
>
>
> On Nov 16, 2017 10:05, "Xuxiaohu" <xuxiaohu@huawei.com> wrote:
>
> Concur. Although it has some values, it's not cost-efficient from my 
> point of view. Network simplicity should be the first priority object. 
> Hence we would have to make some compromise.
>
> Best regards,
> Xiaohu
>
>
>
> ------------------------------
>
> 徐小虎 Xuxiaohu
> M:+86-13910161692
> E:xuxiaohu@huawei.com
> 产品与解决方案-网络战略与业务发展部
> Products & Solutions-Network Strategy & Business Development Dept
>
> *发件人:* Zafar Ali (zali)
>
> *收件人:* Greg Mirsky<gregimirsky@gmail.com>;draft-hegde-spring-traffic-
> accounting-for-sr-paths<draft-hegde-spring-traffic-
> accounting-for-sr-paths@ietf.org>;mpls<mpls@ietf.org>;spring<
> spring@ietf.org>
>
> *主**题**:* Re: [mpls] [spring] Special purpose labels in 
> draft-hegde-spring-traffic-accounting-for-sr-paths
>
> *时间:* 2017-11-16 02:24:10
>
>
>
> Hi,
>
>
>
> This draft breaks the SR architecture. I am quoting a snippet from 
> abstract of SR Architecture document 
> https://urldefense.proofpoint.com/v2/url?u=https-3A__tools.ietf.org_ht
> ml_&d=DwIFaQ&c=HAkYuh63rsuhr6Scbfh0UjBXeMK-ndb3voDTXcWzoCI&r=NyjLsr7JA
> 7mvpCJa0YmPdVKcmMXJ31bpbBaNqzCNrng&m=D8UZYa9EWpns6URXJvtBqZ5gX2lDpl7l5
> ZTaXTlEJGw&s=xB3z335gatRnndYZzanLmzNqezYOznxweYSwcOKuMMo&e=
> draft-ietf-spring-segment-routing-13, which states:
>
> “SR allows to enforce a flow through any topological path while 
> maintaining per-flow state only at the ingress nodes to the SR domain.”
>
>
>
> In addition to creating states at transit and egress nodes, the 
> procedure also affects the data plane and makes it unscalable. It also 
> makes controller job much harder and error prune. In summary, I find 
> the procedure very complex and unscalable.
>
>
>
> Thanks
>
>
>
> Regards … Zafar
>
>
>
>
>
> *From: *spring <spring-bounces@ietf.org> on behalf of Greg Mirsky < 
> gregimirsky@gmail.com>
> *Date: *Wednesday, November 15, 2017 at 11:10 AM
> *To: *"draft-hegde-spring-traffic-accounting-for-sr-paths@ietf.org" < 
> draft-hegde-spring-traffic-accounting-for-sr-paths@ietf.org>, "
> mpls@ietf.org" <mpls@ietf.org>, "spring@ietf.org" <spring@ietf.org>
> *Subject: *[spring] Special purpose labels in 
> draft-hegde-spring-traffic- accounting-for-sr-paths
>
>
>
> Hi Shraddha,
>
> thank you for very well written and thought through draft. I have 
> these questions I'd like to discuss:
>
> ·  Have you thought of using not one special purpose label for both SR 
> Path Identifier and SR Path Identifier+Source SID cases but request 
> two special purpose labels, one for each case. Then the SR Path 
> Identifier would not have to lose the bit for C flag.
>
> ·  And how you envision to collect the counters along the path? Of 
> course, a Controller may query LSR for all counters or counters for 
> the particular flow (SR Path Identifier+Source SID). But in addition 
> I'd propose to use in-band mechanism, perhaps another special purpose 
> label, to trigger the LSR to send counters of the same flow with the 
> timestamp out-band to the predefined Collector.
>
> ·  And the last, have you considered ability to flush counters per flow.
> In Scalability Considerations you've stated that counters are 
> maintained as long as collection of statistics is enabled. If that is 
> on the node scope, you may have to turn off/on the collection to flush off some old counters