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

John E Drake <jdrake@juniper.net> Thu, 16 November 2017 12:46 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 7C4B4129537; Thu, 16 Nov 2017 04:46:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.011
X-Spam-Level:
X-Spam-Status: No, score=-0.011 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, HTTPS_HTTP_MISMATCH=1.989, SPF_PASS=-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 8avgUhZBKXks; Thu, 16 Nov 2017 04:45:57 -0800 (PST)
Received: from mx0b-00273201.pphosted.com (mx0b-00273201.pphosted.com [67.231.152.164]) (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 6B04A129515; Thu, 16 Nov 2017 04:45:57 -0800 (PST)
Received: from pps.filterd (m0108163.ppops.net [127.0.0.1]) by mx0b-00273201.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id vAGCJ0vH022524; Thu, 16 Nov 2017 04:22:24 -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=vo2pP889iaqC6WWzznewVP4cfQc0R2nCER0rKQjOEUg=; b=X0Yxpef4/UVbqdXLiVDuPncG5avvrolkY98ixk+pGV5RacAZ6JxAezjf7tGIcU6KUyE2 PrL6V3I9pKaKozz4a1tCH0MCKzmuluG2B2rva7U4OpxtpgKgJt3BPCDQc52pP4OKQr22 +HuEaS2mD5u3VIMJA9rFxx07Pww16xDaPyiHEQ0EGQ5BOiuERVAabuBkbuAtOCt62yy6 lrXIKi9ey1cWfoRv+APDueT+vEIzpaT90EPLeke5w8CaGMHBrYha4aJaRVeQphX2t3eE 9IAh+TYzBcsi00Z0TQgZ6YIygVAZt72wartKPSy3t3ydhkYFYbZH8IVE9DqBQnYxBE2S Aw==
Received: from nam01-by2-obe.outbound.protection.outlook.com (mail-by2nam01lp0180.outbound.protection.outlook.com [216.32.181.180]) by mx0b-00273201.pphosted.com with ESMTP id 2e99uv02yj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 16 Nov 2017 04:22:24 -0800
Received: from DM5PR05MB3545.namprd05.prod.outlook.com (10.174.242.150) by DM5PR05MB3545.namprd05.prod.outlook.com (10.174.242.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.20.239.4; Thu, 16 Nov 2017 12:22:22 +0000
Received: from DM5PR05MB3545.namprd05.prod.outlook.com ([10.174.242.150]) by DM5PR05MB3545.namprd05.prod.outlook.com ([10.174.242.150]) with mapi id 15.20.0239.004; Thu, 16 Nov 2017 12:22:22 +0000
From: John E Drake <jdrake@juniper.net>
To: ShaoWen Ma <mashaowen@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>, mpls <mpls@ietf.org>, "Zafar Ali (zali)" <zali@cisco.com>
Thread-Topic: [mpls] [spring] Special purpose labels in draft-hegde-spring-traffic-accounting-for-sr-paths
Thread-Index: AQHTXoSoGsVGsItUl0CD4Lm0+5/MtKMW7XbA
Date: Thu, 16 Nov 2017 12:22:22 +0000
Message-ID: <DM5PR05MB3545F2FDFA57F991BB6EBF44C72E0@DM5PR05MB3545.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> <CAAcA-dup8g0GiXDemY8FcK9KtSgKnUoaAkTj9NFNQ-zLShd+3g@mail.gmail.com>
In-Reply-To: <CAAcA-dup8g0GiXDemY8FcK9KtSgKnUoaAkTj9NFNQ-zLShd+3g@mail.gmail.com>
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; DM5PR05MB3545; 6:2d6UkdP6g3+nbA1Qn6aRYl8uwFFzuDsPkq0ZXEZj1oy+6r4UZH7ZlJK8tHjWwGGKi/YRGxgkDwDrPY0eZahaQUOB0EbAz5hz2ETAQ7i7oxfnaokxFFPLfTOdRcYjkjs7nkgJupBl53CRyOJuhLO/KX3tZ9bnwwmkVkHdlqlmYZ2tCHE4RKV/9Sf7xowUNhYjjiYH9xYIpkBH1KguG5BF6y1Zb8V1BsTApSDBXWlGrj8vXw5QnwGzpbwrbAa1DCe3eFYeJBWwc3UUvQYuQvBcHyHII9k+bT1WG8vSoEzU9YSVS+LLUGHI0Rqe8nbHzFCVw9yLz+UzuPqs9F2eRMq7obptolrt0wLvyyF5eGUlUu4=; 5:kgozdNZ1mZsaBdc5+RtQkJ6qWNlLpFj0OgXOkjoO1LpLsyThbTBUD31xlQeVirMtY+PWRzNuYk0F0BHsL9/cot0aKEKeKj7flulRT+5c+hpZQeZFvGNbt9oGwSQ6pukp80p3IYTba6ba2MloEUPri9DV33HOuaRpNWAtcy/xExQ=; 24:qs2KELhFGfRHvJ0qaRWLlrRbudWlKooAzp+iz15f1d1McyWLFYf4qqe/+qFlk4kOftEGPUH1RUHA11KZjOk5EF73UFBoAldInY2MswTtRv4=; 7:xPCZ4HmWlCCxAjXjg1fZ/nLXCvJOEc+h1TWzQGBtqc5Zs0MrUzdx5o4n12tZ/DCAKNneV0MO7zIhc7qj7ob014YIG8j1Cp/QWw53HbaIjW+hdchjmFUCQfU+Z+7mjPktog4j3nmAzApEWhei9s49vN272ik21vOyfN/VxvCgQW6w+vPbhG74it7NpweZM3Ro+kwEA0fIGM044702Iv7dRsFhmyDLalMwJDFOa/TZQCGMzPwnHSb/aHG6UTcYyx7E
x-ms-exchange-antispam-srfa-diagnostics: SSOS;
x-ms-office365-filtering-correlation-id: 81c9c776-ae9e-49c3-af78-08d52cecb02f
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(48565401081)(2017052603258); SRVR:DM5PR05MB3545;
x-ms-traffictypediagnostic: DM5PR05MB3545:
x-microsoft-antispam-prvs: <DM5PR05MB3545528A3756FF991481F00AC72E0@DM5PR05MB3545.namprd05.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(10436049006162)(50582790962513)(95692535739014)(227612066756510)(21748063052155);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(93006095)(93001095)(3002001)(100000703101)(100105400095)(3231022)(10201501046)(6055026)(6041248)(20161123558100)(20161123562025)(20161123555025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DM5PR05MB3545; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DM5PR05MB3545;
x-forefront-prvs: 0493852DA9
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(346002)(376002)(39860400002)(377424004)(189002)(24454002)(199003)(51444003)(345774005)(2900100001)(230783001)(66066001)(189998001)(76176999)(68736007)(6506006)(77096006)(54356999)(2906002)(8676002)(81166006)(81156014)(7110500001)(50986999)(53546010)(19609705001)(55016002)(606006)(93886005)(101416001)(74316002)(7736002)(86362001)(102836003)(106356001)(110136005)(966005)(105586002)(33656002)(54906003)(478600001)(97736004)(316002)(4001150100001)(14454004)(25786009)(6306002)(7696004)(3846002)(54896002)(53936002)(15650500001)(2420400007)(3660700001)(9686003)(8936002)(4326008)(790700001)(99286004)(229853002)(236005)(5660300001)(3280700002)(6436002)(2950100002)(39060400002)(6116002)(6246003); DIR:OUT; SFP:1102; SCL:1; SRVR:DM5PR05MB3545; H:DM5PR05MB3545.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_DM5PR05MB3545F2FDFA57F991BB6EBF44C72E0DM5PR05MB3545namp_"
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-Network-Message-Id: 81c9c776-ae9e-49c3-af78-08d52cecb02f
X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Nov 2017 12:22:22.1206 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR05MB3545
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-11-16_05:, , 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=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1711160168
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/x017BQHI4YCrPqASwxmnrwGc0oc>
Subject: Re: [spring] [mpls] 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: Thu, 16 Nov 2017 12:46:12 -0000

ShaoWen,

We are not talking about per-flow counting but rather per SR Segment list counting.

Yours Irrespectively,

John

From: mpls [mailto:mpls-bounces@ietf.org] On Behalf Of ShaoWen Ma
Sent: Wednesday, November 15, 2017 9:43 PM
To: 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>; mpls <mpls@ietf.org>; Zafar Ali (zali) <zali@cisco.com>
Subject: Re: [mpls] [spring] Special purpose labels in draft-hegde-spring-traffic-accounting-for-sr-paths

Hi Robert and all,
  SPRING try to get rid of per flow forwarding status. that's the design principal for whole network.
  and Shraddha just want to add back per flow Traffic statistics as request, which will only applied to interested flow.

  if you check the label stack for traffic statistics, that might be get some processing trouble to handle:
{300|200|100} with another label stack such as {400|300|200|100} on the same nodes.

  so path id do have it's value if customer want to check specific flow, by not impact all packet process on the transit router.

Best Regards
Shaowen Ma


On Thu, Nov 16, 2017 at 10:26 AM, Robert Raszuk <robert@raszuk.net<mailto:robert@raszuk.net>> wrote:
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<mailto: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<tel:+86-13910161692>
E:xuxiaohu@huawei.com<mailto:xuxiaohu@huawei.com>
产品与解决方案-网络战略与业务发展部
Products & Solutions-Network Strategy & Business Development Dept
发件人: Zafar Ali (zali)
收件人: Greg Mirsky<gregimirsky@gmail.com<mailto:gregimirsky@gmail.com>>;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>>;mpls<mpls@ietf.org<mailto:mpls@ietf.org>>;spring<spring@ietf.org<mailto: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://tools.ietf.org/html/draft-ietf-spring-segment-routing-13<https://urldefense.proofpoint.com/v2/url?u=https-3A__tools.ietf.org_html_draft-2Dietf-2Dspring-2Dsegment-2Drouting-2D13&d=DwMFaQ&c=HAkYuh63rsuhr6Scbfh0UjBXeMK-ndb3voDTXcWzoCI&r=CRB2tJiQePk0cT-h5LGhEWH-s_xXXup3HzvBSMRj5VE&m=pDf9Z_0bnb1M7ZTb9cuNMjqRvJMQ3j-OP-PYnk8mLsE&s=iLt83qz5E4U-p9yrmrynWZOsqFbqZtvO4kCko3KsFQs&e=>, 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<mailto:spring-bounces@ietf.org>> on behalf of Greg Mirsky <gregimirsky@gmail.com<mailto:gregimirsky@gmail.com>>
Date: Wednesday, November 15, 2017 at 11:10 AM
To: "draft-hegde-spring-traffic-accounting-for-sr-paths@ietf.org<mailto:draft-hegde-spring-traffic-accounting-for-sr-paths@ietf.org>" <draft-hegde-spring-traffic-accounting-for-sr-paths@ietf.org<mailto:draft-hegde-spring-traffic-accounting-for-sr-paths@ietf.org>>, "mpls@ietf.org<mailto:mpls@ietf.org>" <mpls@ietf.org<mailto:mpls@ietf.org>>, "spring@ietf.org<mailto:spring@ietf.org>" <spring@ietf.org<mailto: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. I think that finer granularity, per flow granularity would be useful for operators. Again, perhaps the flow itself may be used to signal the end of the measurement and trigger release of counters.
Regards,
Greg

_______________________________________________
mpls mailing list
mpls@ietf.org<mailto:mpls@ietf.org>
https://www.ietf.org/mailman/listinfo/mpls<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ietf.org_mailman_listinfo_mpls&d=DwMFaQ&c=HAkYuh63rsuhr6Scbfh0UjBXeMK-ndb3voDTXcWzoCI&r=CRB2tJiQePk0cT-h5LGhEWH-s_xXXup3HzvBSMRj5VE&m=pDf9Z_0bnb1M7ZTb9cuNMjqRvJMQ3j-OP-PYnk8mLsE&s=aTsPnyRyp1Lp89MSXSIobm3FyFI7pnVCedU9BHwYSZs&e=>

_______________________________________________
spring mailing list
spring@ietf.org<mailto:spring@ietf.org>
https://www.ietf.org/mailman/listinfo/spring<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ietf.org_mailman_listinfo_spring&d=DwMFaQ&c=HAkYuh63rsuhr6Scbfh0UjBXeMK-ndb3voDTXcWzoCI&r=CRB2tJiQePk0cT-h5LGhEWH-s_xXXup3HzvBSMRj5VE&m=pDf9Z_0bnb1M7ZTb9cuNMjqRvJMQ3j-OP-PYnk8mLsE&s=m2O9yZ_fhqx3EWotB7qiZTrgYXqZ03Cw3IiHwOL4pdg&e=>