Re: [yang-doctors] Yangdoctors early review of draft-ietf-teas-sf-aware-topo-model-08

Xufeng Liu <xufeng.liu.ietf@gmail.com> Sat, 25 March 2023 01:23 UTC

Return-Path: <xufeng.liu.ietf@gmail.com>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9DC41C151542; Fri, 24 Mar 2023 18:23:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.084
X-Spam-Level:
X-Spam-Status: No, score=-2.084 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_REMOTE_IMAGE=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=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 2MbC4eOeNYAq; Fri, 24 Mar 2023 18:23:08 -0700 (PDT)
Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) (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 D70A0C14CE4A; Fri, 24 Mar 2023 18:23:07 -0700 (PDT)
Received: by mail-lj1-x229.google.com with SMTP id x20so3417820ljq.9; Fri, 24 Mar 2023 18:23:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679707385; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=DG6eMwrHzVYuUAdn5A5SfHVq12V/SlUOl4RQ7ZME1Bo=; b=IeVIK76/OZQdrx612GSmjV5fIcsvDQyzOHmeEnUiY0CMWaWCYJ/tG8zC2AonntBzxd tzaCb/Aye3HIURJvNZ6ln5NKx12vfjLYoSTEZdVdqUw/eZT9TYOpSy4xZ3zpIXp5JO80 MU2q2WIAXW043uN1U3K0o4Vm28z1zpJoKbWShdlPwB6oyp0M3MEOXvNkkNCP0miyh4CT Kx6nwTzi+1PlbdAsnrf9A2J6JnWdFBovP/D774bdiwFLKezUWwVj0vmAb3q/BcdhOBAi zPDvTJXIMuZZF5e8/Qlhh1Z/IoxxtR0tBT3VRsfyuYHhLJ1oOTC/XoIE4Da8UyWDBQ+G MLXg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679707385; 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=DG6eMwrHzVYuUAdn5A5SfHVq12V/SlUOl4RQ7ZME1Bo=; b=LlKETBCrqluC+06PX9ZJclSI4oKmBYTXbY29JD2DcdP8MWbFjCamqvWT4a5o0kT+nK yAdyBU3J5UPj1rX82Wen0yf3MYUKrEmsVZUE/UOykfLeMffwLdt2DbdtmYj8Hq4qW69H PtJdsvQKKsj1ZzAJGK++MBeN0Qheze95nqMczEIURXiBlEJ8aEJag3Hkntv+K+aZxZZM 2EVo0I4Ms4WRF1ACgb+xW6WtL7O/f0sDYp07rbeAVtCuCu7Rehi5qVlwSNvxukq/pK8a F80xTXN/8bOwIVXmwvVCltRJLIFsExPFpeN0K9Dxa4AYyR6kRkojGrn3q2Yti31wbVsG w76g==
X-Gm-Message-State: AAQBX9cKFhElQCj21jcaBiu+9T8SCV/cavw9BydQAhavqdXiOwT54445 Deka2PeR3NeMLURfh2Arcns4Jln+TIc4sKxeAa0Twi8r
X-Google-Smtp-Source: AKy350YBaRS5QJDOtU2e+YH/ZDLnFcW+ZY5wwa8XQHEJF4xv00MDf39BUmDB4oDukAfaVrQkcERbpOKcjyPdcxFdEuk=
X-Received: by 2002:a2e:9ec8:0:b0:295:8ef2:871d with SMTP id h8-20020a2e9ec8000000b002958ef2871dmr1425904ljk.4.1679707385259; Fri, 24 Mar 2023 18:23:05 -0700 (PDT)
MIME-Version: 1.0
References: <163951504060.716.5402845840042613349@ietfa.amsl.com> <CAEz6PPT8imYEZ5rQsw-YxMNgwugx4s3yr60OCmqNxmMJ+Y2AMg@mail.gmail.com> <CABCOCHQBp4cYOxsRoXKDnZXmv0=ho9CtqjzZA6xDh8s27HkB+w@mail.gmail.com>
In-Reply-To: <CABCOCHQBp4cYOxsRoXKDnZXmv0=ho9CtqjzZA6xDh8s27HkB+w@mail.gmail.com>
From: Xufeng Liu <xufeng.liu.ietf@gmail.com>
Date: Fri, 24 Mar 2023 21:22:53 -0400
Message-ID: <CAEz6PPSYdzaya0eRDx0djf4CORFhES+TiZAENt4tqN+0VXmiiQ@mail.gmail.com>
To: Andy Bierman <andy@yumaworks.com>
Cc: YANG Doctors <yang-doctors@ietf.org>, draft-ietf-teas-sf-aware-topo-model.all@ietf.org, TEAS WG <teas@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000066be305f7af5acf"
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/VTF09rjknoJ2HBn4kGLfpZoaLlI>
Subject: Re: [yang-doctors] Yangdoctors early review of draft-ietf-teas-sf-aware-topo-model-08
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Email list of the yang-doctors directorate <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 25 Mar 2023 01:23:11 -0000

Hi Andy,

Would you still like to do a verification on this?
Thanks,
- Xufeng

On Wed, May 4, 2022 at 12:56 PM Andy Bierman <andy@yumaworks.com> wrote:

> Hi,
>
> I reviewed the diffs between -08 and -09 and they look good.
> I will do a complete review of -09 soon. I think all my comments
> have been addressed but need to verify.
>
>
> Andy
>
>
> On Fri, Mar 18, 2022 at 4:08 PM Xufeng Liu <xufeng.liu.ietf@gmail.com>
> wrote:
>
>> Hi Andy,
>>
>> Thanks a lot for the review and comments. We have posted an updated
>> revision
>> https://datatracker.ietf.org/doc/html/draft-ietf-teas-sf-aware-topo-model-09,
>> trying to address the comments, with some explanations below in-line.
>>
>> Thanks,
>> - Xufeng
>>
>> On Tue, Dec 14, 2021 at 3:50 PM Andy Bierman via Datatracker <
>> noreply@ietf.org> wrote:
>>
>>> Reviewer: Andy Bierman
>>> Review result: Ready with Issues
>>>
>>>
>>> Draft:    draft-ietf-teas-sf-aware-topo-model-08.txt
>>> Module:   ietf-te-topology-sf
>>> Revision: 2021-06-28
>>>
>>>
>>> General:
>>>
>>> This document is well written and understandable, even though
>>> the topic is complex.
>>>
>>>
>>> Issues:
>>>
>>> 1)
>>> Not clear why
>>> information-source-entry/service-function/link-terminations/link-termination/from
>>> is just an empty NP-container. Description says "Reference to the link
>>> termination point.";
>>> Not clear how this empty NP-container is a reference to anything.
>>
>> [Xufeng]: Thanks for pointing this out. A leaf was mistakenly missing.
>> Fixed.
>>
>>>
>>> 2)
>>> The "service-function-id" and "sf-connection-point-id" leafs are each
>>> used in 4 places.
>>> Perhaps use groupings instead of cut-and-paste?
>>>
>> [Xufeng]: Right. A grouping is better, and added.
>>
>>
>>> The type is a plain string. Is this really what is desired?
>>> It is not clear if these leafs are administrative labels or real linkage.
>>> The description is (e.g.) "Reference to a network service or a network
>>> function."
>>> This implies some linkage to another YANG object somewhere, but no
>>> mention of any
>>> such objects. Should this be a leafref to a specific node (or union of
>>> leafrefs
>>> to multiple objects)?
>>>
>> [Xufeng]: Fixed by using leafref statements.
>>
>>>
>>> 3)
>>> The service-function key (id) is also a plain string.
>>> Should the type "yang-identifier" be used instead?
>>> Or maybe a different common type.  Is is not unusual to limit the length
>>> of string identifiers provided by a client.  Obvious;y a server can
>>> return a "too-big" error but it might be useful to pick a length
>>> every server must support (e.g. 1..64).
>>>
>> [Xufeng]: Such IDs are not defined within IETF. The usually accepted
>> definition is from ETSI (
>> https://www.etsi.org/deliver/etsi_gs/NFV-IFA/001_099/007/03.05.01_60/gs_NFV-IFA007v030501p.pdf).
>> There are multiple existing data models, which may be YANG, or TOSCA, or
>> others. We are not trying to limit the service-function implementation to a
>> particular model, so a service-function model is not referenced here. ETSI
>> does not impose any restriction on the format and length, so this topic was
>> discussed and the type string was chosen.
>>
>>>
>>>
>>> Module:   ietf-te-topology-sf-state
>>> Revision: 2021-06-28
>>>
>>> This is a non-NMDA version of the ietf-te-topology-sf module.
>>> It appears to completely correct and no new issues exist.
>>>
>>> (There should be a YANG extension to tell compilers and other tools
>>> that module foo-state is really the non-NMDA variant of foo, and
>>> not just a different module with a name that matches a common pattern.
>>> Not an issue for this draft.)
>>>
>>>
>>>
>>>
>>
>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon> Virus-free.
>> www.avast.com
>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
>> <#m_-6266487045898824426_m_442652490399504781_m_-7613731194565471283_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>
>