Re: [tcpm] Request for feedback on WG adoption of draft-scharf-tcpm-yang-tcp-04

Joseph Touch <touch@strayalpha.com> Mon, 30 March 2020 14:23 UTC

Return-Path: <touch@strayalpha.com>
X-Original-To: tcpm@ietfa.amsl.com
Delivered-To: tcpm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DC6893A1667; Mon, 30 Mar 2020 07:23:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.455
X-Spam-Level:
X-Spam-Status: No, score=0.455 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_NEUTRAL=0.652, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=strayalpha.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 7ZHtLJDjabZD; Mon, 30 Mar 2020 07:23:43 -0700 (PDT)
Received: from server217-3.web-hosting.com (server217-3.web-hosting.com [198.54.115.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5E41E3A169E; Mon, 30 Mar 2020 07:23:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=strayalpha.com; s=default; h=To:References:Message-Id:Cc:Date:In-Reply-To: From:Subject:Mime-Version:Content-Type:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=RqCV/HcS2LoWKucWuA3BJr9Ya4LSH03Fh+TaGqoB0uU=; b=GCOogxEvZF1jiSDRjX2eEDWdz 9qm+fxXVeURyo3cv18SunjoYDQWmRVz5k9RafXz4PaKUF/jsRRavXAAtHedkBcEppYbg9ZClBsMkP T12GNnRyvX+wYFwOxLZfNHNhYFpTtsYrZP31iUDCIJqFmh0KPFKfCBIXOQ7wr08d3wmxVTCJ/ieK2 DN2T1gHmNuwswqIQM7v9/HBJy7LRhULifjiisa+KlJMCtR5AmxGLltP8X3OTLvvmYTMRHTfokOaBW NSSPIocujWtjYVdz9VDKLBSauR527BcoKZf9RQPAKvqr664DLZrjvvjAaYUGJcfRFlXgtPJJWABDM fOu48qPuQ==;
Received: from cpe-172-250-225-198.socal.res.rr.com ([172.250.225.198]:49258 helo=[192.168.1.10]) by server217.web-hosting.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from <touch@strayalpha.com>) id 1jIvKC-0005yc-8j; Mon, 30 Mar 2020 10:23:41 -0400
Content-Type: multipart/alternative; boundary="Apple-Mail=_A7BF3945-975A-472C-BBC5-575A5DC06FAD"
Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.5\))
From: Joseph Touch <touch@strayalpha.com>
In-Reply-To: <6EC6417807D9754DA64F3087E2E2E03E2DA44F75@rznt8114.rznt.rzdir.fht-esslingen.de>
Date: Mon, 30 Mar 2020 07:23:34 -0700
Cc: Michael Tuexen <tuexen@fh-muenster.de>, "draft-scharf-tcpm-yang-tcp@ietf.org" <draft-scharf-tcpm-yang-tcp@ietf.org>, tcpm IETF list <tcpm@ietf.org>
Message-Id: <01CF8E55-C371-441A-B74C-2801FCC0BE20@strayalpha.com>
References: <6EC6417807D9754DA64F3087E2E2E03E2DA3F971@rznt8114.rznt.rzdir.fht-esslingen.de> <A8AAB673-0F59-462C-B1C3-125123556D6E@strayalpha.com> <6EC6417807D9754DA64F3087E2E2E03E2DA3FCCF@rznt8114.rznt.rzdir.fht-esslingen.de> <3DDE4B40-70B5-4848-9D0E-EF4C902E0AA1@strayalpha.com> <6EC6417807D9754DA64F3087E2E2E03E2DA44F75@rznt8114.rznt.rzdir.fht-esslingen.de>
To: "Scharf, Michael" <Michael.Scharf@hs-esslingen.de>
X-Mailer: Apple Mail (2.3445.9.5)
X-OutGoing-Spam-Status: No, score=0.5
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - server217.web-hosting.com
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - strayalpha.com
X-Get-Message-Sender-Via: server217.web-hosting.com: authenticated_id: touch@strayalpha.com
X-Authenticated-Sender: server217.web-hosting.com: touch@strayalpha.com
X-Source:
X-Source-Args:
X-Source-Dir:
X-From-Rewrite: unmodified, already matched
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/BxsVX3GKseOP50G1KQMyiMXzTpc>
Subject: Re: [tcpm] Request for feedback on WG adoption of draft-scharf-tcpm-yang-tcp-04
X-BeenThere: tcpm@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: TCP Maintenance and Minor Extensions Working Group <tcpm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tcpm>, <mailto:tcpm-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tcpm/>
List-Post: <mailto:tcpm@ietf.org>
List-Help: <mailto:tcpm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tcpm>, <mailto:tcpm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Mar 2020 14:23:46 -0000

Hi Michael,

My intent was to suggest using the roadmap as a way to “check” whether items you want to add should be required, optional, or not needed.

It’s not to drive the model to cover EVERYTHING in the roadmap, though if there’s a key area that’s required and isn’t covered, it signals a gap.

It IS to avoid having implementations be the sole driver of the model. Just because something IS measured or controllable doesn’t mean it should be in the model.

Joe

