[netmod] Re: Gunter Van de Velde's Discuss on draft-ietf-netmod-rfc6991-bis-17: (with DISCUSS)
Jürgen Schönwälder <jschoenwaelder@constructor.university> Wed, 18 December 2024 18:56 UTC
Return-Path: <jschoenwaelder@constructor.university>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9139FC180B52; Wed, 18 Dec 2024 10:56:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.241
X-Spam-Level:
X-Spam-Status: No, score=-1.241 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_SOFTFAIL=0.665, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=no 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 DZB4oE6m2g3c; Wed, 18 Dec 2024 10:56:04 -0800 (PST)
Received: from beadg.de (beadg.de [178.254.54.206]) by ietfa.amsl.com (Postfix) with ESMTP id 2C8AEC16943E; Wed, 18 Dec 2024 10:56:02 -0800 (PST)
Received: from localhost (firewallix.jacobs-university.de [212.201.44.246]) by beadg.de (Postfix) with ESMTPSA id 7979C16A048; Wed, 18 Dec 2024 19:56:01 +0100 (CET)
Date: Wed, 18 Dec 2024 19:56:00 +0100
From: Jürgen Schönwälder <jschoenwaelder@constructor.university>
To: Gunter Van de Velde <gunter.van_de_velde@nokia.com>
Message-ID: <Z2MawDsmc4eRTup1@alice.eecs.jacobs-university.de>
Mail-Followup-To: Gunter Van de Velde <gunter.van_de_velde@nokia.com>, The IESG <iesg@ietf.org>, draft-ietf-netmod-rfc6991-bis@ietf.org, netmod-chairs@ietf.org, netmod@ietf.org, kent+ietf@watsen.net
References: <173392336425.796670.16604291976640387825@dt-datatracker-6747d7fbdb-jqfx6>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <173392336425.796670.16604291976640387825@dt-datatracker-6747d7fbdb-jqfx6>
Message-ID-Hash: 3PODQJ5DXL3KRKDSHZDAEUIBSC7TFR4B
X-Message-ID-Hash: 3PODQJ5DXL3KRKDSHZDAEUIBSC7TFR4B
X-MailFrom: jschoenwaelder@constructor.university
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-netmod.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: The IESG <iesg@ietf.org>, draft-ietf-netmod-rfc6991-bis@ietf.org, netmod-chairs@ietf.org, netmod@ietf.org, kent+ietf@watsen.net
X-Mailman-Version: 3.3.9rc6
Precedence: list
Reply-To: Jürgen Schönwälder <jschoenwaelder@constructor.university>
Subject: [netmod] Re: Gunter Van de Velde's Discuss on draft-ietf-netmod-rfc6991-bis-17: (with DISCUSS)
List-Id: NETMOD WG list <netmod.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/httdvFS7oRsb07ZV3QHHOUJkqvo>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Owner: <mailto:netmod-owner@ietf.org>
List-Post: <mailto:netmod@ietf.org>
List-Subscribe: <mailto:netmod-join@ietf.org>
List-Unsubscribe: <mailto:netmod-leave@ietf.org>
On Wed, Dec 11, 2024 at 05:22:44AM -0800, Gunter Van de Velde via Datatracker wrote: > Gunter Van de Velde has entered the following ballot position for > draft-ietf-netmod-rfc6991-bis-17: Discuss > > When responding, please keep the subject line intact and reply to all > email addresses included in the To and CC lines. (Feel free to cut this > introductory paragraph, however.) > > > ---------------------------------------------------------------------- > DISCUSS: > ---------------------------------------------------------------------- > > > # Upon reviewing MPLS-TE Administrative Groups as defined in OSPFv2 (RFC 3630), > OSPFv3 (RFC 5329), IS-IS (RFC 5305), and (Extended-)Administrative-Groups (RFC > 7308), I noted that these RFCs define and utilize 32-bit bitmasks, or sets of > 32-bit bitmasks, for (Extended-)Administrative-Groups. While a 32-bit bitmask > can be represented as a decimal uint32 value, it may be more operationally > useful—especially within YANG models—to display these values directly as > bitmasks. > > I am therefore raising this DISCUSS to consider adding a dedicated bitmask type > to facilitate this form of representation as a common type. > I am not sure what is proposed here. Note that there have been several discussions related to bits and their representation in YANG modules. It seems that there is not a simple type that addresses all issues that come up. How bits or bit masks are exposed in a management interface seems to be specific to what the bits mean. There also was a discussion at some point in time how to deal with bits that are at some time unallocated but later allocated. See for example draft-haas-netmod-unknown-bits-02.txt. To me, it seems the proper action would be to write guidelines discussing the pros and cons of different approaches to represent bits and bit masks. In general it would be good if we would have a collection of YANG design pattern but so far this idea never really took off (i.e., nobody found the time to do the work). /js -- Jürgen Schönwälder Constructor University Bremen gGmbH Phone: +49 421 200 3587 Campus Ring 1 | 28759 Bremen | Germany
- [netmod] Gunter Van de Velde's Discuss on draft-i… Gunter Van de Velde via Datatracker
- [netmod] Re: Gunter Van de Velde's Discuss on dra… Jürgen Schönwälder
- [netmod] Re: Gunter Van de Velde's Discuss on dra… Gunter van de Velde (Nokia)