Re: [RTG-DIR] Rtgdir last call review of draft-ietf-ccamp-flexigrid-yang-13

daniel@olddog.co.uk Thu, 25 August 2022 13:02 UTC

Return-Path: <dk@danielking.net>
X-Original-To: rtg-dir@ietfa.amsl.com
Delivered-To: rtg-dir@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B0C1DC15E6F3 for <rtg-dir@ietfa.amsl.com>; Thu, 25 Aug 2022 06:02:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.655
X-Spam-Level:
X-Spam-Status: No, score=-1.655 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_NONE=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=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=danielking-net.20210112.gappssmtp.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 N5lvyTubJIM4 for <rtg-dir@ietfa.amsl.com>; Thu, 25 Aug 2022 06:02:15 -0700 (PDT)
Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) (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 7A033C152587 for <rtg-dir@ietf.org>; Thu, 25 Aug 2022 06:01:24 -0700 (PDT)
Received: by mail-wr1-x42b.google.com with SMTP id u14so24509652wrq.9 for <rtg-dir@ietf.org>; Thu, 25 Aug 2022 06:01:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=danielking-net.20210112.gappssmtp.com; s=20210112; h=content-language:thread-index:content-transfer-encoding :mime-version:message-id:date:subject:in-reply-to:references:cc:to :from:sender:from:to:cc; bh=Zik5xzKLbaYJ0cO2cUaMDsn0hn1KHLPmkTPIgqZmF5M=; b=ym6u+jMeu3FaI81BJq9GIZkv3+mXYe7T8zvxMyx/9k8dJhiy0vp3MDxpfU8xgMntte ZT2hoLI9IHBpaXQ3ySh8yfC8Po8Bzz2QBkDKGqo5Mjxh5h4434O1yfee3QuSwMeauSnY D6oGJ4U/vHNm5DDgltIh+em/PMhPDHgrP0apY2nO81/z4eCJZ99MQU0NM8wt+8Ybf1rs BYXbjElbmKGrncen7zJ5OT0S/LbDJQrssArx0tW4tkZwnZB+sD30S3GOwzFpoABLPUMG qEYLdQASSYdAUFARjHTCKCarsxmLV2Wk6akMH0RlwYrbBW8bHQtoFU8bMYqQc1eklLJT cKFA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-language:thread-index:content-transfer-encoding :mime-version:message-id:date:subject:in-reply-to:references:cc:to :from:sender:x-gm-message-state:from:to:cc; bh=Zik5xzKLbaYJ0cO2cUaMDsn0hn1KHLPmkTPIgqZmF5M=; b=Xe30lSN0NOdm1UrNiX7ZL/qqQWoF2L+8JzqjVDun15criYexs8WZqj5Y4XPugUEKiG ozLkouEYiEKg2Yzk8sgzVQxM75Jr1reoTzbTEue2yBZNBq12hx/A1Kd0zKXl/epzw1O+ Q2gaFIullypgyLqac7EKt7WU5WTce7l3nQKAWaBzhkLSq+pkZt3ragKhXkTWV6neJC// 72YnVUD7kDz2OCm/G87SbT651CYCS+cCpZWVH8x6x8dgac6JxDyVS/Hj0nPFB855PZdF dCKCJ88BYUv8ZHcH6BZ22VvNe2s/H+MglnEEiZ+Q1ffXAXCXFHQdafoAlgUfaSVJdilZ UVFQ==
X-Gm-Message-State: ACgBeo3od2AS7TqhfcT6+jLAg7+ezUJB8QV86mQvz208CLu6Z+RkWP++ 4JUIEVuG8OmFOqgTJMlG07HyhV3JXHdliA==
X-Google-Smtp-Source: AA6agR6VXMue1v5w9BQl+0+fdlMj0eI+ws+myMjgkjp+w3ENjUG7MAaZrswiwLuZ/E4iFnfFytV86Q==
X-Received: by 2002:a05:6000:60c:b0:220:757a:54a8 with SMTP id bn12-20020a056000060c00b00220757a54a8mr2264070wrb.685.1661432482185; Thu, 25 Aug 2022 06:01:22 -0700 (PDT)
Received: from CIPHER ([146.70.83.130]) by smtp.gmail.com with ESMTPSA id m28-20020a05600c3b1c00b003a5ea1cc63csm5528139wms.39.2022.08.25.06.01.19 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Aug 2022 06:01:20 -0700 (PDT)
Sender: Daniel King <dk@danielking.net>
X-Google-Original-Sender: <dk@danielking.net>
From: daniel@olddog.co.uk
To: 'Dhruv Dhody' <dd@dhruvdhody.com>, rtg-dir@ietf.org, 'tom petch' <ietfc@btconnect.com>
Cc: ccamp@ietf.org, draft-ietf-ccamp-flexigrid-yang.all@ietf.org, last-call@ietf.org
References: <166083973209.1377.9322283124760905135@ietfa.amsl.com>
In-Reply-To: <166083973209.1377.9322283124760905135@ietfa.amsl.com>
Date: Thu, 25 Aug 2022 14:01:18 +0100
Message-ID: <1d0601d8b882$c5070320$4f150960$@olddog.co.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQLBbU7wkt1FNlyR+W2aZ1TAj0XOdKvuKC/w
Content-Language: en-gb
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtg-dir/W5bZ6d5mm3qUv9titi1WahFA4Ho>
Subject: Re: [RTG-DIR] Rtgdir last call review of draft-ietf-ccamp-flexigrid-yang-13
X-BeenThere: rtg-dir@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Routing Area Directorate <rtg-dir.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtg-dir>, <mailto:rtg-dir-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rtg-dir/>
List-Post: <mailto:rtg-dir@ietf.org>
List-Help: <mailto:rtg-dir-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-dir>, <mailto:rtg-dir-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Aug 2022 13:02:18 -0000

Thanks, Dhruv, Tom and Daniele. 

We will work through these comments and fix the 'when' statements.

BR, Dan. 

-----Original Message-----
From: Dhruv Dhody via Datatracker <noreply@ietf.org> 
Sent: 18 August 2022 17:22
To: rtg-dir@ietf.org
Cc: ccamp@ietf.org; draft-ietf-ccamp-flexigrid-yang.all@ietf.org; last-call@ietf.org
Subject: Rtgdir last call review of draft-ietf-ccamp-flexigrid-yang-13

Reviewer: Dhruv Dhody
Review result: Has Issues

# RTGDIR review of draft-ietf-ccamp-flexigrid-yang-13

## Major
- None

## Minor
- Section 1, Introduction states ".."media-channel" defined in [RFC9093]."; I did not find "media-channel" in 9093. - Section 2, Terminology: suggest combining the text related to RFC7950 together, something like - ````
   The terminology for describing YANG data models is found in
   [RFC7950]. The following terms are defined in [RFC7950] and
   are not redefined here:

   *  client
   *  server
   *  augment
   *  data model
   *  data node
````
- Also consider adding TTP, LTP, etc in the Terminology
- Section 4
    - the purpose of this section is not clear to me. Are you trying to justify
    why a topology model is needed? - Further, I suggest avoiding using the
    phrase - "We define..", "we do..". - Maybe you could add some example
    values for yang parameters for flexi-grid to make it more useful
- Section 6, to increase the readability of the YANG tree, I suggest breaking them up and grouping similar augmentations together. - Security consideration section needs work
    - it only mentions "rw", there are "ro" elements as well but not listed in
    the security section. - List the impact on the system as well - In the list
    of "rw", you list the paths where augmentation is done and not the new
    leafs added via augmentation. I think the focus should be on the incorrect
    flex-grid parameters setting at each of these levels.

## YANG Model
- The YANG model compiles with no error and is formatted correctly.
- Happy to report that all the required places in ietf-te-topology model that requires augmentation are done. My eyes did hurt a bit after this exercise :) - The description in the YANG model is not the same as in the rest of the document, specifically: "This module provides a YANG data model for the routing and wavelength assignment (RWA) Traffic Engineering (TE) topology in flexi-grid optical networks.". There is no mention of RWA anywhere else. - The use of the absolute address in the when would be incorrect as you want to make sure that the current network is with the flexi-grid-topology! Everywhere else it is a relative path. ````
  augment "/nw:networks/nw:network/nw:node/tet:te"
        + "/tet:te-node-attributes" {
    when "/nw:networks/nw:network/nw:network-types"
       + "/tet:te-topology/flexgt:flexi-grid-topology" {
      description
      "Augmentation parameters apply only for networks with
       flexi-grid topology type.";
    }
    description "Augment TE node attributes.";
    container flexi-grid-node {
      presence "The TE node is a flexi-grid node.";
      description
        "Introduce new TE node type for flexi-grid node.";
    }
  }
