Re: [Pals] Mirja Kühlewind's Discuss on draft-ietf-pals-mpls-tp-pw-over-bidir-lsp-08: (with DISCUSS and COMMENT)

Mach Chen <mach.chen@huawei.com> Tue, 12 July 2016 07:43 UTC

Return-Path: <mach.chen@huawei.com>
X-Original-To: pals@ietfa.amsl.com
Delivered-To: pals@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E1AA012D649; Tue, 12 Jul 2016 00:43:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.508
X-Spam-Level:
X-Spam-Status: No, score=-5.508 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.287, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 Qm6R8We4XHUk; Tue, 12 Jul 2016 00:43:41 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3F21A12D0E7; Tue, 12 Jul 2016 00:43:40 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml701-cah.china.huawei.com) ([172.18.7.190]) by lhrrg01-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id CSK77921; Tue, 12 Jul 2016 07:43:36 +0000 (GMT)
Received: from SZXEMA417-HUB.china.huawei.com (10.82.72.34) by lhreml701-cah.china.huawei.com (10.201.5.93) with Microsoft SMTP Server (TLS) id 14.3.235.1; Tue, 12 Jul 2016 08:42:34 +0100
Received: from SZXEMA510-MBX.china.huawei.com ([169.254.3.173]) by SZXEMA417-HUB.china.huawei.com ([10.82.72.34]) with mapi id 14.03.0235.001; Tue, 12 Jul 2016 15:42:28 +0800
From: Mach Chen <mach.chen@huawei.com>
To: "Mirja Kuehlewind (IETF)" <ietf@kuehlewind.net>, "BRUNGARD, DEBORAH A" <db3546@att.com>
Thread-Topic: [Pals] Mirja Kühlewind's Discuss on draft-ietf-pals-mpls-tp-pw-over-bidir-lsp-08: (with DISCUSS and COMMENT)
Thread-Index: AQHR1tu4vG3B3U+azU26eaxj5RuoiaAKxWMAgAAS84CAACu6gIAAWd4AgAjA7SA=
Date: Tue, 12 Jul 2016 07:42:27 +0000
Message-ID: <F73A3CB31E8BE34FA1BBE3C8F0CB2AE28D7639CC@SZXEMA510-MBX.china.huawei.com>
References: <20160705163846.22350.79584.idtracker@ietfa.amsl.com> <ac40c272-8513-fc14-fa95-4a3ddc7231f1@gmail.com> <7b9f5b06-0c05-bda2-75ec-ebee6210ba60@gmail.com> <F64C10EAA68C8044B33656FA214632C8529BA4FD@MISOUT7MSGUSRDE.ITServices.sbc.com> <31D98B35-33CD-4BD6-8DCF-4593E4AC53FC@kuehlewind.net>
In-Reply-To: <31D98B35-33CD-4BD6-8DCF-4593E4AC53FC@kuehlewind.net>
Accept-Language: en-US, zh-CN
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.111.102.135]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-CFilter-Loop: Reflected
X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A090201.57849FA9.006E, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=169.254.3.173, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32
X-Mirapoint-Loop-Id: 3f98044d6a08b5a1f03055b19d775a90
Archived-At: <https://mailarchive.ietf.org/arch/msg/pals/RNfa9fm50Zrx97uXoDnBYFfw1Fc>
Cc: Stewart Bryant <stewart.bryant@gmail.com>, "pals-chairs@ietf.org" <pals-chairs@ietf.org>, The IESG <iesg@ietf.org>, "draft-ietf-pals-mpls-tp-pw-over-bidir-lsp@ietf.org" <draft-ietf-pals-mpls-tp-pw-over-bidir-lsp@ietf.org>, "pals@ietf.org" <pals@ietf.org>
Subject: Re: [Pals] Mirja Kühlewind's Discuss on draft-ietf-pals-mpls-tp-pw-over-bidir-lsp-08: (with DISCUSS and COMMENT)
X-BeenThere: pals@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: "Pseudowire And LDP-enabled Services dicussion list." <pals.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/pals>, <mailto:pals-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/pals/>
List-Post: <mailto:pals@ietf.org>
List-Help: <mailto:pals-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/pals>, <mailto:pals-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Jul 2016 07:43:45 -0000

Hi Mirja, all,

Usually unknown or unexpected TLVs are usually simply silently discarded in MPLS. Usually protocols designs we prefer not to be complicated for implementation errors ("too chatty"). As you say, though, we already noted for an error for "C-bit set and S-bit set" so we'll do the same for "C-bit clear and S-bit clear. If "both C-bit and S-bit" are set or "both C-bit and S-bit are clear" are received, we will use the error code "C-bit or S-bit unknown". This error code will also allow future extensions which may use those bits.

So, how about the following modification?

OLD:
" C-bit and S-bit are mutually exclusive from each other, and cannot be set in the same message. Otherwise, a Label Release message with status code set to "The C-bit and S-bit cannot both be set" (TBD5) MUST be replied, and the PW will not be established."

New:
"Either the C-bit or the S-bit MUST be set. The C-bit and S-bit are mutually exclusive from each other, and cannot be set in the same message. If "both C-bit and S-bit are set" or "both C-bit and S-bit are clear" are received, a Label Release message with status code set to "The C-bit or S-bit unknown" (TBD5) MUST be replied, and the PW will not be established."

