Re: [Teas] Yangdoctors early review of draft-ietf-teas-yang-te-34

Andy Bierman <andy@yumaworks.com> Sun, 14 January 2024 17:14 UTC

Return-Path: <andy@yumaworks.com>
X-Original-To: teas@ietfa.amsl.com
Delivered-To: teas@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 64EE4C14F5EE for <teas@ietfa.amsl.com>; Sun, 14 Jan 2024 09:14:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.105
X-Spam-Level:
X-Spam-Status: No, score=-2.105 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, HTML_MESSAGE=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks.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 5P_yWqjdToQw for <teas@ietfa.amsl.com>; Sun, 14 Jan 2024 09:14:42 -0800 (PST)
Received: from mail-oa1-x34.google.com (mail-oa1-x34.google.com [IPv6:2001:4860:4864:20::34]) (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 2F207C14F61C for <teas@ietf.org>; Sun, 14 Jan 2024 09:14:41 -0800 (PST)
Received: by mail-oa1-x34.google.com with SMTP id 586e51a60fabf-20503dc09adso5390156fac.2 for <teas@ietf.org>; Sun, 14 Jan 2024 09:14:41 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks.com; s=google; t=1705252480; x=1705857280; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=zjSOH/DMTbHQPKJE/saDvrA2kJg+jUNwBY+5tQH/tzE=; b=nqdQhcs7grFpWYXNnqFaS2FvArAnDeVVkJq7Tbcire+tyd2OEetJ8zV2pdLCLHfJct NHmdSBhUrtqyvnnrJdWCAIOl1uPo0XpHBHX/Ep/hV7bPnZp4C0775jKeD1tOKxOVLE2M aq6H9onpkWdEh7ugJpbvXMYlIg40VqRQoMhy5F7mCWw2cIEbCAzo46Sl/slPxBfZjrzP eOzPw98vJuk4geBUS/8zpZe58oe6xvXASaBrFnwj76G5kB2TcRq8/Rof4PTGtHI7aMef HzEjcYAE58hVJnj9usg9S+VPh9N1NJBfH7SJWcXrsunH2DK67SkgT4Y74X4RXcwtyMje zHRQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705252480; x=1705857280; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=zjSOH/DMTbHQPKJE/saDvrA2kJg+jUNwBY+5tQH/tzE=; b=YWpmgvuVSoveFvfaoP1V6e21W0xN2tk53/umOscYrQ79ApDI+MCxwRYXOHd7LHua52 v8HxE/X/OpsPXMIlJ/N4rnSeQpZR8vr5i8TD5cdbPed6JJO+IfI+3UzYXIal4dqVkWp6 fDGdBAaOq6fT8hlj3krYuOQlzODiEIS3Mbymai8iZwNYadpr7HW+kDczjRVw7aNPWOrs PyN/lDZXnpHI9Ly8tNJ0zPqAS3cRyLzHTwJTd7WaZr4pHGlZya4l+3uSxZIb9VmlGo+D uVX0ITafuf4PKp/BhJ8KfBVEfnggs/wQjlSX9jXVjNT14YSPGDLyORuf8ssKOzRQxgIg GroA==
X-Gm-Message-State: AOJu0YwFratvixUoGL7juYH5HzJw6oJjFs+24aX8wh0TYfBxNnBPXrof e2JwVCX0R4SnRpkSJGBwE6RUPF8muYRMPdDHgWDYdvO2ISVuYA==
X-Google-Smtp-Source: AGHT+IFIjydFGio5EmJAK55rTTaU1mFlDH2CrQB8IFaqkhEgCs7gEdYJZSwOM9FfPJUUib4RtcW8tnwyvjHguCVxy8k=
X-Received: by 2002:a05:6358:9daa:b0:174:8ce1:11ad with SMTP id d42-20020a0563589daa00b001748ce111admr3404228rwo.9.1705252480228; Sun, 14 Jan 2024 09:14:40 -0800 (PST)
MIME-Version: 1.0
References: <170120252811.2367.7132951533362461040@ietfa.amsl.com> <DS0PR19MB6501307E78065C7B3386D3FDFC93A@DS0PR19MB6501.namprd19.prod.outlook.com>
In-Reply-To: <DS0PR19MB6501307E78065C7B3386D3FDFC93A@DS0PR19MB6501.namprd19.prod.outlook.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Sun, 14 Jan 2024 09:14:28 -0800
Message-ID: <CABCOCHSX1ZW+MhWAv5zdKCz6MNKh0Y5ao2xhv4Zi+Y5BLhYpWA@mail.gmail.com>
To: Tarek Saad <tsaad.net@gmail.com>
Cc: "yang-doctors@ietf.org" <yang-doctors@ietf.org>, "draft-ietf-teas-yang-te.all@ietf.org" <draft-ietf-teas-yang-te.all@ietf.org>, "teas@ietf.org" <teas@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000005634b9060eeb08cb"
Archived-At: <https://mailarchive.ietf.org/arch/msg/teas/MpuX0o2geB3icgmHJFPRjgmlUh0>
Subject: Re: [Teas] Yangdoctors early review of draft-ietf-teas-yang-te-34
X-BeenThere: teas@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Traffic Engineering Architecture and Signaling working group discussion list <teas.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/teas>, <mailto:teas-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/teas/>
List-Post: <mailto:teas@ietf.org>
List-Help: <mailto:teas-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/teas>, <mailto:teas-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 14 Jan 2024 17:14:46 -0000

On Fri, Jan 12, 2024 at 6:56 AM Tarek Saad <tsaad.net@gmail.com> wrote:

> Hi Andy,
>
>
>
> Thank you for the review and comments. We have uploaded rev 35
> <https://datatracker.ietf.org/doc/html/draft-ietf-teas-yang-te-35> that
> addresses comments you have raised. Please see inline for more details [TS].
>
>
>
>
>

I updated the review to Ready.
https://datatracker.ietf.org/doc/review-ietf-teas-yang-te-34-yangdoctors-early-bierman-2023-11-28/


Andy


> *From: *Andy Bierman via Datatracker <noreply@ietf.org>
> *Date: *Tuesday, November 28, 2023 at 3:15 PM
> *To: *yang-doctors@ietf.org <yang-doctors@ietf.org>
> *Cc: *draft-ietf-teas-yang-te.all@ietf.org <
> draft-ietf-teas-yang-te.all@ietf.org>, teas@ietf.org <teas@ietf.org>
> *Subject: *Yangdoctors early review of draft-ietf-teas-yang-te-34
>
> Reviewer: Andy Bierman
> Review result: Ready with Issues
>
>
>
> # ietf-te.yang
>
> ## Summary
>
> -  Well written large module representing a lot of work.
> -  No YANG errors or warnings.
>
> ## Major Issues
>
> -  None
>
> ## Minor Issues
>
> ### leaf hierarchy/dependency-tunnels/dependency-tunnel/name
>
> -  The 'tunnel-ref' typedef is duplicated here.
>
> OLD:
>
>             type leafref {
>               path "/te:te/te:tunnels/te:tunnel/te:name";
>               require-instance false;
>             }
>
> SUGGESTED NEW:
>
>             type tunnel-ref {
>               require-instance false;
>             }
>
>
>
> [TS]: accepted.
>
>
>
> ### list lsp-provisioning-error-infos/lsp-provisioning-error-info
>
> -  This list has no key leaf(s) defined. It is used in 4 places.
>    Although legal, this limits list entry retrieval options
>
>
>
> [TS]: we discussed this amongst authors. We found no strong case to index
> the items in this read-only list. So, we opted to keep as-is.
>
>
>
> -  The description (or reference) should explain when/how a server is
>    expected to add and remove entries from this list.
>
> -  Also applies to /computed-path-error-infos/computed-path-error-info
>
> [TS]: these entries are populated by the backend path computing server and
> are “read-only”. Hence, those entries are not expected to be removed. We
> have expanded description of this in section 5.1.2.
>
>
> ### action tunnel-action
>
> -  description-stmt should explain the purpose of this action
>
> [TS]: updated description to describe the purpose.
>
> -  reference-stmt should be added, if applicable
>
> [TS]: updated.
>
>
>
> ### action protection-external-commands
>
> -  no description-stmt. It should explain the purpose of this action
>
> -  reference-stmt should be added, if applicable
>
> [TS]: updated.
>
>
>
> ### rpc tunnels-path-compute
>
> -  description-stmt should explain the purpose of this operation.
>    It looks like this operation is just a generic API,
>    and the purpose, input, and output parameters are all
>    added by augment.
>
> [TS]: updated description to describe the purpose.
>
> -  reference-stmt should be added, if applicable
> [TS]: updated.
>
>
>
>
> ### rpc tunnels-actions
>
> -  description-stmt should explain the purpose of this operation.
>
> -  reference-stmt should be added, if applicable
> [TS]: updated.
>
>
>
>
> ## Nits
>
> -  General: action and RPC naming is not very consistent.
>
> -  pg 14: the 'tunnels' list
>
>    The YANG list node is named 'tunnel'.
> [TS]: fixed.
>
> # ietf-te-device
>
> ## Summary
>
> -  Well written large module representing a lot of work.
>
> -  No YANG errors or warnings.
>
> ## Major Issues
>
> -  None
>
> ## Minor Issues
>
> ### interface/interface
>
> -  list interface with key leaf interface is confusing.
>    Descriptions for both should be expanded.
> [TS]: addressed by renaming the key to name.
>
>
>
> Regards,
>
> Tarek (for the co-authors)
>
>
>
>
> ## Nits
>
> -  None
>
>