[netconf] [IANA #1353870] expert review for draft-ietf-netconf-http-client-server (xml-registry)

Amanda Baber via RT <drafts-expert-review-comment@iana.org> Tue, 20 August 2024 17:20 UTC

Return-Path: <iana-shared@icann.org>
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 F4233C1D6FAA for <netconf@ietfa.amsl.com>; Tue, 20 Aug 2024 10:20:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.936
X-Spam-Level:
X-Spam-Status: No, score=-2.936 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, MISSING_HEADERS=1.021, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=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] autolearn=ham autolearn_force=no
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 7u62i8NGmn_c for <netconf@ietfa.amsl.com>; Tue, 20 Aug 2024 10:20:58 -0700 (PDT)
Received: from smtp.lax.icann.org (smtp.lax.icann.org [192.0.33.81]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9B311C1D6FBB for <netconf@ietf.org>; Tue, 20 Aug 2024 10:20:50 -0700 (PDT)
Received: from request7.lax.icann.org (request1.lax.icann.org [10.32.11.221]) by smtp.lax.icann.org (Postfix) with ESMTP id 82F46E0947; Tue, 20 Aug 2024 17:20:50 +0000 (UTC)
Received: by request7.lax.icann.org (Postfix, from userid 48) id 7C6FFC10C89A; Tue, 20 Aug 2024 17:20:50 +0000 (UTC)
RT-Owner: david.dong
From: Amanda Baber via RT <drafts-expert-review-comment@iana.org>
In-Reply-To: <rt-5.0.3-3187049-1723825191-1205.1353870-9-0@icann.org>
References: <RT-Ticket-1353870@icann.org> <rt-5.0.3-357491-1706300304-1704.1353870-9-0@icann.org> <rt-5.0.3-357490-1706301286-340.1353870-9-0@icann.org> <CAHBU6itaK-8HcRz6BCpSh8AskNRJhr-YD4J3Ca-n44gvDRbwFA@mail.gmail.com> <rt-5.0.3-3010315-1723766803-1840.1353870-9-0@icann.org> <CAHBU6isShc-4DaowxJJW9nUuFZcumiCpeUfKL164+ahqTKRneQ@mail.gmail.com> <010001915b87be40-a443476a-dd30-472f-a2fb-a7213dc94c7f-000000@email.amazonses.com> <CAHBU6iu7u35uTFo72QQmFH8RbfVmSGs=ukQ-Q-p2wXDey36NgQ@mail.gmail.com> <010001915bfc9a7b-1f811384-4abb-4b47-9a28-6eb1521393be-000000@email.amazonses.com> <rt-5.0.3-3187049-1723825191-1205.1353870-9-0@icann.org>
Message-ID: <rt-5.0.3-780444-1724174450-1559.1353870-9-0@icann.org>
X-RT-Loop-Prevention: IANA
X-RT-Ticket: IANA #1353870
X-Managed-BY: RT 5.0.3 (http://www.bestpractical.com/rt/)
X-RT-Originator: amanda.baber@icann.org
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: utf-8
Precedence: bulk
Date: Tue, 20 Aug 2024 17:20:50 +0000
MIME-Version: 1.0
Message-ID-Hash: ZYAZLRKDFI4V3GG65NP4KVASCOMK6B45
X-Message-ID-Hash: ZYAZLRKDFI4V3GG65NP4KVASCOMK6B45
X-MailFrom: iana-shared@icann.org
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-netconf.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: mt@lowentropy.net, netconf@ietf.org, tbray@textuality.com
X-Mailman-Version: 3.3.9rc4
Reply-To: drafts-expert-review-comment@iana.org
Subject: [netconf] [IANA #1353870] expert review for draft-ietf-netconf-http-client-server (xml-registry)
List-Id: NETCONF WG list <netconf.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/ZK_HxO0sw87FjSGABxHXHROZsfU>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netconf>
List-Help: <mailto:netconf-request@ietf.org?subject=help>
List-Owner: <mailto:netconf-owner@ietf.org>
List-Post: <mailto:netconf@ietf.org>
List-Subscribe: <mailto:netconf-join@ietf.org>
List-Unsubscribe: <mailto:netconf-leave@ietf.org>

Hi Tim,

This is on Thursday's telechat agenda. Can you let us know before then whether we should ask an AD to hold DISCUSS?

thanks,
Amanda

On Fri Aug 16 16:19:51 2024, kent+ietf@watsen.net wrote:
> [moving Amanda and Martin to BCC]
> 
> Hi Tim,
> 
> >> Whether IETF should publish YANG modules enabling the configuration
> >> of unsecure protocols has been discussed before.  I don’t know if a
> >> definitive resolution came out of it, but my understanding is that
> >> IETF YANG modules should support widely-deployed infrastructure.  In
> >> particular, protocols that are current or deprecated, but never
> >> protocols that are obsolete.
> >
> > This implies that YANG is frequently interchanged on insecure plain-
> > text channels? Eek, didn’t know that. If I were on the IESG I’d be
> > very negative about this, but I’m not. I’ve made my point, if nobody
> > else is upset then you’re probably fine.
> 
> This draft specifies YANG for just the HTTP protocol layer.  This
> config can be mixed-n-matched with the YANG from other protocol layers
> to create the configuration for a protocol stack.
> 
> FWIW, the RESTCONF protocol sits on top of HTTP, but profiles it by
> mandating mutual authentication.  So whilst this YANG allows “http” in
> the general case, it is not allowed in the specific case.
> 
> 
> 
> >>> <!-- The outermost element below doesn't exist in the data model.
> >>> -->
> >>> <!--  It simulates if the "grouping" were a "container" instead.
> >>> -->
> >>>
> >>> I totally don’t understand this, but maybe someone who’s a YANG
> >>> expert would?  I note that, in the example, if the outer “http-
> >>> client” element didn’t exist, the default namespace wouldn’t be
> >>> declared, and the “uri” element wouldn’t be in any namespace at
> >>> all. So maybe the namespace declaration would be better right there
> >>> on the “uri” element?
> >>
> >> This is a fair comment.   There are four examples in the draft that
> >> follow this convention.   FWIW, in other drafts I sometimes create a
> >> dummy “usage” YANG module to wrap “grouping” statements into
> >> containers.  What I’m doing here could be characterized as a
> >> shortcut.
> >
> > First of all you’re using the words “grouping” and “container” and I
> > don’t understand what they mean in this context. Is this standard
> > YANG terminology? If so, then OK I guess.
> 
> Yes, “grouping” and “container” are standard statements in YANG.
> 
> 
> > If not, please explain what you mean.  I guess the only purpose of
> > the outer element is to carry the namespace declaration? If so, you
> > could either:
> >
> > Say “Assume that the default namespace has been mapped to XXX in some
> > containing element”, or
> > Put the namespace declaration right on the contained <uri> element
> > then you don’t need any extra apparatus.
> >
> > Or maybe something else.
> 
> Suggestion #1 is doable.  Anyone on the list have ideas?  Is the
> existing text bad?
> 
> Suggestion #2 is not so doable, because the other examples have many
> more lines than just the “uri” line.  Yes, the namespace could appear
> in each, but it wouldn’t be not nice.
> 
> 
> Kent