````
- I notice a few augmentations do not have a when clause, I could not figure out why these ones should not... ````
  augment "/nw:networks/tet:te/tet:templates/"
        + "tet:link-template/tet:te-link-attributes/"
        + "tet:label-restrictions/tet:label-restriction" {
    description
      "Augment TE label range information for the TE link template.";
    uses l0-types:flexi-grid-label-range-info;
  }
  :
  :
    augment "/nw:networks/tet:te/tet:templates/"
        + "tet:link-template/tet:te-link-attributes/"
        + "tet:underlay/tet:primary-path/tet:path-element/tet:type/"
        + "tet:label/tet:label-hop/tet:te-label/tet:technology" {
    description
      "Augment TE label hop for the underlay primary path
       of the TE link template.";
    case flexi-grid {
      uses l0-types:flexi-grid-label-hop;
    }
  }
    augment "/nw:networks/tet:te/tet:templates/"
        + "tet:link-template/tet:te-link-attributes/"
        + "tet:underlay/tet:backup-path/tet:path-element/tet:type/"
        + "tet:label/tet:label-hop/tet:te-label/tet:technology" {
    description
      "Augment TE label hop for the underlay backup path
       of the TE link template.";
    case flexi-grid {
      uses l0-types:flexi-grid-label-hop;
    }
  }

  augment "/nw:networks/tet:te/tet:templates/"
        + "tet:link-template/tet:te-link-attributes/"
        + "tet:label-restrictions/tet:label-restriction/"
        + "tet:label-start/tet:te-label/tet:technology" {
    description
      "Augment TE label range start for the TE link template.";
    case flexi-grid {
      uses l0-types:flexi-grid-label-start-end;
    }
  }

  augment "/nw:networks/tet:te/tet:templates/"
        + "tet:link-template/tet:te-link-attributes/"
        + "tet:label-restrictions/tet:label-restriction/"
        + "tet:label-end/tet:te-label/tet:technology" {
    description
      "Augment TE label range end for the TE link template.";
    case flexi-grid {
      uses l0-types:flexi-grid-label-start-end;
    }
  }

  augment "/nw:networks/tet:te/tet:templates/"
        + "tet:link-template/tet:te-link-attributes/"
        + "tet:label-restrictions/tet:label-restriction/"
        + "tet:label-step/tet:technology" {
    description
      "Augment TE label range step for the TE link template.";
    case flexi-grid {
      uses l0-types:flexi-grid-label-step;
    }
  }
}
````
## Nits
- The use of the word "database" in the abstract stood out to me. Apart from abstract you dont use that word anywhere else. - I suggest removing the NMDA statement from the abstract, you have it covered in the Introduction. - s/it augments [RFC8795]/it augments ietf-te-topology model [RFC8795]/ - For all RFC-editor notes, suggest adding a prefix "[Note to RFC-EDITOR:]". - I suggest changing the title of section 5 - "YANG Data Model for Flexi-Grid Topology" to "Overview of Flexi-Grid Topology Model". The actual model is in section 7 and this would avoid any confusion. You can collapse section 5.1 also. - Expand on first use: WDM - Section 5.1; s/augments from a more/augments a more/

This review is also available at -
https://notes.ietf.org/draft-ietf-ccamp-flexigrid-yang?view