[Teas] Re: Gunter Van de Velde's Discuss on draft-ietf-teas-actn-vn-yang-27: (with DISCUSS)
Dhruv Dhody <dhruv.ietf@gmail.com> Fri, 07 June 2024 12:09 UTC
Return-Path: <dhruv.ietf@gmail.com>
X-Original-To: teas@ietfa.amsl.com
Delivered-To: teas@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7AAC6C151701; Fri, 7 Jun 2024 05:09:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.094
X-Spam-Level:
X-Spam-Status: No, score=-7.094 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, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 (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 MT4DSmAVbL1B; Fri, 7 Jun 2024 05:09:40 -0700 (PDT)
Received: from mail-vs1-xe2f.google.com (mail-vs1-xe2f.google.com [IPv6:2607:f8b0:4864:20::e2f]) (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 5AF79C15109E; Fri, 7 Jun 2024 05:09:35 -0700 (PDT)
Received: by mail-vs1-xe2f.google.com with SMTP id ada2fe7eead31-48bd87d9ee5so1663612137.0; Fri, 07 Jun 2024 05:09:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717762174; x=1718366974; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=2ZDJNvHppZRvf8Nbvjp3KHojKps1Ffk1uTmYkxMaiVs=; b=KeW9OSAyiPriJ9r8vXA+vRvaAWso0e4jGy9HbOMrW/XN3M9hNeuaoq1cujgxr2b5a1 l9f8KMQpTnzunS8gqKb3RQmPPW3NPICu+Ogob5RWzrXhKeEqmg+3ld9bRGgHKxfJoO+z 4c9WaPtL7bpRmTzhB2VHVIr+ooYHYhCtTjYhIEDoQGn5vfCo+HZjWbJzwPoZQUmo0Rk5 8osSwFlephZ2cyFoTVfmKFjNRyeFiNq3RKSaWjWxfWVgYZ7MNO3vRL0CERNQTQLZyRkL aaqMJq2PI9dpcNx++Vk3DMxXzxt7ufnTBprU+63hqdAjUQ2N+kAbuhkuTV5lr2iZUBTp CAOw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717762174; x=1718366974; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=2ZDJNvHppZRvf8Nbvjp3KHojKps1Ffk1uTmYkxMaiVs=; b=krh2zbiyJnJyAzjjxT9H1tbAe6D1sXtwEJgyOtVG8hGPzKb3XiPFKNwlk/t0DQXXHA KiYDbeOthDNVopHmeYdNhoyDiOUfpaUCY8SAQXx3aDF/TSLGvD55ujdcEQ8Yma3VT0eA OpV5qDqbqvuFI8R52VEdGkrH9e0dWBFYYPSkFugHRNs4rqfvieajPoT+iTFUPHJSVPaR AziSBz6rz6e4HhmejVRyHw8k5VU4c28E3NjuB7K8Un6I0WYmX0+lOnOVFbi0As+6WchR FeT1wrqrkWJnqC5YzpANzh9JvGfGsiLwNyHTNJgD724hNi9bEwDzbyi2sjVTeUWpr/S+ 012g==
X-Forwarded-Encrypted: i=1; AJvYcCXN/di12rh3BifrnoOhc84czIk4MI5zJ2XtkTafamXy3+veBs77FQNdCvS2WDlZi/+LP9PwAUYRbnkRi2WkwE3jHmKmDhhWSZPepI82kMaovu38IXKKyTiBi+gQLhxJbE9PtXw2UfxPei2x6dAo1eMJkLNWEBjo4wFs+g==
X-Gm-Message-State: AOJu0YxP5PcbZ0sKvKCu1z7qwlhvqIjTBzDrhNo27AU7yMErBnB9BC3b mzKfcCcBTHThVoG9BkH+y4VAFIiCOG+tUdBfp4KJzdXNKybHu3zkt+MTexuo5Ju5b4pWUygDQZ8 UC6c9AsUgeek+wRjEcBPz8WlGJjo=
X-Google-Smtp-Source: AGHT+IHY9DZa2p1HFJ8GgCJa/vorSTcSwm3IVKO0LtjGs3ts+97sDYsUS7Yl7oBnUgzs7G+f5AfHpCtAXy6/eFuXmEY=
X-Received: by 2002:a05:6102:292c:b0:48b:d1dc:39f6 with SMTP id ada2fe7eead31-48c165b0062mr6669980137.0.1717762173810; Fri, 07 Jun 2024 05:09:33 -0700 (PDT)
MIME-Version: 1.0
References: <171775367359.61526.13460294319166688678@ietfa.amsl.com> <CAB75xn5v580gxKEdZwfTGU8kjv2u2LZOSq=H_u0ftN=dUDq4tw@mail.gmail.com> <AS1PR07MB8589BEA359346CC08EB2E4E1E0FB2@AS1PR07MB8589.eurprd07.prod.outlook.com>
In-Reply-To: <AS1PR07MB8589BEA359346CC08EB2E4E1E0FB2@AS1PR07MB8589.eurprd07.prod.outlook.com>
From: Dhruv Dhody <dhruv.ietf@gmail.com>
Date: Fri, 07 Jun 2024 13:08:57 +0100
Message-ID: <CAB75xn7dom=w1kB6cv9H3MZJvvCqTxgv0S-AhENqJd8Wb+sEGg@mail.gmail.com>
To: "Gunter van de Velde (Nokia)" <gunter.van_de_velde@nokia.com>
Content-Type: multipart/alternative; boundary="0000000000002dbff0061a4bacdd"
Message-ID-Hash: UCVGQWQM7MYCLK7Z4T4GDEOSHOLFLU6W
X-Message-ID-Hash: UCVGQWQM7MYCLK7Z4T4GDEOSHOLFLU6W
X-MailFrom: dhruv.ietf@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-teas.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-teas-actn-vn-yang@ietf.org" <draft-ietf-teas-actn-vn-yang@ietf.org>, "teas-chairs@ietf.org" <teas-chairs@ietf.org>, "teas@ietf.org" <teas@ietf.org>, "vbeeram@juniper.net" <vbeeram@juniper.net>
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [Teas] Re: Gunter Van de Velde's Discuss on draft-ietf-teas-actn-vn-yang-27: (with DISCUSS)
List-Id: Traffic Engineering Architecture and Signaling working group discussion list <teas.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/teas/7ki0myovgq_JN87oKQFlNXpAxho>
List-Archive: <https://mailarchive.ietf.org/arch/browse/teas>
List-Help: <mailto:teas-request@ietf.org?subject=help>
List-Owner: <mailto:teas-owner@ietf.org>
List-Post: <mailto:teas@ietf.org>
List-Subscribe: <mailto:teas-join@ietf.org>
List-Unsubscribe: <mailto:teas-leave@ietf.org>
Hi Gunter, On Fri, Jun 7, 2024 at 12:01 PM Gunter van de Velde (Nokia) < gunter.van_de_velde@nokia.com> wrote: > I understand. It is always a compromise. I fight with this myself all the > time when suffering yang coding moments. > > > > In this file i see for example src. Why not use ‘source’? same with other > key-words. > > > Dhruv: It was kept as 'src' to match it with 'dest'. If we change it, we should change to 'source' and 'destination'. And also handle other leaves like multi-src, multi-dest, src-vn-ap-id, dest-vn-ap-id and feature name 'multi-src-dest'. Longer names also makes the tree diagram difficult to follow because of the 80 char width (especially with the feature name). > About your example: > > > > path "/virtual-network/vn/vn-id"; will become > > path "/virtual-network/virtual-network/virtual-network-identifier"; > > > > I question the fact that it is not required that the virtual-network > should be repeated for the “identifier” leaf. > > More user friendly and less long would be: > > path "/virtual-network/virtual-network/identifier"; > > > > Once you are in the node virtual-network, you know you are handling a > virtual-network identifier. Why name it double? It makes the path longer > for no apparent reason as you correctly observed. > > > Dhruv: I agree. If the change is made, following your suggestion would make sense. I was just illustrating my point :) I am a little apprehensive in making this late change that will have a huge churn in the document (and the model). The JSON examples would need to be reworked as well as other YANG models that build on the VN model. Could I add text in the description clause in the YANG module that expands these abbreviations instead? But, if you feel strongly about this (and the responsible AD confirms) I will make the requested change. Thanks, Dhruv > G/ > > > > > > *From:* Dhruv Dhody <dhruv.ietf@gmail.com> > *Sent:* Friday, June 7, 2024 12:35 PM > *To:* Gunter van de Velde (Nokia) <gunter.van_de_velde@nokia.com> > *Cc:* The IESG <iesg@ietf.org>; draft-ietf-teas-actn-vn-yang@ietf.org; > teas-chairs@ietf.org; teas@ietf.org; vbeeram@juniper.net > *Subject:* Re: Gunter Van de Velde's Discuss on > draft-ietf-teas-actn-vn-yang-27: (with DISCUSS) > > > > > > *CAUTION:* This is an external email. Please be very careful when > clicking links or opening attachments. See the URL nok.it/ext for > additional information. > > > > Hi Gunter, > > > > Thanks for your review. > > > > On Fri, Jun 7, 2024 at 10:47 AM Gunter Van de Velde via Datatracker < > noreply@ietf.org> wrote: > > Gunter Van de Velde has entered the following ballot position for > draft-ietf-teas-actn-vn-yang-27: 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.) > > > Please refer to > https://www.ietf.org/about/groups/iesg/statements/handling-ballot-positions/ > for more information about how to handle DISCUSS and COMMENT positions. > > > The document, along with other ballot positions, can be found here: > https://datatracker.ietf.org/doc/draft-ietf-teas-actn-vn-yang/ > > > > ---------------------------------------------------------------------- > DISCUSS: > ---------------------------------------------------------------------- > > # Gunter Van de Velde, RTG AD, comments for draft-ietf-teas-actn-vn-yang-27 > > Please find https://www.ietf.org/blog/handling-iesg-ballot-positions/ > documenting the handling of ballots. > > Many thanks for the RTG-DIR reviews from Darren Dukes and many thanks to > Vishnu > Pavan Beeram for the Shepherd write-up. > > Please find below 1 blocking DISCUSS about the yang node names used, that > seems > reasonably simple to address > > #DISCUSS items > #============= > ##DISCUSS1 > One of the motivations to use YANG is to have human readable structure to > understand config and state of a device. When looking through the document > i > see many very abbreviated acronymns. e.g. vn, vn-id, src, src-vn-ap.id, > etc > > If not overly lengthy, why not use node names in the style of source, > virtual-network, virtual-network-id, etc? There is no real reason to > abbreviate > in the yang model, assuming the node names are not overly long and it makes > reading and understanding the leafs more trivial. > > > > Dhruv: The complaint that we get with longer names is that the leafref > paths become too long and lose human readability. > > > > +--rw virtual-network > > +--rw vn* [vn-id] > > +--rw vn-id vn-id > > > > > > path "/virtual-network/vn/vn-id"; will become > > path "/virtual-network/virtual-network/virtual-network-identifier"; > > > > The idea of expanding it once as a top container and using VN for leaves > inside seems like a good compromise. I would also consider VN to be > well-known for anyone dealing with this YANG file. > > > > Hope this explains our thinking, does it make sense to you? > > > > Thanks, > > Dhruv > > > > >
- [Teas] Gunter Van de Velde's Discuss on draft-iet… Gunter Van de Velde via Datatracker
- [Teas] Re: Gunter Van de Velde's Discuss on draft… Dhruv Dhody
- [Teas] Re: Gunter Van de Velde's Discuss on draft… Gunter van de Velde (Nokia)
- [Teas] Re: Gunter Van de Velde's Discuss on draft… Dhruv Dhody
- [Teas] Re: Gunter Van de Velde's Discuss on draft… Gunter van de Velde (Nokia)
- [Teas] Re: Gunter Van de Velde's Discuss on draft… Dhruv Dhody
- [Teas] Re: Gunter Van de Velde's Discuss on draft… Mahesh Jethanandani
- [Teas] Re: Gunter Van de Velde's Discuss on draft… Dhruv Dhody