Hope this addresses your DISCUSS!

Thanks,
Mach

> -----Original Message-----
> From: Pals [mailto:pals-bounces@ietf.org] On Behalf Of Mirja Kuehlewind (IETF)
> Sent: Thursday, July 07, 2016 4:57 AM
> To: BRUNGARD, DEBORAH A
> Cc: Stewart Bryant; pals-chairs@ietf.org; The IESG;
> draft-ietf-pals-mpls-tp-pw-over-bidir-lsp@ietf.org; pals@ietf.org
> Subject: Re: [Pals] Mirja Kühlewind's Discuss on
> draft-ietf-pals-mpls-tp-pw-over-bidir-lsp-08: (with DISCUSS and COMMENT)
> 
> Hi Deborah, hi Stewart, hi all,
> 
> see below.
> 
> > Am 06.07.2016 um 17:34 schrieb BRUNGARD, DEBORAH A
> <db3546@att.com>:
> >
> > I agree with Stewart - for the two bits to be set would be an
> > implementation error. Not an operational error. The use of the two
> > bits has been stable from the -00 version of the draft. There are
> > always multiple ways to do a protocol design. And various tradeoffs.
> > There are also operational positives for having two bits. Sub-TLVs are
> > very common (PW, MPLS, GMPLS). The extra bit in an optional sub-TLV
> > used when setting up a path is not going to break any bandwidth
> > bank:-)
> 
> I personally think having these two bits here is really bad protocol design
> practice (and has no gain but can cause errors) but that’s not what my discuss
> is on. This design decision is the decision of the wg and I only made a proposal
> in the comments. However, the document makes unfortunately the impression
> to me that there was actually not enough wg discussion about this doc and the
> protocol design itself.
> 
> My discuss is on the part that the spec is not fully specified. Having both bits
> set or not set is not only an implementation error, this can also happen on the
> path. So how to react to these situations at receiver side should still be
> specified. Further, the case where both bits are set is specified as an error case
> while both bits unset is not; that just doesn’t make sense…
> 
> These things can be easily fixed (with probably 2 extra sentences) but MUST be
> fixed before publication.
> 
> In case the authors decide to actually change the protocol design (based on my
> suggestions) as Mach indicated earlier, the chairs and the AD have to decide if
> this doc has to go back to the wg.
> 
> >
> > As Stewart noted on his other email, PALS followed the Routing Area process
> of asking on IPR at the time of Last Call. We don't require positive confirmation
> that no one has concerns, only if they have concerns.
> 
> This was just a clarification question because I’ve read this sentence in the
> shepherd write-up and it was not fully clear to me what this was supposed to
> say. Thanks for the clarification! That’s all good.
> 
> Mirja
> 
> 
> 
> >
> > Much thanks Mirja for your interest and very comprehensive review - let us
> know if Stewart's proposal is acceptable to clear your discuss.
> >
> > Deborah
> >
> > -----Original Message-----
> > From: iesg [mailto:iesg-bounces@ietf.org] On Behalf Of Stewart Bryant
> > Sent: Wednesday, July 06, 2016 8:58 AM
> > To: Mirja Kuehlewind <ietf@kuehlewind.net>; The IESG <iesg@ietf.org>
> > Cc: pals-chairs@ietf.org;
> > draft-ietf-pals-mpls-tp-pw-over-bidir-lsp@ietf.org; pals@ietf.org
> > Subject: Re: Mirja Kühlewind's Discuss on
> > draft-ietf-pals-mpls-tp-pw-over-bidir-lsp-08: (with DISCUSS and
> > COMMENT)
> >
> >
> >
> >>>
> >>> --------------------------------------------------------------------
> >>> --
> >>> DISCUSS:
> >>> --------------------------------------------------------------------
> >>> --
> >>>
> >>> I think the protocol specification is not complete:
> >>>
> >>> - What happens if none of the two S and C bits are set?
> >> Since the text specifically states that they are mutually exclusive,
> >> that would be an implementation error. I don't think that it is
> >> within the scope of this draft to state what should happen when there
> >> is an implementation error.
> >
> > Thinking about this some more, we could say:
> >
> >    Either the C-bit or the S-bit MUST be set.
> >    the C-bit and S-bit are mutually exclusive from each other, and
> > cannot be
> >    set in the same message.  Otherwise, a Label Release message with
> >    status code set to "The C-bit and S-bit can not both be set" (TBD5)
> >    MUST be replied, and the PW will not be established.
> >
> > We could introduce an additional error message, but it's probably
> > adequate to
> > say:
> >
> >    Either the C-bit or the S-bit MUST be set.
> >    The C-bit and S-bit are mutually exclusive from each other, and
> > cannot be
> >    set in the same message.  In the case of either error, a Label
> > Release message with
> >    status code set to "The C-bit and S-bit error" (TBD5)
> >    MUST be replied, and the PW will not be established.
> >
> > If parametrised messages are allowed I would say:
> >
> > "The C-bit and S-bit error [<C-bit>, <S-bit>]"
> >
> > Since zero or two bits are clearly an implementation error, I am not
> > convinced that we need to do more than flag it up sufficiently that
> > the an implementer can figure out what they got wrong.
> >
> > Stewart
> >
> 
> _______________________________________________
> Pals mailing list
> Pals@ietf.org
> https://www.ietf.org/mailman/listinfo/pals