Re: Correcting BFD Echo model

"Reshad Rahman (rrahman)" <rrahman@cisco.com> Mon, 27 February 2017 13:56 UTC

Return-Path: <rrahman@cisco.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 498311298C8; Mon, 27 Feb 2017 05:56:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.521
X-Spam-Level:
X-Spam-Status: No, score=-14.521 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 KH5P8cNjfJRU; Mon, 27 Feb 2017 05:56:31 -0800 (PST)
Received: from alln-iport-1.cisco.com (alln-iport-1.cisco.com [173.37.142.88]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E9D8E129528; Mon, 27 Feb 2017 05:56:30 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=14631; q=dns/txt; s=iport; t=1488203790; x=1489413390; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=jHSfvXIfMxHfvEDeX0T9W7REXXtnr+qtTTzlWIjx7IY=; b=PPseqhxxlhUGtVO+qw5v/3Ieskgk1GH52KFRh9r71DOvYyXOFOxq3Qeh edCwyh06iCJXVfUN6iwH5wN/LaHQlMptnXmIEc19T1BpGP+QSzqvjAThz 1GtsXCMAaJ4hGBoqQOJ1L2dxqCJWwkI/k6Es8v7WDy4K2o+B70CC7ANO9 g=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AVAQDeLrRY/5tdJa1eGQEBAQEBAQEBAQEBBwEBAQEBgm45KYFqB41ckWCIDId9hSyCDYYiAoIXPxgBAgEBAQEBAQFiKIRwAQEBBHkQAgEIEQMBAigHIREUCQgCBAENBYlcAxWyG4cxDYQAAQEBAQEBAQEBAQEBAQEBAQEBAQEBHYZMhG+CUYIjhUUFkBKFW4V3OgGOBYQhgXuFIIl9ikqIZgEfOIEBVBWHC3WJDQGBDAEBAQ
X-IronPort-AV: E=Sophos;i="5.35,214,1484006400"; d="scan'208,217";a="389281458"
Received: from rcdn-core-4.cisco.com ([173.37.93.155]) by alln-iport-1.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Feb 2017 13:56:29 +0000
Received: from XCH-ALN-001.cisco.com (xch-aln-001.cisco.com [173.36.7.11]) by rcdn-core-4.cisco.com (8.14.5/8.14.5) with ESMTP id v1RDuTkZ011571 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Mon, 27 Feb 2017 13:56:29 GMT
Received: from xch-rcd-005.cisco.com (173.37.102.15) by XCH-ALN-001.cisco.com (173.36.7.11) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Mon, 27 Feb 2017 07:56:28 -0600
Received: from xch-rcd-005.cisco.com ([173.37.102.15]) by XCH-RCD-005.cisco.com ([173.37.102.15]) with mapi id 15.00.1210.000; Mon, 27 Feb 2017 07:56:28 -0600
From: "Reshad Rahman (rrahman)" <rrahman@cisco.com>
To: Greg Mirsky <gregimirsky@gmail.com>, Mahesh Jethanandani <mjethanandani@gmail.com>
Subject: Re: Correcting BFD Echo model
Thread-Topic: Correcting BFD Echo model
Thread-Index: AQHSj8Gxk5FkqTOyS0attHx6x8g/UaF791cAgABxigCAAEFcAIAAGoQAgAAvKQA=
Date: Mon, 27 Feb 2017 13:56:28 +0000
Message-ID: <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>
In-Reply-To: <CA+RyBmW=t0DH5H_UVau8t5rS_1A8Qpsh478ayVUN=Se6qqKHyg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.6.8.160830
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [161.44.212.65]
Content-Type: multipart/alternative; boundary="_000_D4D9967A25B679rrahmanciscocom_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtg-bfd/PKYkflTBt2AsgW_3dNyCGVxMfEA>
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 13:56:33 -0000

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<mailto:gregimirsky@gmail.com>>
Date: Monday, February 27, 2017 at 1:07 AM
To: Mahesh Jethanandani <mjethanandani@gmail.com<mailto:mjethanandani@gmail.com>>
Cc: Reshad <rrahman@cisco.com<mailto:rrahman@cisco.com>>, "rtg-bfd@ietf.org<mailto:rtg-bfd@ietf.org>" <rtg-bfd@ietf.org<mailto:rtg-bfd@ietf.org>>, "draft-ietf-bfd-yang@ietf.org<mailto:draft-ietf-bfd-yang@ietf.org>" <draft-ietf-bfd-yang@ietf.org<mailto: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<mailto:mjethanandani@gmail.com>> wrote:

On Feb 26, 2017, at 4:39 PM, Greg Mirsky <gregimirsky@gmail.com<mailto: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<mailto: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<mailto:gregimirsky@gmail.com>>
Date: Saturday, February 25, 2017 at 6:48 PM
To: "rtg-bfd@ietf.org<mailto:rtg-bfd@ietf.org>" <rtg-bfd@ietf.org<mailto:rtg-bfd@ietf.org>>, "draft-ietf-bfd-yang@ietf.org<mailto:draft-ietf-bfd-yang@ietf.org>" <draft-ietf-bfd-yang@ietf.org<mailto:draft-ietf-bfd-yang@ietf.org>>
Subject: Correcting BFD Echo model
Resent-From: <alias-bounces@ietf.org<mailto:alias-bounces@ietf.org>>
Resent-To: <vero.zheng@huawei.com<mailto:vero.zheng@huawei.com>>, Reshad <rrahman@cisco.com<mailto:rrahman@cisco.com>>, <mjethanandani@gmail.com<mailto:mjethanandani@gmail.com>>, <santosh.pallagatti@gmail.com<mailto:santosh.pallagatti@gmail.com>>, <gregimirsky@gmail.com<mailto: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