Re: [netconf] [Last-Call] Yangdoctors last call review of draft-ietf-netconf-tls-client-server-24

Andy Bierman <andy@yumaworks.com> Sat, 29 May 2021 00:04 UTC

Return-Path: <andy@yumaworks.com>
X-Original-To: netconf@ietfa.amsl.com
Delivered-To: netconf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 08C5C3A3AE7 for <netconf@ietfa.amsl.com>; Fri, 28 May 2021 17:04:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.887
X-Spam-Level:
X-Spam-Status: No, score=-1.887 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, T_SPF_PERMERROR=0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks-com.20150623.gappssmtp.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 xRPV5t40x_Kj for <netconf@ietfa.amsl.com>; Fri, 28 May 2021 17:04:41 -0700 (PDT)
Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 95BC53A3AE4 for <netconf@ietf.org>; Fri, 28 May 2021 17:04:41 -0700 (PDT)
Received: by mail-lf1-x136.google.com with SMTP id i9so7646314lfe.13 for <netconf@ietf.org>; Fri, 28 May 2021 17:04:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=H4GSeVzagxQU3B0aF5cnhysbHMRFu1rv74GF/iBjuPI=; b=lSkPUhKy+IrMADERX4yqkopoomfpYhnrOtztuz18ic6FRGaBj200CVkedal8s4RXVQ iZYT08QeYr2TJM7YLJoJFq4BhqphWmFz5yVjo8XP739G3kBjsNNtO0LQ9vlE+6pq+v3j YDmNJn9FdhFlwqaFkFwV8CbsVW+ampwSCXtSLsnOTGxEz9P54xYZdYCDjBietcrorcb1 AoxtI00lMEr2ra8xb/a5W8oazEC8eLvQNMmOxEPXArZh9ztB0tQWAj+suHk+Jh45Jwmj BkS/fX2jnKtcr3pgwlmsP1cRURrMIFqLVgWapIQ4T+0jwUXN9vMubfLLm5PeOucyQxsR YaYw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=H4GSeVzagxQU3B0aF5cnhysbHMRFu1rv74GF/iBjuPI=; b=kxjLCFIKpbSVdNQjvnIrhi8d8TaQm8FzixvNRPK28gYk98/GjO43IQdWuWAKk/J8il /zMOu3EdGm7APdArDgmPONnggov9GqqSYXY9F4cSve7yRDKOB2eJ5e9J0a8ofh4UQ37T f+NRBdodBfvDc8+AcBuuUIIAhsZ0SHmV5EdFcypKA9R/Q45W8DMImBmzNG3SbwdEous0 sqPHkRH2i29NlzcxXHiEuuej5DGpXfE5jb5yjcvXxLNzYHGT9BQ0DYQpRJ60Z6MONzXW ynffgQMtUVXpSNhMpmo3lbxS6zFPFisGW2ekIpZUFGuMnUYoHC/DLqYSvDEQcUxFUfsk oQyg==
X-Gm-Message-State: AOAM531E6s70jPYAZqIEdcnEio0bl5vOcDGRgKzpwrKo7eDUrCGOHWW/ ILeT7XBjo8YGs9EP7kH1g19Hh+A3SRO+5I2QxvA0Xw==
X-Google-Smtp-Source: ABdhPJxBB9zXIiKF0YVwJw3L18mbvocHaQ0dnfuSM39DgoWpo6jow35NNSuQuxcO9/JTNyDrQ1Hc3d/ui8yVgE7qz5s=
X-Received: by 2002:a05:6512:31d1:: with SMTP id j17mr7113013lfe.512.1622246678338; Fri, 28 May 2021 17:04:38 -0700 (PDT)
MIME-Version: 1.0
References: <162197056513.1767.16350161534776831688@ietfa.amsl.com> <01000179af378d51-c0a96433-9313-4b0d-bf3f-0a8f54be4852-000000@email.amazonses.com>
In-Reply-To: <01000179af378d51-c0a96433-9313-4b0d-bf3f-0a8f54be4852-000000@email.amazonses.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Fri, 28 May 2021 17:04:27 -0700
Message-ID: <CABCOCHTFYGXF4uR557c2fyuJPbUqNv4KhiAuMaMdTfXcx3PvUw@mail.gmail.com>
To: Kent Watsen <kent@watsen.net>
Cc: "netconf@ietf.org" <netconf@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000000035b705c36cbd5d"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/vBRazEjMS-vcFLLVwEt5_i5s0WM>
Subject: Re: [netconf] [Last-Call] Yangdoctors last call review of draft-ietf-netconf-tls-client-server-24
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETCONF WG list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netconf/>
List-Post: <mailto:netconf@ietf.org>
List-Help: <mailto:netconf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 29 May 2021 00:04:47 -0000

On Thu, May 27, 2021 at 12:05 PM Kent Watsen <kent@watsen.net> wrote:

> [moving all alias except “netconf” to the BCC list]
>
>
> Hi Andy,
>
> Thank you for your review!
>
>
> > On May 25, 2021, at 3:22 PM, Andy Bierman via Datatracker <
> noreply@ietf.org> wrote:
> >
> > Reviewer: Andy Bierman
> > Review result: Ready
> >
> > Comments:
> >
> > I am not commenting on the TLS 1.0 and 1.3 onging discussions.
> > The WG decision does not impact the YANG module review.
> >
> > 1) Measuring Interoperability for groupings and identities
> >
> > [same comment for SSH and TLS drafts]
> >
> > These modules are intentionally abstract.
> > There are no protocol-accessible objects defined at all.
> > Interoperability is usually measured in the context of a
> > specific protocol (e.g., NETCONF).
> >
> > There is an assumption that interoperability will be achieved
> > by some other RFCs that will have "uses" statements to create
> > protocol-accessible or otherwise implementable objects.
> >
> > There is also an assumption that the groupings will be used the
> > same everywhere, and the only difference will be the
> > path from root to the objects in these groupings.
> > In fact, the "refine" statement allows each usage to be
> > different.
> >
> > Perhaps the drafts should mention these interoperability issues.
>
> Let’s discuss this in my response to the same comment in your review of
> the ssh-client-server draft.
>
>
> > 2)  mandatory choice of only optional-to-implement cases
> >
> > The choice /ietf-tls-client:client-identity/auth-type
> > is mandatory but all cases have if-feature-stmts.
> > Does draft mention 1 of the 4 features MUST be implemented?
>
>
>
> The same construct is present in the ietf-tls-server module as well...I’ll
> apply the agreed upon solution to both.  Would the following update suffice?
>
> OLD:
>
>       choice auth-type {
>         mandatory true;
>         description
>           "A choice amongst authentication types.”;
>
> NEW:
>
>       choice auth-type {
>         mandatory true;
>         description
>           "A choice amongst authentication types, of which one must
>            be enabled (via its associated 'feature') and selected.”;
>
>
>

Related issue:

What is a server supposed to do if it is implementing a module with
a configuration that has a mandatory choice but no enabled or defined
cases?

A) add a deviation to remove the mandatory-stmt
B) always return a data-missing error and block the edit or commit
C) ignore the error and treat it as a NO-OP
D) something else?


> K.
>


Andy