[alto] Question about when to create IANA-maintained YANG modules

Jensen Zhang <jingxuan.n.zhang@gmail.com> Tue, 28 June 2022 00:38 UTC

Return-Path: <jingxuan.n.zhang@gmail.com>
X-Original-To: alto@ietfa.amsl.com
Delivered-To: alto@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0CA29C15AACD; Mon, 27 Jun 2022 17:38:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.108
X-Spam-Level:
X-Spam-Status: No, score=-2.108 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] 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 AspNUquetq4I; Mon, 27 Jun 2022 17:38:34 -0700 (PDT)
Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) (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 B39A5C15AAC8; Mon, 27 Jun 2022 17:38:34 -0700 (PDT)
Received: by mail-wm1-x332.google.com with SMTP id k129so4991451wme.0; Mon, 27 Jun 2022 17:38:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to:cc; bh=0b84x6oX+La9nQvbLpZ7tQ1wrar/MeF5WUnRIxPEyCs=; b=g3J3UoQr727qxabgfj9VR762xPOLop1b/YGgzXHogSRjKQilNvRl+Wvz4hmT9gslT9 rtRaD6ZJpFXSEl2wg6bbAL+eiS1kJwSEEOEMDNAtRaWBbHNQ7M2BecD3yC21X2IqJlvt kAaRVU3N4+RI+q3XbsDcu775NIlEgCHf62sGql2lo9d4SwqZBdIDsZTMOweQRQqqU9aT QHWczrHJIlVf0O9sl1voyQQwxO7bR/rop3O21OFtCxhIDZsFnE5ADPtFLjshVLuKwtiE ynaEfq0ObDL4G4vbKUE1Be8bD84n+kVqAyP8GB3c/xq6gkeQuu+krOYRBt3e+MhdPPMX 3lAw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=0b84x6oX+La9nQvbLpZ7tQ1wrar/MeF5WUnRIxPEyCs=; b=Sd48qHIFTtjCE6FJsA5s20vURSaPgqMmByKxFliqmAlJBB3b90tPsEZfKE2dpH16Uu aKQ72WfI2QrruepA+71PH2kjEbYOFc2gbcAP/H851ngGYOL8N3xlilh2EnkC3XqqhYRr Jkmb6sfWo9QiuRlWZphSGXof/0E/TWqlI9uy0lT+XfPpx2BYqX+MrrXWSmwL1Ax0peE4 sZqZFGmhOBNOY9hfJsOlJBSMJLkAABJqqV0ln5jUFu5KH/Y6qF+nu3bZpzQ09dL22zHu Q1x5N+IkHH4Dgp5+Z3QlJkDPqruYNH21MFeBWBgdogJaQBnakwvW6iYYbtpu6L7YO0nw lmhg==
X-Gm-Message-State: AJIora9oWbwjGzU3lC/fLV4QsiavN1goTWK4YsLScBtbHnG2WIrH67f7 dc9Ro5gsXaZJ3fKELouM+zQG5YTS190VU7niGbx6p2769cY=
X-Google-Smtp-Source: AGRyM1um2/7wNZi8xUI9Dwd8guPTSnnT06aHmAZ75ClnHmezPUP5EGyzATeEM2XFOs+OqkLy/BOkVEQX7y0mpSq3p7g=
X-Received: by 2002:a05:600c:4e51:b0:3a0:4e8d:1e44 with SMTP id e17-20020a05600c4e5100b003a04e8d1e44mr4333857wmq.105.1656376712793; Mon, 27 Jun 2022 17:38:32 -0700 (PDT)
MIME-Version: 1.0
From: Jensen Zhang <jingxuan.n.zhang@gmail.com>
Date: Tue, 28 Jun 2022 08:38:22 +0800
Message-ID: <CAAbpuyo6=H1-b_TnMgKZ7P_AkvAuyncmUeuDn6HWpE3SiB-xiw@mail.gmail.com>
To: netmod@ietf.org
Cc: IETF ALTO <alto@ietf.org>, Qin Wu <bill.wu@huawei.com>, Dhruv Dhody <dhruv.ietf@gmail.com>
Content-Type: multipart/alternative; boundary="0000000000009491f405e2774110"
Archived-At: <https://mailarchive.ietf.org/arch/msg/alto/PyXeaFL11kaIESKuDmyiXOzJ4Ig>
Subject: [alto] Question about when to create IANA-maintained YANG modules
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "Application-Layer Traffic Optimization \(alto\) WG mailing list" <alto.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/alto>, <mailto:alto-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/alto/>
List-Post: <mailto:alto@ietf.org>
List-Help: <mailto:alto-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/alto>, <mailto:alto-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 28 Jun 2022 00:38:37 -0000

Hi all,

We are working on an I-D [1] that requires enumeration typedefs for some
IANA registries. We notice that some modules [2] self-contain identities
and typedefs for IANA registries, but some other modules [3] create
separated `iana-xxx-types.yang` modules.

We wonder what is the best practice on when to create IANA-maintained
YANG modules.
Could anyone give us any guidance?

[1] https://github.com/ietf-wg-alto/draft-ietf-alto-oam-yang/issues/1
[2] https://github.com/YangModels/yang
/blob/main/experimental/ietf-extracted-YANG
-modules/ietf-ospf-srv6%402018-10-11.yang
[3] https://github.com/YangModels/yang
/blob/main/standard/ietf/RFC/iana-routing-types%402018-10-29.yang

Thanks,
Jensen