Re: Correcting BFD Echo model

Greg Mirsky <gregimirsky@gmail.com> Mon, 27 February 2017 15:31 UTC

Return-Path: <gregimirsky@gmail.com>
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 362CD12A144; Mon, 27 Feb 2017 07:31:04 -0800 (PST)
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 2M3wrTOLF-mq; Mon, 27 Feb 2017 07:31:02 -0800 (PST)
Received: from mail-ot0-x22c.google.com (mail-ot0-x22c.google.com [IPv6:2607:f8b0:4003:c0f::22c]) (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 55A4512A137; Mon, 27 Feb 2017 07:31:02 -0800 (PST)
Received: by mail-ot0-x22c.google.com with SMTP id i1so13384435ota.3; Mon, 27 Feb 2017 07:31:02 -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=x9cfI5822ot/DKEYiu66myu4X/ePXpU0fssLuGB1nZQ=; b=oX63qA/GpJsPmfAalY1xe8y4KPlnFVrn0Sz72w3s/SSau9GpKjrQvmRI8fMAUog1Ab jdbsEyZeoIm8EWa2gdIBLjAOyu2fFpceZSKmtpKMNNbx+my8vKCD49f1btRz6yRxRt5e hmU71Fl/7z0R3ezSozRb5IrMpxOS4LzQZPZzP8vIVeRkcJY6hCXs7bDSZn4DRjC4Ot+j c45q6yErNjFihMOGO0vUPOGM/CS3NHsay7e72BXzftwpQaDUVAdJ7sIiTmEgGVZUQotY iHGD6DcVkvqT6LRgb6sZCxd2uctIm7u4J0gXec04v5qF3gBIELqxBrFzOcfQjefJS7UG giVw==
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=x9cfI5822ot/DKEYiu66myu4X/ePXpU0fssLuGB1nZQ=; b=S5J7g6WGWzphakt56hhxrIc2RECdoHNqQnRVfEADC85DmTrRl+b8AcjpDaDRkZufQo lLPtY3cnp0cGgYSdxvza85IEnlpYXwWOWuvf6t+LoEWdQoREygRR49Pgn/irDw06qgSM jjtdqlRma8pY+b1P4FCtJ9qs8r6c2yyFbJS4ZwhASDqD/10KB7D2aUh4J4MCEtdoHM6I xZJfdqYtr6igIpsiyMX9abHIktFkRz0bEHac7v95GLMElsSiMCIZQqQrQrMzPYPnIpDu jcUL2RNJqIii6+FhlTNDWqjluPpiImM0mtqSdEJIWMEMiSIVtXhiSLXBYZlSqpE+N9ea pQkg==
X-Gm-Message-State: AMke39nGSJoHzEOiZNDSnt1TUsjurAD9+T/FgKD9QppVdKQUACW12D05SST6cU9ky+a39c+qe3p5a3bdwwMf6w==
X-Received: by 10.157.1.229 with SMTP id e92mr7938568ote.40.1488209461596; Mon, 27 Feb 2017 07:31:01 -0800 (PST)
MIME-Version: 1.0
Received: by 10.157.21.21 with HTTP; Mon, 27 Feb 2017 07:31:01 -0800 (PST)
In-Reply-To: <D4D9967A.25B679%rrahman@cisco.com>
References: <CA+RyBmWcU79iCBYM_bi__Ce1RpWwNn_jZCkPHv3Sc+qtybt_pg@mail.gmail.com> <D4D8BE31.25AE5C%rrahman@cisco.com> <CA+RyBmWyQZs5B3LG8x=ZoVXTkiHhGPzbZwRX70jCyT_MpQwzCA@mail.gmail.com> <E308FD25-A695-498C-8E34-756250776CE4@gmail.com> <CA+RyBmW=t0DH5H_UVau8t5rS_1A8Qpsh478ayVUN=Se6qqKHyg@mail.gmail.com> <D4D9967A.25B679%rrahman@cisco.com>
From: Greg Mirsky <gregimirsky@gmail.com>
Date: Mon, 27 Feb 2017 07:31:01 -0800
Message-ID: <CA+RyBmV9QiGGCgxxEHmC8GjnecHksjfZgVO3NJ5q2aLSSrZMvA@mail.gmail.com>
Subject: Re: Correcting BFD Echo model
To: "Reshad Rahman (rrahman)" <rrahman@cisco.com>
Content-Type: multipart/alternative; boundary="94eb2c03c39a4f7325054984c40c"
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtg-bfd/LDIANpyLtmHfjeR5L1q2p_5BJbg>
Cc: "rtg-bfd@ietf. org" <rtg-bfd@ietf.org>, "draft-ietf-bfd-yang@ietf.org" <draft-ietf-bfd-yang@ietf.org>
X-BeenThere: rtg-bfd@ietf.org
X-Mailman-Version: 2.1.17
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: Mon, 27 Feb 2017 15:31:04 -0000

Hi Reshad,
thank you for providing the context to BFD Echo TX. Indeed, I'm familiar
with implementations that use BFD Echo as Echo request/reply and thus Tx
would be in RPC, not in configuration. I think that it would be good to
discuss this in Chicago unless we hear comments from others on the list.

Regards,
Greg

On Mon, Feb 27, 2017 at 5:56 AM, Reshad Rahman (rrahman) <rrahman@cisco.com>
wrote:

> Hi Greg,
>
> draft-zheng-mpls-ls-ping-yang-cfg defines transmit interval in RPC
> because all ping operations are done via RPC.  I do not consider BFD echo
> to be “on demand” like LSP Ping (caveat: this is possibly due to the BFD
> configuration/implementation I am most familiar with).
>
> Regards,
> Reshad.
>
> From: Greg Mirsky <gregimirsky@gmail.com>
> Date: Monday, February 27, 2017 at 1:07 AM
> To: Mahesh Jethanandani <mjethanandani@gmail.com>
> Cc: Reshad <rrahman@cisco.com>, "rtg-bfd@ietf.org" <rtg-bfd@ietf.org>, "
> draft-ietf-bfd-yang@ietf.org" <draft-ietf-bfd-yang@ietf.org>
> Subject: Re: Correcting BFD Echo model
>
> Hi Mahesh,
> BFD Echo transmit interval is not part of RFC 5880, only Rx interval is.
> And Rx interval is sufficent to reflect whether local system is willing to
> receive BFD Echo messages from the particular BFD peer. Introduced
> desired-min-echo-tx-interval functionally overlaps with the
> standard-defined required-min-echo-rx-interval. Hence my suggestion to
> remove desired-min-echo-tx-interval from grouping
> bfd-grouping-echo-cfg-parms. But operators need a way to specify transmit
> interval for on-demand OAM command like BFD Echo, IP ping or LSP ping. I
> couldn't find YANG model proposal for IP ping but in
> draft-zheng-mpls-lsp-ping-yang-cfg transmit interval used in RPC, not as
> part of configuration.
>
> Regards,
> Greg
>
>
> On Sun, Feb 26, 2017 at 8:33 PM, Mahesh Jethanandani <
> mjethanandani@gmail.com> wrote:
>
>>
>> On Feb 26, 2017, at 4:39 PM, Greg Mirsky <gregimirsky@gmail.com> wrote:
>>
>> Hi Reshad,
>> thank you for the question. Here's my reasoning:
>>
>>    - only Required Min Echo RX Interval is present in RFC 5880 and it
>>    allows to indicate not only the smallest interval between consecutive BFD
>>    Echo packets but whether system supports BFD Echo function at all;
>>    - since BFD Echo may be transmitted only when the session state is
>>    Up, operator is fully equipped to learn the value of Required Min Echo RX
>>    Interval of its BFD peer and to set Echo transmit interval accordingly;
>>    - requesting BFD Echo, in my opinion, is no different from requesting
>>    IP ping or LSP ping.
>>
>> Hence my conclusion - transmit interval for BFD Echo is more suitable in
>> RPC then as configuration parameter.
>>
>>
>> I do not think that is reason enough for it to be a RPC.
>>
>> A RPC is an operation one defines in the YANG model specifying both input
>> and output parameters. There are no operations to be had here.
>>
>> And the definition and desired behavior of desired-min-echo-tx-interval
>> is not very different from required-min-echo-x-interval. It is as the
>> definition says, a configuration parameter that can be set, with zero
>> having a special meaning in both cases.
>>
>>
>> Regards,
>> Greg
>>
>> On Sun, Feb 26, 2017 at 2:52 PM, Reshad Rahman (rrahman) <
>> rrahman@cisco.com> wrote:
>>
>>> Hi Greg,
>>>
>>> Can you please explain why you believe this should go in RPC?
>>>
>>> Regards,
>>> Reshad.
>>>
>>> From: Greg Mirsky <gregimirsky@gmail.com>
>>> Date: Saturday, February 25, 2017 at 6:48 PM
>>> To: "rtg-bfd@ietf.org" <rtg-bfd@ietf.org>, "draft-ietf-bfd-yang@ietf.org"
>>> <draft-ietf-bfd-yang@ietf.org>
>>> Subject: Correcting BFD Echo model
>>> Resent-From: <alias-bounces@ietf.org>
>>> Resent-To: <vero.zheng@huawei.com>, Reshad <rrahman@cisco.com>, <
>>> mjethanandani@gmail.com>, <santosh.pallagatti@gmail.com>, <
>>> gregimirsky@gmail.com>
>>> Resent-Date: Saturday, February 25, 2017 at 6:48 PM
>>>
>>> Dear All,
>>> I've reviewed the BFD YANG model and now I'm thinking that desired-min-echo-tx-interval
>>> and attributing to it the behavior, i.e. when the value is 0, of Required
>>> Min Echo RX Interval are not in the right place. I think that definition of
>>> desired transmit interval of BFD Echo should be in corresponding RPC
>>> definition, not in configuration part of the model.
>>> Appreciate your comments.
>>>
>>> Regards,
>>> Greg
>>>
>>
>>
>>
>