Re: WG Adoption request for draft-mirsky-bfd-mpls-demand

Jeffrey Haas <jhaas@pfrc.org> Wed, 20 February 2019 04:44 UTC

Return-Path: <jhaas@slice.pfrc.org>
X-Original-To: rtg-bfd@ietfa.amsl.com
Delivered-To: rtg-bfd@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D3365130DBE for <rtg-bfd@ietfa.amsl.com>; Tue, 19 Feb 2019 20:44:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 zBvKYJNbvki7 for <rtg-bfd@ietfa.amsl.com>; Tue, 19 Feb 2019 20:44:32 -0800 (PST)
Received: from slice.pfrc.org (slice.pfrc.org [67.207.130.108]) by ietfa.amsl.com (Postfix) with ESMTP id E6D1A12F18C for <rtg-bfd@ietf.org>; Tue, 19 Feb 2019 20:44:31 -0800 (PST)
Received: by slice.pfrc.org (Postfix, from userid 1001) id B52C61E2D8; Tue, 19 Feb 2019 23:43:30 -0500 (EST)
Date: Tue, 19 Feb 2019 23:43:30 -0500
From: Jeffrey Haas <jhaas@pfrc.org>
To: Greg Mirsky <gregimirsky@gmail.com>
Cc: "Reshad Rahman (rrahman)" <rrahman@cisco.com>, Martin Vigoureux <martin.vigoureux@nokia.com>, rtg-bfd WG <rtg-bfd@ietf.org>
Subject: Re: WG Adoption request for draft-mirsky-bfd-mpls-demand
Message-ID: <20190220044330.GA14326@pfrc.org>
References: <20190218152544.GG28950@pfrc.org> <CA+RyBmUGwZj0AuQWT+atzeN9uR4i5ffpzeKsMM_fRYB5BVmFVw@mail.gmail.com> <20190218162350.GH28950@pfrc.org> <CA+RyBmUs-C6JC=O-k-hyRtNeJ-CTR++syEs6vteGDmcAotTw6g@mail.gmail.com> <20190218173351.GI28950@pfrc.org> <CA+RyBmXN=0FYoHWt4TzPg05_ZoC9RbsOSvoFAte9doDY8_JDgg@mail.gmail.com> <542FBF1D-4D61-4E45-8CD2-CE9EC8BF6A38@cisco.com> <CA+RyBmVtLXSZfADQ9YgBEWj+d_X=zXh6SwSfqrUSNWiVNTwNXA@mail.gmail.com> <20190219174109.GN28950@pfrc.org> <CA+RyBmXresOc+i75O7=u5COG3q70s_fX4rK0mQw5LLdak6dxug@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <CA+RyBmXresOc+i75O7=u5COG3q70s_fX4rK0mQw5LLdak6dxug@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtg-bfd/ugw2mxNGyPKmpjBymDDWe1dleUw>
X-BeenThere: rtg-bfd@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "RTG Area: Bidirectional Forwarding Detection DT" <rtg-bfd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtg-bfd>, <mailto:rtg-bfd-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rtg-bfd/>
List-Post: <mailto:rtg-bfd@ietf.org>
List-Help: <mailto:rtg-bfd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>, <mailto:rtg-bfd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 20 Feb 2019 04:44:34 -0000

Greg,

We seem now to be converging on the substance of your draft.  Thanks for
sticking with this.

On Tue, Feb 19, 2019 at 03:59:36PM -0800, Greg Mirsky wrote:
> thank you for pointing to the sloppy terminology I've used referring to
> what is the proposed update to RFC 5880. In fact, the draft, as I should
> have done too, refers to the Diag field. Below are quotes from RFC 5880 to
> help me explain the intended update:
> 
>    - is section 6.1 Poll sequence in Demand mode MAY be used by any peer to
>    verify the bidirectional path continuity (connectivity):
> 
>    If either system wishes to verify
>    bidirectional connectivity, it can initiate a short exchange of BFD
>    Control packets (a "Poll Sequence"; see section 6.5) to do so.
> 
>    - similarly, the first paragraph in section 6.5:
> 
>    A Poll Sequence is an exchange of BFD Control packets that is used in
>    some circumstances to ensure that the remote system is aware of
>    parameter changes.  It is also used in Demand mode (see section 6.6)
>    to validate bidirectional connectivity.
> Again, no reference that the Poll sequence MAY be used to signal the change
> in the Diag field.
> 
>    - And the very last sentence of section 6.6:
> 
>    Resolving the issue of one system requesting Demand
>    mode while the other requires continuous bidirectional connectivity
>    verification is outside the scope of this specification.
> Is what is in the scope of the draft we discuss. (Apologies for taking too
> much time to find the right text in RFC 5880.)

I think we're still in the scope of what 5880 permits.

Consider the following:
:6.8.17.  Concatenated Paths
:
:   If the path being monitored by BFD is concatenated with other paths
:   (connected end-to-end in series), it may be desirable to propagate
:   the indication of a failure of one of those paths across the BFD
:   session (providing an interworking function for liveness monitoring
:   between BFD and other technologies).
:
[...]
:
:   A system MAY signal one of these failure states by simply setting
:   bfd.LocalDiag to the appropriate diagnostic code.  Note that the BFD
:   session is not taken down.  If Demand mode is not active on the
:   remote system, no other action is necessary, as the diagnostic code
:   will be carried via the periodic transmission of BFD Control packets.
:   If Demand mode is active on the remote system (the local system is
:   not transmitting periodic BFD Control packets), a Poll Sequence MUST
:   be initiated to ensure that the diagnostic code is transmitted.  Note
:   that if the BFD session subsequently fails, the diagnostic code will
:   be overwritten with a code detailing the cause of the failure.  It is
:   up to the interworking agent to perform the above procedure again,
:   once the BFD session reaches Up state, if the propagation of the
:   concatenated path failure is to resume.


We thus see here:
1. You can propagate state, perhaps your RDI, in a session that is Up.
2. If we are in demand mode, by initiating the poll sequence.

Your point about 6.6 and asymmetric configuration of demand mode perhaps
should be considered in the context of the word "bidirectional".  In a
profile where we have gone half duplex on the session (one side async
continuous, other demand), we're likely in a mode where we mostly want
unidirectional information.  This seems to be perhaps along the lines of
what you're looking for.  And in such a case, shifting into the poll to pass
along RDI is perfectly reasonable.

If the above reflects a rough understanding of the use case, the core
content of your draft reduces to:
- RFC 5880 permits state, such as RDI, to be communicated on an Up session
  when in demand mode via a poll sequence in the Diag field.

-- Jeff