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

Tarek Saad <tsaad.net@gmail.com> Fri, 12 January 2024 14:56 UTC

Return-Path: <tsaad.net@gmail.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 86D72C14F69F; Fri, 12 Jan 2024 06:56:39 -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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, 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=gmail.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 CJbuCet-XaxJ; Fri, 12 Jan 2024 06:56:37 -0800 (PST)
Received: from mail-il1-x12b.google.com (mail-il1-x12b.google.com [IPv6:2607:f8b0:4864:20::12b]) (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 221E1C14F616; Fri, 12 Jan 2024 06:56:34 -0800 (PST)
Received: by mail-il1-x12b.google.com with SMTP id e9e14a558f8ab-3606e11d9cbso31032665ab.0; Fri, 12 Jan 2024 06:56:34 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705071393; x=1705676193; darn=ietf.org; h=mime-version:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=0bPBUmtNSpNbmzHQRtNnpKRihRsuH0TCxMRsIJ5vLC4=; b=mok4gvUk5Wo3E19z12iYSWXu+snXdWTgfB7PerVrthzOLpVZY24MIXSklgNPcTXC1p ssNqblecvcSv/Y93mSY7QEw7Hhbs9RJKF2+4tEkEpWraNlfNxGgJXzSEVQOIQdszbuu5 /2eg1Je0TthzjQTzpnvdX+r6KoeXPSJHIjkQXRROuPAIJyzdbrDrCzAZs35c+s9QGdKj Jx5IGDVP3x6vlOAHHK2gOMt90iCGiGAtW60ZB0MGmqCMfRsmQYSiKFgPQefs5/r9TzxN 24CYC2RRLFt5aMCdSy4GhVzHF1c18nBgPEbvCKYk3mPnFE1XXIyaT7HEFCg+XdpwbGma 6NKg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705071393; x=1705676193; h=mime-version:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=0bPBUmtNSpNbmzHQRtNnpKRihRsuH0TCxMRsIJ5vLC4=; b=FIPVeGJJ4xFoUWjsQVrZZpVLza4aUsufZBgTrWjUGESvlotyp7SNpFtxVIwRAgZFuO Q0LrCx+qdbzUrDlDYmqppZXPWB0bkT8XCq90vO1QfLhVn6y1RMU9gyldpnTzwPm5FPrH +y1nUp/IrmDFPAQLw94ALBo732ccc9Gvc6zLLmIilcYolC+AZvcAE9mDyEEbNSxb46xq CU7balH0PZTWf9AhxoJAqefCIs5sYpfp+OPqZI4YhTdJGUWzgxvV3eHIemM6yRG7bt13 ShgjGIoTLT5DgL1EbRCZQURwqrrxA7vWa/MDb1qEPQS5CO+Q20t33Jh+9eTL5izXNcFI C+3w==
X-Gm-Message-State: AOJu0YyDOd9aPvq657KaiFNI7bIKGec4omi9bzVE5SeC061PWdxEDR+y NTo8Fxd89O5Tyw/FFuE5W4PCi5Q+lasO9g==
X-Google-Smtp-Source: AGHT+IH0gtdQo1UenwtPIqss/bNoZzA/l9O4kEh+eveeUkrxWxO65SaddH8W3JhSkw44MAgT7k1AYg==
X-Received: by 2002:a05:6e02:b22:b0:35f:ea7b:7c19 with SMTP id e2-20020a056e020b2200b0035fea7b7c19mr1502547ilu.30.1705071393086; Fri, 12 Jan 2024 06:56:33 -0800 (PST)
Received: from DS0PR19MB6501.namprd19.prod.outlook.com ([2603:1036:5:f::5]) by smtp.gmail.com with ESMTPSA id h2-20020a056e02052200b0036047b81b6bsm955665ils.54.2024.01.12.06.56.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 06:56:32 -0800 (PST)
From: Tarek Saad <tsaad.net@gmail.com>
To: Andy Bierman <andy@yumaworks.com>, "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>
Thread-Topic: Yangdoctors early review of draft-ietf-teas-yang-te-34
Thread-Index: ATA2OTYyiQDwu4V2DAIyZrM7Im1zctPxgZEK
X-MS-Exchange-MessageSentRepresentingType: 1
Date: Fri, 12 Jan 2024 14:56:31 +0000
Message-ID: <DS0PR19MB6501307E78065C7B3386D3FDFC93A@DS0PR19MB6501.namprd19.prod.outlook.com>
References: <170120252811.2367.7132951533362461040@ietfa.amsl.com>
In-Reply-To: <170120252811.2367.7132951533362461040@ietfa.amsl.com>
Accept-Language: en-US
Content-Language: en-CA
X-MS-Has-Attach:
X-MS-Exchange-Organization-SCL: -1
X-MS-TNEF-Correlator:
X-MS-Exchange-Organization-RecordReviewCfmType: 0
Content-Type: multipart/alternative; boundary="_000_DS0PR19MB6501307E78065C7B3386D3FDFC93ADS0PR19MB6501namp_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/teas/kvRQkFNwOkheg9xOUuaPAzb1BnQ>
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: Fri, 12 Jan 2024 14:56:39 -0000

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].


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