Re: Robert Wilton's Discuss on draft-ietf-bfd-unsolicited-11: (with DISCUSS and COMMENT)

Reshad Rahman <reshad@yahoo.com> Wed, 19 April 2023 02:48 UTC

Return-Path: <reshad@yahoo.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 2F0CCC14CF15 for <rtg-bfd@ietfa.amsl.com>; Tue, 18 Apr 2023 19:48:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.096
X-Spam-Level:
X-Spam-Status: No, score=-7.096 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yahoo.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0cKDiYQdfig3 for <rtg-bfd@ietfa.amsl.com>; Tue, 18 Apr 2023 19:48:34 -0700 (PDT)
Received: from sonic301-1.consmr.mail.bf2.yahoo.com (sonic301-1.consmr.mail.bf2.yahoo.com [74.6.129.40]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B3B2AC14CF09 for <rtg-bfd@ietf.org>; Tue, 18 Apr 2023 19:48:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1681872507; bh=yozySCLPjZ9keDOzYjvXS2auoQ/TTj66NCwzyQqtLuE=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:From:Subject:Reply-To; b=F12RwlWjpGDFdWfjJrezTrgxqrFu2MQsSAMu2AFysIDrn52j4Rm3LQBNCUF+/ijaJWy+rHVTkKcyuy8PU19P0JoJD0iqkRCB9Jkr57mqFM4OEt4KQ8Ywuwp1BYdn1Az+99jZY5Iip4thsB0khSaBv6jjlV/a809Uvh8F7hrU7S8uDTIaxYKqdjiMM4Bdr2Zne/1mmSAG8iQV3XJasWx+HbYpqmvURw6yN5MEcRkSXNKNdtaPNsABvh3C3faBPcnr4K09d+HbxfJVzoLDhqI7zpx0zfej4vN/56ZijVSiXrOEmXEkCxI3LEcqH/axeDs8n5Jd01C2kIH24adqmh4s6A==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1681872507; bh=/VaslXV3TCkjvM66I+AT6M/038lIW+DXAJj/l9GhVnQ=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=BZ+8mw2s2HFS7EQF/1+xwPX7wko4OQzPuQXeP0bCp9afaJrUDBZptA7+l25hRG1Kf5BsBZU6DBI6lEhHamZCJOXtuTKLHgTWb9qmhQItIlsuEyZ9vKpzswEk8mH9Ec7P194G0gsKCedMSINWVrzVc1V7O/ZNXfjXHSa1XKJVT5XhLn0pVO+x6Gj0c3xv3OV/hZf6YsCYIJlB1JK0OGb4MUx9XGahqzmB1e1NLK8K+5T+aztBAeQmGZCgjjVLDu20ArHabqxMh801atkK7jgbpHcPaJaTsD+sYAe0UDn+a2aPRRZZ4CsZ8X9NdbdWMLiRoJhW0Z8F/cuJpzrHBEDEsw==
X-YMail-OSG: zSuARCQVM1nljMp9bghIhSf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O93XXg_gteVxpMR yT3C4DzUaZUlryMgnr7ayeq8Cl7uUNJUNN4nfTU7Ju0SJLaACEL0mCGVTkZjqBCrbRw9byPCl1_u VxfL_natEDwJajX0IOtzyqNd_IeUzRmvCxM2KmuDfMkoRCSdDEmnVcTZd.eEbFVKFe4n2tto.QTc 4dlmyLY1l1efGiA--
X-Sonic-MF: <reshad@yahoo.com>
X-Sonic-ID: 4a00d598-2a62-4873-a5c9-799ca96e9638
Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.bf2.yahoo.com with HTTP; Wed, 19 Apr 2023 02:48:27 +0000
Date: Wed, 19 Apr 2023 02:38:23 +0000
From: Reshad Rahman <reshad@yahoo.com>
Reply-To: Reshad Rahman <reshad@yahoo.com>
To: The IESG <iesg@ietf.org>, "Rob Wilton (rwilton)" <rwilton@cisco.com>
Cc: "draft-ietf-bfd-unsolicited@ietf.org" <draft-ietf-bfd-unsolicited@ietf.org>, "bfd-chairs@ietf.org" <bfd-chairs@ietf.org>, "rtg-bfd@ietf.org" <rtg-bfd@ietf.org>, Jeffrey Haas <jhaas@pfrc.org>
Message-ID: <364314534.2906493.1681871903936@mail.yahoo.com>
In-Reply-To: <BY5PR11MB4196938E7A8CDA5F71E44C7CB59D9@BY5PR11MB4196.namprd11.prod.outlook.com>
References: <167086459809.47152.7191645317039213428@ietfa.amsl.com> <1652627934.1602547.1679362309091@mail.yahoo.com> <BY5PR11MB4196938E7A8CDA5F71E44C7CB59D9@BY5PR11MB4196.namprd11.prod.outlook.com>
Subject: Re: Robert Wilton's Discuss on draft-ietf-bfd-unsolicited-11: (with DISCUSS and COMMENT)
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_Part_2906492_379673305.1681871903927"
X-Mailer: WebService/1.1.21365 YMailNorrin
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtg-bfd/ta2iCmmeDpfh53EFhJto3i1E0HA>
X-Mailman-Approved-At: Tue, 18 Apr 2023 20:25:37 -0700
X-BeenThere: rtg-bfd@ietf.org
X-Mailman-Version: 2.1.39
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, 19 Apr 2023 02:48:35 -0000

 Hi Rob,
Thanks for the feedback. And no need to apologize since it took us much longer to respond to your initial comments...
Please see inline.
    On Tuesday, April 18, 2023, 11:55:03 AM EDT, Rob Wilton (rwilton) <rwilton@cisco.com> wrote:  
 
  
Hi Reshad,
 
  
 
Apologies for the delay.
 
  
 
The changes that you have made are sufficient to clear my discuss.
 
  
 
As a non-discuss (and non-blocking) comment, I do still find this hierarchical configuration to be somewhat complex on two points:
 
  
    
   - The configuration is under optional feature statements both at the global level and the per-interface level, and I think that the model would allow neither feature to be specified, in which case the defaults would be ambiguous.  I’m sure that the WG has a good reason for why it is designed the way it is, but I can’t help wondering whether it would make the model cleaner/simpler to require support for the global level configuration, and only have per-interface level configuration under an optional feature.  I.e., if this was done, then logically, there are always well-defined default values without requiring evaluation of the must-statement.
<RR> Initially when I did the 2 features I was looking for a way to enforce that at least 1 of the 2 features is supported but afaik there's no way in YANG 1.1 to do that. When I addressed your comments about config hierarchy/inheritance, I added the must statements to address that. I did consider removing one of the features but it wasn't clear to me which one should be removed, in that some implementations might prefer having just global config and others would prefer per-interface configuration. But I'm ok with making the global config mandatory (i.e. remove the feature) if there's consensus on that, need to discuss with the co-authors too.    
   - I don’t think that the descriptions are necessarily clear about if, and how, single-interval on the interface is allowed to override desired-min-tx-interval and required-min-rx-interval configured globally, or vice-versa.  Please consider whether it would be helpful to update the descriptions of these fields under the interface configuration to clarify these semantics.
  <RR> Ack, I will update the description.
Regards,Reshad.
 
Regards,
 
Rob
 
  
 
  
 
From: Reshad Rahman <reshad@yahoo.com>
Sent: 21 March 2023 01:32
To: The IESG <iesg@ietf.org>; Rob Wilton (rwilton) <rwilton@cisco.com>
Cc: draft-ietf-bfd-unsolicited@ietf.org; bfd-chairs@ietf.org; rtg-bfd@ietf.org; Jeffrey Haas <jhaas@pfrc.org>
Subject: Re: Robert Wilton's Discuss on draft-ietf-bfd-unsolicited-11: (with DISCUSS and COMMENT)
 
  
 
Hi Rob,
 
  
 
I believe rev-12 addresses the 3 DISCUSS points below.
 
  
 
We still have to do further updates to the document.
 
  
 
Regards,
 
Reshad.
 
  
 
On Monday, December 12, 2022, 12:03:19 PM EST, Robert Wilton via Datatracker <noreply@ietf.org> wrote: 
 
  
 
  
 
Robert Wilton has entered the following ballot position for
 
draft-ietf-bfd-unsolicited-11: Discuss
 
  
 
When responding, please keep the subject line intact and reply to all
 
email addresses included in the To and CC lines. (Feel free to cut this
 
introductory paragraph, however.)
 
  
 
  
 
Please refer tohttps://www.ietf.org/about/groups/iesg/statements/handling-ballot-positions/ 
 
for more information about how to handle DISCUSS and COMMENT positions.
 
  
 
  
 
The document, along with other ballot positions, can be found here:
 
https://datatracker.ietf.org/doc/draft-ietf-bfd-unsolicited/
 
  
 
  
 
  
 
----------------------------------------------------------------------
 
DISCUSS:
 
----------------------------------------------------------------------
 
  
 
Hi,
 
  
 
Thanks for this document.
 
  
 
Please see my comments below for more details, but I'm balloting discuss on 3
 
points: (1) The document is somewhat unclear as to whether the configuration is
 
applied hierarchically (I presume that it is, if not then my second discuss
 
point is not valid and can be ignored). (2) As specified, I don't think that
 
the hierarchical configuration will work, because the interface level leaf
 
"defaults" will override an explicit value configured globally.  I.e.,
 
logically, the interface level leaf, if in scope, will always have a value. (3)
 
The document should provide an instance-data example in the appendix to
 
illustrate the use of this configuration.
 
  
 
Regards,
 
Rob
 
  
 
  
 
----------------------------------------------------------------------
 
COMMENT:
 
----------------------------------------------------------------------
 
  
 
Moderate level comments:
 
  
 
(1) p 3, sec 2.  Procedures for Unsolicited BFD
 
  
 
  When the passive side receives a BFD Control packet from the active
 
  side with 0 as "Your Discriminator" and does not find an existing BFD
 
  session, the passive side MAY create a matching BFD session toward
 
  the active side, if permitted by local configuration and policy.
 
  
 
I'm surprised that this is only a MAY and not a SHOULD or MUST.  I.e., if the
 
local configuration & policy allows passive BFD sessions why would they not be
 
created?
 
  
 
(2) p 4, sec 4.1.  Unsolicited BFD Hierarchy
 
  
 
  *  Globally, i.e. for all interfaces.  This requires support for the
 
      "unsolicited-params-global" feature.
 
  *  For specific interfaces.  This requires support for the
 
      "unsolicited-params-per-interface" feature.
 
  
 
>From this description, it is unclear to me whether the features enabling global
 
or per-interface configuration are meant to be an either/or (in which case, the
 
constraint could probably be expressed in the features), or whether a server is
 
allowed to support configuration both globally and override the global
 
configuration with interface specific configuration.  My subsequent discuss
 
comments assume the latter.  Either way, it would be helpful for this text in
 
this section (and probably the YANG module) to be a bit more explicit on this
 
regard.
 
  
 
(3) p 8, sec 4.2.  Unsolicited BFD Module
 
  
 
      augment "/rt:routing/rt:control-plane-protocols/"
 
            + "rt:control-plane-protocol/bfd:bfd/bfd-ip-sh:ip-sh/"
 
            + "bfd-ip-sh:interfaces" {
 
        if-feature bfd-unsol:unsolicited-params-per-interface;
 
        description
 
          "Augmentation for BFD unsolicited on IP single-hop interface";
 
        container unsolicited {
 
          description
 
            "BFD IP single-hop interface unsolicited top level
 
            container";
 
          leaf enabled {
 
            type boolean;
 
            default false;
 
  
 
I'm not sure that you want a default value specified in the YANG here since
 
this would have precedence over any explicitly configured global default value.
 
  
 
(4) p 8, sec 4.2.  Unsolicited BFD Module
 
  
 
            description
 
              "BFD unsolicited enabled on this interface.";
 
          }
 
          uses bfd-types:base-cfg-parms;
 
  
 
You have the same issue here as above, in that the default values directly
 
associated with the leaves in this grouping will always take precedence over
 
any configured global value.  I.e., the configuration, if properly implemented
 
cannot be hierarchical.  The pragmatic solution is to copy the used grouping
 
inline here and delete the default statements.  This has the advantage that the
 
descriptions can also make the hierarchical behavior of the configuration
 
explicit.
 
  
 
(5) p 9, sec 4.2.  Unsolicited BFD Module
 
  
 
    augment "/rt:routing/rt:control-plane-protocols/"
 
          + "rt:control-plane-protocol/bfd:bfd/bfd-ip-sh:ip-sh/"
 
          + "bfd-ip-sh:sessions/bfd-ip-sh:session" {
 
      description
 
        "Augmentation for BFD unsolicited on IP single-hop session";
 
        leaf role {
 
          type bfd-unsol:role;
 
          config false;
 
          description
 
            "Role of local system during BFD session initialization.";
 
        }
 
    }
 
  }
 
  <CODE ENDS>
 
  
 
Please add an instance data example to an appendix to illustrate the use of
 
this YANG model.  This helps readers and can further emphasize the hierarchical
 
nature of the configuration.
 
  
 
Minor level comments:
 
  
 
(6) p 3, sec 2.  Procedures for Unsolicited BFD
 
  
 
  Passive unsolicited BFD support MUST be disabled by default, and MUST
 
  require explicit configuration to be enabled.  On the passive side,
 
  the desired BFD parameters SHOULD be configurable.  The passive side
 
  MAY also choose to use the parameters that the active side uses in
 
  its BFD Control packets.  The "My Discriminator", however, MUST be
 
  chosen to allow multiple unsolicited BFD sessions.
 
  
 
Rather then configured values on the passive side, did the authors consider
 
setting minimum configuration limits?  E.g., rather than define desired
 
send/receive limits, instead, configure lower bounds on what the minimum tx
 
interval may be (to prevent DDOS attacks).
 
  
 
Nit level comments:
 
  
 
(7) p 3, sec 2.  Procedures for Unsolicited BFD
 
  
 
  The passive side MUST then start sending BFD Control packets and
 
  perform the necessary procedure for bringing up, maintaining and
 
  tearing down the BFD session.  If the BFD session fails to get
 
  established within certain specified time, or if an established BFD
 
  session goes down, the passive side SHOULD stop sending BFD Control
 
  packets and MAY delete the BFD session created until BFD Control
 
  packets are initiated by the active side again.
 
  
 
Nit, within certain specified => within a specified
 
  
 
(8) p 6, sec 4.2.  Unsolicited BFD Module
 
  
 
        Copyright (c) 2021 IETF Trust and the persons
 
        identified as authors of the code.  All rights reserved.
 
  
 
This copyright statement will need to be fixed.