Re: I-D Action: draft-ietf-bfd-yang-06.txt

Mahesh Jethanandani <mjethanandani@gmail.com> Tue, 01 August 2017 15:33 UTC

Return-Path: <mjethanandani@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 70E8513217B; Tue, 1 Aug 2017 08:33:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-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 WZS5hsxMv4cm; Tue, 1 Aug 2017 08:33:40 -0700 (PDT)
Received: from mail-pg0-x241.google.com (mail-pg0-x241.google.com [IPv6:2607:f8b0:400e:c05::241]) (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 2785012EA95; Tue, 1 Aug 2017 08:33:40 -0700 (PDT)
Received: by mail-pg0-x241.google.com with SMTP id 83so3171795pgb.4; Tue, 01 Aug 2017 08:33:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=udG2eFpcowT3U1FT9RfEXQ3S6sneGMxUyFEfAyrsZhE=; b=k6VdDLHJ6F7a6NmcUncfh3UqLoIF/rFk6CMwNsYUsaZNOO78+Yfd9CJFHW+4lImVeC 7v7ZVKIfYX4mfLU4BJlNFyYeNs+J4Gk4t8e6ZWXW626EBPO8y8+iWUPjmZPs9PR5rXx1 7bGAtNZWhTvjDgOMdudEKssHP+lcYowJsvza+hhIdMNeTSSlm/q+j9KWDsU1IDHSsOXf vCrTeon4tG1q2LxgUBfUh3/lov78FDx4nHark77LuHuhptixM2/TbsyXCyV3RQNLJlcs 0xD4V2DTEj2WDm1ggpECSGYR4TQKCU4E79L9haIJXlTWHIpYrPHaojk7XsPbfn2k4Mf8 21PQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=udG2eFpcowT3U1FT9RfEXQ3S6sneGMxUyFEfAyrsZhE=; b=oELIepb2VeIO09HAROqMJIV+0WFRnzbQpVyyBlHfR/AWCGUKhlKlJc+h3zyMQ+Lg6t 4xyn7daV7kxJjv9YbHaHjUpfqIuj31Avll6izWrm5PgcgsG2/CtZ1d/vEK+K8jACOMv1 ARZGiPkKpHNbNwr4ZkI2YHZehCfIElKLVGwD4C5IBK00v0FLYHsZVHfaN6yW8XAPStRJ Q3NVVo5syounxbm2bpFj8xYu3tuvGwtytDAwtjqVlLt3I702N8ZT7YrzhHSNFf/0dsXY 7eGneCas8jzH3kQdDtgreItu/rcb/aKGaQ2pB+OGRukfi+xCwU22d+yALHJqHiExzOpo V/Xg==
X-Gm-Message-State: AIVw111skJqLQoJFyNkij/kfIGUuBDc5x4pNvvyHOJonKzLlg0UAGMKW rSIoaMPZ/ZgaIA==
X-Received: by 10.84.137.1 with SMTP id 1mr21417979plm.75.1501601619718; Tue, 01 Aug 2017 08:33:39 -0700 (PDT)
Received: from sjc-mahesh-nitro5.cisco.com ([128.107.241.188]) by smtp.gmail.com with ESMTPSA id p123sm55311634pfb.177.2017.08.01.08.33.38 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 01 Aug 2017 08:33:38 -0700 (PDT)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
Subject: Re: I-D Action: draft-ietf-bfd-yang-06.txt
From: Mahesh Jethanandani <mjethanandani@gmail.com>
In-Reply-To: <20170801144129.GC24942@pfrc.org>
Date: Tue, 01 Aug 2017 08:33:38 -0700
Cc: Yingzhen Qu <yingzhen.qu@huawei.com>, "Acee Lindem (acee)" <acee@cisco.com>, "rtg-bfd@ietf.org" <rtg-bfd@ietf.org>, "draft-ietf-bfd-yang@ietf.org" <draft-ietf-bfd-yang@ietf.org>, "draft-ietf-ospf-yang@ietf.org" <draft-ietf-ospf-yang@ietf.org>, Reshad Rahman <rrahman@cisco.com>
Content-Transfer-Encoding: quoted-printable
Message-Id: <F319C69C-3A4E-4C5C-ADA4-37BDFD97E91A@gmail.com>
References: <D59FBE2A.2CEA06%rrahman@cisco.com> <D5A01A7B.BA49E%acee@cisco.com> <C71CC69E-DAE4-49E0-983A-9B2EE9B4CD46@gmail.com> <D5A12762.2D4DB5%rrahman@cisco.com> <E4E310A2-A79C-403E-B68E-A39B76E2C5E0@gmail.com> <773E4FFC-D66A-49E5-A03A-58B7DBA82D90@gmail.com> <20170731170550.GO24942@pfrc.org> <BAF4C9E6-ED02-4E25-89DD-2FA181AF3B72@gmail.com> <3637B198-8F82-4A85-A4A1-4383AF98088D@pfrc.org> <D26CB257-E4B2-42FA-940E-BF77C8BC1751@gmail.com> <20170801144129.GC24942@pfrc.org>
To: Jeffrey Haas <jhaas@pfrc.org>
X-Mailer: Apple Mail (2.3124)
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtg-bfd/lUP2MCGPqY10f2bouSVZ_4hvTQ0>
X-BeenThere: rtg-bfd@ietf.org
X-Mailman-Version: 2.1.22
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: Tue, 01 Aug 2017 15:33:41 -0000

> On Aug 1, 2017, at 7:41 AM, Jeffrey Haas <jhaas@pfrc.org> wrote:
> 
> Mahesh,
> 
> On Mon, Jul 31, 2017 at 05:17:34PM -0700, Mahesh Jethanandani wrote:
>>> My point, unless my very quick glance at the module mislead me, is that you can't configure to use echo mode - if it's supported - in the grouping imported by the IGPs.
>> 
>> In the current model, it is modeled as a separate grouping with its own set of parameters. The expectation is that implementations that want to define echo mode would use the grouping. Defining the parameters also implicitly defines that echo-mode is enabled. Are you saying that using the echo grouping is not enough? 
> 
> Minimally, I'm saying the IGP use is not pulling in the echo grouping either
> directly or indirectly.

Ahh! That is correct. I was not sure if you were pointing out an issue with the BFD model or the client model(s).

> 
>> But I do think that the parameters needs to be further protected by an if-feature statement that says
>> 
>>  grouping echo-cfg-parms {
>>    if-feature echo-mode;
>>    description 
>>      "BFD grouping for echo config parameters”;
> 
> This seems correct.
> 
>>> My implementation doesn't support echo, so I don't have any opinion about where configuration of those belongs or not.
>> 
>> With the feature statement, these echo parameters can exist inside of client-cfg-parms, instead as a separate grouping and will be included by the platform only if the feature is defined. And this would be my preference. Is that what folks would also prefer?
>> 
> 
> I'm ambivalent.  This depends really on real world behavior.
> 
> As we saw from some brief googling yesterday on Cisco IOS/IOS-XR docs, that
> implementation doesn't appear to expose echo intervals as a separably
> configurable item.  It did, however, expose a boolean to disable echo.

True. But the standard seems to imply the ability to configure echo values separately. Worst case implementations would have to set both the values to be the same. 

> 
> This minimally suggests that there should be a "use echo mode" flag.

Will add a boolean to enable/disable echo mode.

> 
> The remaining homework is to figure out whether we should expose
> configuration state for echo directly in this version of the yang.

Per NMDA guidelines, unless the configuration state values are different from config, we do not need to model them as separate attributes.

> 
> -- Jeff

Mahesh Jethanandani
mjethanandani@gmail.com