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

Greg Mirsky <gregimirsky@gmail.com> Thu, 16 November 2017 02:36 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 C410F120227; Wed, 15 Nov 2017 18:36:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 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] 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 zoiuvPj3Nmdu; Wed, 15 Nov 2017 18:36:54 -0800 (PST)
Received: from mail-lf0-x230.google.com (mail-lf0-x230.google.com [IPv6:2a00:1450:4010:c07::230]) (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 1D010129421; Wed, 15 Nov 2017 18:36:52 -0800 (PST)
Received: by mail-lf0-x230.google.com with SMTP id 73so14147918lfu.10; Wed, 15 Nov 2017 18:36:52 -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=fiqRY3vIvKZJs20NAUk66MlIoDbRyYcemJeK2lFsG2A=; b=boCmTYeIAra4mtU6VYyWH/3f5k4Ky8oRwAJsDnjGKErxSe3K2aR4mbahj3TvDij7Zg DPYxeL+ZmYY9USYkuRfRrbyF2jyA2iuWSyvhqSyAFFAgeLG8ub3poh2Pm4u4x8ALfnck nx3RBok5k5L/oU0SNxKNi2O/Us9Oylv4RLQB1k6qZ4GvBDVeTpybAp0BQThVp4s91VkL FmZhiyc8nsn3CtAstXQGrN7V5Sd2kRsl8Zp/XDI/NQvZVQC+sqd4eXU8f6npvdIrb/Xh Ilpn0FEAmbVjeooHEQG35tys3kjPSUzXpVYAqZUT5MregzPP/ahPpa8JN4bgNQ44ZBIh aP2Q==
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=fiqRY3vIvKZJs20NAUk66MlIoDbRyYcemJeK2lFsG2A=; b=QrgshxW1sQ4wvkM6rkRL4WmPif2c/BnH3yAo2zoEn69iumGhCWZXlGp+MAtuQQ0ZBI MpLkmkch149KBthvGUTR7/CFsgxp+2u478GloxFI/0nL+TJJgeDqiOuOPDaws8MW5jhc WjpEzzteCwJdO2jSle9T7uzqKw6gd1ZzGVJyIhUmT3ehoN8S3ztvbcbp3OECAB21/sSb CN+DZJL9PqIHz4mpYthDh1cbll/Z5o79NHmEWuNeNw9/jnr2VjQR7JIpPZHwfNyyjqCT fljB3RzN9DzMxdtfkdSYdMevGyIENWqv60OIqCYkIbR2rdsC1PCpOD+dW9MXCpZRt1o1 JmWw==
X-Gm-Message-State: AJaThX5TrIaEDM8mNWk2WXdQYXQDd+JZfhum9/jha4RyFhyg1Dhk2Joj +M/TPMc0DTkIEiOJla3n8XQFaw4XdkJI9fcwCc0=
X-Google-Smtp-Source: AGs4zMZSTsV9O/riwx359gVMBs2QCv7ObKcuAFhsXYR4JrCkJNmnB189xsU6GituIiRnf+BTFekXk1Fk7DM5QLAxyuo=
X-Received: by 10.25.87.138 with SMTP id l132mr36224lfb.147.1510799810297; Wed, 15 Nov 2017 18:36:50 -0800 (PST)
MIME-Version: 1.0
Received: by 10.46.32.136 with HTTP; Wed, 15 Nov 2017 18:36:49 -0800 (PST)
In-Reply-To: <CA+b+ERmNCGfK+nDF7iTeaHBXffdg8M=ifXr5xJeQg-L6O6H_1Q@mail.gmail.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> <CA+RyBmU-cFYP2-fV-Erm=eXeNrCJ6CEdEiFqD-8H9V7ViQY=dQ@mail.gmail.com> <CA+b+ERmNCGfK+nDF7iTeaHBXffdg8M=ifXr5xJeQg-L6O6H_1Q@mail.gmail.com>
From: Greg Mirsky <gregimirsky@gmail.com>
Date: Thu, 16 Nov 2017 10:36:49 +0800
Message-ID: <CA+RyBmUZGTEcQEUn+CBk0BUj2jKwbVqhOv44qm7TMwXUcY=xXg@mail.gmail.com>
To: Robert Raszuk <robert@raszuk.net>
Cc: Xuxiaohu <xuxiaohu@huawei.com>, "Zafar Ali (zali)" <zali@cisco.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>
Content-Type: multipart/alternative; boundary="001a1141e4b4050614055e107eed"
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/GH2JYLfJ9eFdGc5xHSJlHHhTc1A>
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 02:36:57 -0000

Hi Robert,
consider number of ACL filters one has to configure just in case the
particular SR flow comes along. Yes, that works but there are other costs
to pay. The proposed approach has some very attractive, IMHO, qualities.

Regards,
Greg

On Thu, Nov 16, 2017 at 10:34 AM, Robert Raszuk <robert@raszuk.net> wrote:

> Greg,
>
> There is zero labels of any sort in my proposal needed. Just basic netflow.
>
> best
> r.
>
> On Nov 16, 2017 10:31, "Greg Mirsky" <gregimirsky@gmail.com> wrote:
>
>> Hi Robert,
>> you proposal is similar to idea of Synonymous Labels
>> <https://tools.ietf.org/html/draft-ietf-mpls-sfl-framework-00>but I'm
>> afraid it will not scale for SR-MPLS as it require that the whole SR MPLS
>> stack must consist of such synonymous labels. And that will create state in
>> the transient nodes in the data plane, IMHO of course.
>>
>> Regards,
>> Greg
>>
>> On Thu, Nov 16, 2017 at 10:26 AM, Robert Raszuk <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> 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-heg
>>>> de-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://tools.ietf.org/html/dr
>>>> aft-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. 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
>>>> https://www.ietf.org/mailman/listinfo/mpls
>>>>
>>>>
>>