Re: [netconf] [Anima] Reuse of SZTP-CSR YANG definition in BRSKI-AE

Michael Richardson <mcr+ietf@sandelman.ca> Fri, 25 June 2021 15:57 UTC

Return-Path: <mcr+ietf@sandelman.ca>
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 23A433A03EF; Fri, 25 Jun 2021 08:57:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 cYLIeyDU53y8; Fri, 25 Jun 2021 08:57:11 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [209.87.249.19]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 436043A0406; Fri, 25 Jun 2021 08:57:11 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id 465C838B97; Fri, 25 Jun 2021 11:58:57 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id KHDhDuc7lm55; Fri, 25 Jun 2021 11:58:55 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [209.87.249.21]) by tuna.sandelman.ca (Postfix) with ESMTP id 6308F38B96; Fri, 25 Jun 2021 11:58:55 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id A39D6553; Fri, 25 Jun 2021 11:57:07 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: "Rob Wilton \(rwilton\)" <rwilton@cisco.com>
cc: Kent Watsen <kent+ietf@watsen.net>, "netconf\@ietf.org" <netconf@ietf.org>, "anima\@ietf.org" <anima@ietf.org>, "Werner\, Thomas" <thomas-werner@siemens.com>, "Fries\, Steffen" <steffen.fries@siemens.com>
In-Reply-To: <DM4PR11MB54389BFB3A6953FC19EDF93EB5069@DM4PR11MB5438.namprd11.prod.outlook.com>
References: <3a31e33678484625b9f4f3810e673e56@siemens.com> <0100017a1b4d2e94-aeaaa06e-8dc0-4163-a747-692e72b0d75c-000000@email.amazonses.com> <8407.1624138175@localhost> <0100017a2e9f69ee-5d037ce3-62dd-4825-922c-8a08b545d166-000000@email.amazonses.com> <11325.1624482172@dooku> <DM4PR11MB54389BFB3A6953FC19EDF93EB5069@DM4PR11MB5438.namprd11.prod.outlook.com>
X-Mailer: MH-E 8.6+git; nmh 1.7+dev; GNU Emacs 26.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature"
Date: Fri, 25 Jun 2021 11:57:07 -0400
Message-ID: <27037.1624636627@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/yMEafZpV4Dhn7zw5Q07aZO4Rl7E>
Subject: Re: [netconf] [Anima] Reuse of SZTP-CSR YANG definition in BRSKI-AE
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: Fri, 25 Jun 2021 15:57:16 -0000

Rob Wilton (rwilton) <rwilton@cisco.com> wrote:
    > Hi Kent, Michael,

Hi!

    > In this case, I think that this should come down to the discretion of
    > the sZTP-CSR authors, given that BRSKI-AE also have the choice of just
    > copying the YANG that they need.

Yes, we can go via copy and paste method, but it seems so distastful.

    > I would be okay seeing the csr structure put into a grouping, but I
    > would strongly prefer that they get moved out of the ietf-sztp-csr.yang
    > module, so that the CSR groupings can be imported without requiring any
    > import-only import dependency on ietf-sztp-csr (and possibly
    > ietf-sztp-bootstrap-server).

    > Hence, my suggestion, if you were to do this, would be for a separate
    > ietf-csr-types.yang module defined as part of the SZTP-CSR draft.

That would be very cool.

--
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 IøT consulting )
           Sandelman Software Works Inc, Ottawa and Worldwide