Re: [Detnet] Regarding the model for Active OAM packet

Greg Mirsky <gregimirsky@gmail.com> Wed, 19 September 2018 03:28 UTC

Return-Path: <gregimirsky@gmail.com>
X-Original-To: detnet@ietfa.amsl.com
Delivered-To: detnet@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 44A89130E06; Tue, 18 Sep 2018 20:28:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 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_NONE=-0.0001, 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 Jm8RAiBM3JQy; Tue, 18 Sep 2018 20:28:52 -0700 (PDT)
Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [IPv6:2a00:1450:4864:20::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 77E97130DD5; Tue, 18 Sep 2018 20:28:52 -0700 (PDT)
Received: by mail-lj1-x230.google.com with SMTP id 203-v6so3632192ljj.13; Tue, 18 Sep 2018 20:28:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=gzHKfjl1xvCZmhSjCmPmCPLef9TNa1zperip/ncG4vM=; b=gLCfSCUISYi8REUxt/bWaoKMWmh4VjRKf9Afid8n15P49o0VBshz1DL0K+oqBRkyI+ 2XAhobsO4kUavvR8ZZpKyQa11Fzal/BsOUk3fYL0xKJ2tIDjVLcznqJ2qReJH5jH5Bjh w2tCG891+quDDtubeRdKPhwC80kBN/LQAoBMuUCwqCmc5HKy2gzCoS+0h3RmSTOyzwNj syh1C1wvRKNx1khBOgfZjOTJqBMZmCucanRZxoUU07x7i8Ccba7Rkk9uU8bknObinjcc QaflHLpuIB3LXhGxY/1F1EG+rBGTEgWyOCBVy7ZYtDmgJnNUaYFTl/0la+RMmcaiQcax XQCg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=gzHKfjl1xvCZmhSjCmPmCPLef9TNa1zperip/ncG4vM=; b=sFgvkbmEIJ0E67aG7HfqkqtL4Zj9yXVZBFpJFdOD5y5ZwHsY3VA6g3y+/nPDOxuytl Kcz7ro6hYuxL7U5igz7/CNaeAOCIc0HDhWrO/viLM/2kyt3DoeuPQgq1iUO8jS5XizrJ h538LaA6/B7NHTy3DWh30aSpFik7XGJH4UQyc184/8EYN25yI7VL1/8EAi82jp/ssf2A iqaxVePE3bQ5uf8yMaOS3YpOtMcb5FvfW+rnmJTUS3qINxJ1h49nTxD4SkspP594ZVkp NSTd7FC5LJ4m9ZxhIdfljiYwj0q3kz8pVFf52AtJptKphgtbNJlUeAABr3XKOdLpPNic jtxw==
X-Gm-Message-State: APzg51D02Dar3gA69qIyLY6y0Ty46SAlmxw26IUH2RSTFzbPK2/pNRWb ZN/DkSSQ8CzyIM+PJYeiD9ItxiLi2UlM2Jbmq/c=
X-Google-Smtp-Source: ANB0VdZjoEB/5diRB7+9W+NZVoQAE4MqmIDbMMsqFv+Wv1S9yZi0pXWEwi2gU2AyUd485IT//JOnzqGu/AEq6aub+wU=
X-Received: by 2002:a2e:8:: with SMTP id 8-v6mr20579575lja.112.1537327730369; Tue, 18 Sep 2018 20:28:50 -0700 (PDT)
MIME-Version: 1.0
References: <F73A3CB31E8BE34FA1BBE3C8F0CB2AE29267092D@dggeml530-mbs.china.huawei.com>
In-Reply-To: <F73A3CB31E8BE34FA1BBE3C8F0CB2AE29267092D@dggeml530-mbs.china.huawei.com>
From: Greg Mirsky <gregimirsky@gmail.com>
Date: Tue, 18 Sep 2018 20:28:41 -0700
Message-ID: <CA+RyBmX29+Q9y3dXM-PqYm-Nu8KtjYZDs6a-fh_rW5hacSpyRg@mail.gmail.com>
To: Mach Chen <mach.chen@huawei.com>
Cc: János Farkas <Janos.Farkas@ericsson.com>, DetNet WG <detnet@ietf.org>, detnet-chairs@ietf.org
Content-Type: multipart/alternative; boundary="00000000000045a63705763101d3"
Archived-At: <https://mailarchive.ietf.org/arch/msg/detnet/gKodPy16x72ADs7vtNUXSCB8idU>
Subject: Re: [Detnet] Regarding the model for Active OAM packet
X-BeenThere: detnet@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Discussions on Deterministic Networking BoF and Proposed WG <detnet.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/detnet>, <mailto:detnet-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/detnet/>
List-Post: <mailto:detnet@ietf.org>
List-Help: <mailto:detnet-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/detnet>, <mailto:detnet-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 19 Sep 2018 03:28:56 -0000

Hi Mach,
thank you for your attention to my comment and the most expedient response.
I don't find the DetNet Associated Channel defined in
draft-ietf-detnet-dp-sol-mpls and thus I assumed that OAM packets that
follow the data packet encapsulation defined in that draft use PW ACH as
defined in section 5 RFC 4385: True, it includes 8 bits-long Reserved field
that may be defined as OAM Sequence Number but that had not been discussed.
One is certain, existing nodes do not check the Reserved field. And without
a field to hold the sequence number, PREF will not handle the OAM packets.
Another question, additional processing and amount of state introduced in
the fast path by the fact that OAM's Sequence Number will have different
length and location in d-CW (differentiating cases by the first nibble).
Now, if we step back from DetnNet in MPLS data plane encapsulation, why the
control-word, as I understand, is configurable? I think that the Sequence
Number is not configurable, nor the first nibble. What do you think?

Regards,
Greg

On Tue, Sep 18, 2018 at 7:48 PM Mach Chen <mach.chen@huawei.com> wrote:

> Hi Greg,
>
> The MPLS DetNet header is defined as below:
>
> grouping mpls-detnet-header {
>     description
>         "The MPLS DetNet encapsulation header information.";
>     leaf service-label {
>       type uint32;
>       mandatory true;
>       description
>         "The service label of the DetNet header.";
>     }
>     leaf control-word {
>       type uint32;
>       mandatory true;
>       description
>         "The control word of the DetNet header.";
>     }
>   }
>
> Although do not consider Active OAM when design the above
> mpls-denet-header,  seems that it can cover Active OAM case as well. No
> matter a normal DetNet packet or an Active OAM packet, there should be a CW
> field, just as defined above.
>
> For normal DetNet packets, the CW is the d-CW as defined in the
> draft-ietf-detnet-dp-sol-mpls.
>
> For OAM packets, the CW is the "DetNet Associated Channel".
>
> Best regards,
> Mach
>
>
> > -----Original Message-----
> > From: detnet [mailto:detnet-bounces@ietf.org] On Behalf Of Greg Mirsky
> > Sent: Wednesday, September 19, 2018 3:17 AM
> > To: János Farkas <Janos.Farkas@ericsson.com>
> > Cc: DetNet WG <detnet@ietf.org>; detnet-chairs@ietf.org
> > Subject: Re: [Detnet] WG adoption poll draft-geng-detnet-conf-yang
> >
> > Hi Janos, et. al,
> > the mpls-detnet-header container is based on the solution described in
> > draft-ietf-detnet-dp-sol-mpls. Analysis of active SFC OAM in the proposed
> > MPLS data plane solution in draft-mirsky-detnet-oam points to the
> potential
> > problem as result the fact that OAM packet doesn't include d-CW. I
> believe
> > that this question should be discussed and, if we agree on the problem
> > statement, properly resolved. Until then, I do not support the adoption
> of
> > the model that may not be capable to support active OAM.
> >
> > Regards,
> > Greg
> > On Tue, Sep 18, 2018 at 12:03 PM Janos Farkas <Janos.Farkas@ericsson.com
> >
> > wrote:
> > >
> > > Dear all,
> > >
> > > This is start of a two week poll on making
> > > draft-geng-detnet-conf-yang-04 a working group document. Please send
> > > email to the list indicating "yes/support" or "no/do not support".  If
> > > indicating no, please state your reservations with the document.  If
> > > yes, please also feel free to provide comments you'd like to see
> > > addressed once the document is a WG document.
> > >
> > > The poll ends Oct 3.
> > >
> > > Thanks,
> > > János and Lou
> > >
> > > _______________________________________________
> > > detnet mailing list
> > > detnet@ietf.org
> > > https://www.ietf.org/mailman/listinfo/detnet
> >
> > _______________________________________________
> > detnet mailing list
> > detnet@ietf.org
> > https://www.ietf.org/mailman/listinfo/detnet
>