[netconf] draft-ietf-netconf-udp-notif: YANG model question

Sean Turner <sean@sn3rd.com> Thu, 28 July 2022 17:36 UTC

Return-Path: <sean@sn3rd.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 98985C1C50CB for <netconf@ietfa.amsl.com>; Thu, 28 Jul 2022 10:36:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.106
X-Spam-Level:
X-Spam-Status: No, score=-2.106 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, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-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=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=sn3rd.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 hY9vzDyl_VOi for <netconf@ietfa.amsl.com>; Thu, 28 Jul 2022 10:36:13 -0700 (PDT)
Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) (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 EA6B7C1C50E0 for <netconf@ietf.org>; Thu, 28 Jul 2022 10:35:59 -0700 (PDT)
Received: by mail-ed1-x534.google.com with SMTP id i13so3031740edj.11 for <netconf@ietf.org>; Thu, 28 Jul 2022 10:35:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sn3rd.com; s=google; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=2hXhYnjrMcfWJw5n7r/ucLe4Nrj4DPjPFMzmYFjmgbo=; b=gh/ryiQeSeLvf5iCzeOCpYCivOKuWC8sDdYD0Y3VXdalmfAL0RLXxA/2FIH4Q7j+/I WsYvaJ2TLzhzM6n5mK+TFnkEE5oA1JVPDHfNJ2O14GDOUPU6kchoTPvjjDm2626CFSro 0izs8sCuGGMNxdc+aYjTceXE6MHXSR+Vqjl2Q=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=2hXhYnjrMcfWJw5n7r/ucLe4Nrj4DPjPFMzmYFjmgbo=; b=JaMCwo2ewv9001DYze+BEkEjFqyDWBcWC6eztilXHOsZBVeEoG6t8mY1BL2g/CkK3p hfRIwwZ38aK8DqgBlNAqIWuKmZM7TsmgWCqhbVDVXSwmgaTIkomjBVQhiSG/wedDXwi9 FXVx7nn2fkmK1jmb+HSaT+sA9akUCnQxS5r7owK1Efv9+CwHpS++47RRS+NiT/vSb6C5 KsEDp+GcZWtRc8QFWmx/H4nBuSn+Yl1A+7ADtU23tBrPqzz4d9rQVGv4Ff6ugPcuh7J5 HaluJaaX7v3SmtYpLcpyaDXcROp/j1Skh01X7HDgx/lc6jyRDGWyyrlHNY4Ncl7jbGI/ pzXw==
X-Gm-Message-State: AJIora+pudum7kEDWihagOmuPoj5ukGjMPryZEKSy3Kr4uCaCaUiDWNW 2w1qfZV5wFkmqo5dAb/ArOiMiew8kmDI0Q==
X-Google-Smtp-Source: AGRyM1t/2t2xLRWNqBrt6vjt8BO1NCfCaRfrThlkbgA1WjCHDKa2dbGnL8srKNhMlVuCzpHb8OatlQ==
X-Received: by 2002:a05:6402:3554:b0:43b:ed52:12 with SMTP id f20-20020a056402355400b0043bed520012mr26423edd.119.1659029758171; Thu, 28 Jul 2022 10:35:58 -0700 (PDT)
Received: from smtpclient.apple ([2001:67c:370:128:c1ea:c8ba:439b:d569]) by smtp.gmail.com with ESMTPSA id j21-20020a170906431500b0072af56103casm626824ejm.220.2022.07.28.10.35.57 for <netconf@ietf.org> (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Jul 2022 10:35:57 -0700 (PDT)
From: Sean Turner <sean@sn3rd.com>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\))
Message-Id: <7F3B272B-40D0-45E2-9084-49DE83805014@sn3rd.com>
Date: Thu, 28 Jul 2022 13:35:53 -0400
To: Netconf <netconf@ietf.org>
X-Mailer: Apple Mail (2.3654.120.0.1.13)
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/foMdfa5WmVkC5URHMfaKQzhu7io>
Subject: [netconf] draft-ietf-netconf-udp-notif: YANG model question
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.39
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: Thu, 28 Jul 2022 17:36:17 -0000

Hi! draft-ietf-netconf-udp-notif specifically targets DTLS 1.3. The YANG model is basically lifted from draft-ietf-netconf-tls-client-server and that model has fields for both TLS 1.2 and 1.3. Should the 1.2 entries be deleted from the draft-ietf-netconf-udp-notif model or is it safe to leave them since they are optional and won’t be used?

Seee:

+--rw client-identity!
|  +--rw (auth-type)
|     +--:(certificate) {client-ident-x509-cert}?
|     |     ...
|     +--:(raw-public-key) {client-ident-raw-public-key}?
|     |     ...
|     +--:(tls12-psk) {client-ident-tls12-psk}?
|     |     ...
|     +--:(tls13-epsk) {client-ident-tls13-epsk}?

…

Cheers,
spt