> On Mar 30, 2020, at 4:52 AM, Scharf, Michael <Michael.Scharf@hs-esslingen.de> wrote:
> 
> Hi Joe,
>  
> In the YANG model, the statement “if-feature statistics;“ explicitly specifies that an implementation only has to support that if it supports the “feature” statistics of the model, for instance, if it announces that support (e.g., during the NETCONF handshake). It is entirely up to the implementer whether to support a given feature or not. This is just using the tools from the YANG language.
>  
> In addition, keep in mind that objects in a YANG model are optional by default. A node in the tree must only be present if the keyword “mandatory true” is specified in YANG. We don’t use this keyword in the model. So, for somebody who reads the YANG model, IMHO it should be more than clear that the model is optional.
>  
> We have discussed quite a bit how to address your past comment and this seems the most obvious approach to somebody who is familiar with YANG.
>  
> As a side note, we can see here that this is about details of the YANG language. One of the challenges with this doc is that one may need both some TCP and some YANG expertise to understand some of the details. Probably only very few people deal with both topics at the same time. For example, I am not a real YANG expert myself. But, well, I am not the only author of the I-D... The idea of the I-D is to bring together the needed expertise among the authors. (And there would still be room for more co-authors.) Also, for the TCPM working group probably some of the YANG details are less interesting. More relevant is probably how TCP configuration and stats are modelled, e.g., what parameters are used, what values parameters can take, how the parameters are described precisely, etc. And I think we have *a lot* of expertise on that in TCPM.
>  
> I am not sure how the TCP roadmap helps us with the YANG model, tough. It is unrealistic to model in YANG everything that the IETF has written on TCP so far. To make a trivial example: We don’t need a YANG model for Quick-Start TCP ;-) This is why the I-D takes the opposite approach: The focus is on configuration attributes and stats that exist on (several) existing TCP implementations. So, basically the proposal is to only model attributes that exist (in somewhat similar from) on several TCP stacks, i.e., it can be configured already, albeit not necessarily by YANG. This set of attributes mostly corresponds to what follows from the standards-track TCP specification, albeit of course the devil is in the details. In any case, to me it doesn’t make a lot of sense to model something in a YANG model that a corresponding NETCONF server implementation cannot implement because no relevant TCP stack supports it.
>  
> Thanks
>  
> Michael
>  
>  
> From: Joseph Touch <touch@strayalpha.com <mailto:touch@strayalpha.com>> 
> Sent: Friday, March 27, 2020 5:49 PM
> To: Scharf, Michael <Michael.Scharf@hs-esslinge <mailto:Michael.Scharf@hs-esslingen.de>n.de <mailto:Michael.Scharf@hs-esslingen.de>>
> Cc: Lars Eggert <lars@eggert.org <mailto:lars@eggert.org>>; draft-scharf-tcpm-yang-tcp@ietf.org <mailto:draft-scharf-tcpm-yang-tcp@ietf.org>; tcpm IETF list <tcpm@ietf.org <mailto:tcpm@ietf.org>>; Michael Tuexen <tuexen@fh-muenster.de <mailto:tuexen@fh-muenster.de>>
> Subject: Re: [tcpm] Request for feedback on WG adoption of draft-scharf-tcpm-yang-tcp-04
>  
>  
> 
> 
> On Mar 27, 2020, at 8:51 AM, Scharf, Michael <Michael.Scharf@hs-esslingen.de <mailto:Michael.Scharf@hs-esslingen.de>> wrote:
>  
> Hi Joe,
>  
> Regarding stats, this is a YANG „feature“ in draft -04. That explicitly specifies that a NETCONF server compliant to the YANG model does not have to provide the stats. We added this because of your past comment on that.
>  
> AOK, but is that clear in the model itself? I.e., is there a way that merely using that subtree of data forces the user to realize that it’s explicitly optional?
> 
> 
> For the stats, -04 relatively closely follows the TCP-MIB (and the WG explicitly ask not to try a 1:1 mapping).
>  
> AOK.
>  
> ...
> I fully agree that we can discuss every single entry. But, at least for the stats, I don’t think this is really a lot of work.
>  
> Agreed; this isn’t onerous esp. if optional.
> 
> 
> In addition, there is one difference between a YANG model (and in fact also a MIB) and a TCP API: The TCP API is tightly coupled with the TCP protocol implementation typically in the kernel. Network management apps using YANG can run outside the kernel. 
>  
> In-kernel or out-of-kernel are implementation decisions. Neither is driven by MIB vs YANG or even the TCP API (or TCP) itself, agreed.
>  
> My point is that we need to be careful to not make this model an explicit or implicit extension of the API. The optional part above should do that.
> 
> 
> ...
> Stats, TCP-AO and MD5 (with appropriate flagging) actually look like pretty low-hanging fruits to me. Of course, we need to discuss the modeling details,  but it is a fairly narrow and well-defined scope. Is this part really the most challenging part of the document that prevents us from adopting a YANG model in TCPM?
>  
> The TCP roadmap should help us understand what’s critical and not in this model, IMO.
>  
> Joe
>  
> _______________________________________________
> tcpm mailing list
> tcpm@ietf.org <mailto:tcpm@ietf.org>
> https://www.ietf.org/mailman/listinfo/tcpm <https://www.ietf.org/mailman/listinfo/tcpm>