[Teas] Re: Gunter Van de Velde's Discuss on draft-ietf-teas-actn-vn-yang-27: (with DISCUSS)

"Gunter van de Velde (Nokia)" <gunter.van_de_velde@nokia.com> Fri, 07 June 2024 13:07 UTC

Return-Path: <gunter.van_de_velde@nokia.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 EF6CCC14F707; Fri, 7 Jun 2024 06:07:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.096
X-Spam-Level:
X-Spam-Status: No, score=-2.096 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_NONE=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=nokia.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 PWa3BVE1Xgv9; Fri, 7 Jun 2024 06:07:09 -0700 (PDT)
Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2071.outbound.protection.outlook.com [40.107.20.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4B081C14F6B0; Fri, 7 Jun 2024 06:07:07 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LCYkUVFrifIGZkiNTUy+9aNPCfe4Cs7BsRYU2MCmevBmNZqa7+kQcstWDhdJn7jZBOeyfFuu2T7iiayt0lvwk0EG5udsTspSOJAUjGqenZysp5tWhy/2XBluIZ7X4GXaUxAC9317nYmYyDkUBxwH9o7F3EP4lXG/LXesY+TRW+RD8LA5kojLW1lF0T+4LOvft/ZKlVnPNPqmA/8/HrKsAXCLLxG72AzgTlmGQbso1tIwDlJUI5NO0fzEOAK8qcfF7WLlXxSs0eAXQ5JRXOsAqMIC4qmA6fYa9WMTxRSzV9+FEv4H+AJSXQ96p2mh7MDm+FEzdSspS6b9hw2L5pF7TQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=MQTb+UfF91bqHvtV+BCROKrfZw752PP/VPZh4RRwIKs=; b=auKS2xbQFigDA2IVY3FX8iduO1bgHuQlPFiQNNzsQE48hZuLaCniyomTy8aPq8lu8gzrM9X6+HlNUUY5+sTs3ZTGx2i6H6vP3Ozfxh+hds+l0Qjcen7i5X5C7GXWq7/Pjupug/SD8wCxjuENfhQlNoY3XAKWWYScVclWRpZyPE6DZdUPsIr5dvzLuc55yV8aurCwONDZ9ZgEt3C9uP7ISFtZMr37tFqap6AeUay9P+o8mGRMmRnrhXEvIOno2FQ44awxze1/YDHIZTLQNZbXaoFHQTpv/Zf6rRyCtiaWDQ3Hk9H6VAsVk05QbJI5f0RE+cfYmNyAvfntOuvcgHDnmw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nokia.com; dmarc=pass action=none header.from=nokia.com; dkim=pass header.d=nokia.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nokia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=MQTb+UfF91bqHvtV+BCROKrfZw752PP/VPZh4RRwIKs=; b=v0BdJGlY1zoMo0nHF+y3GAmqNvUgEYOlhfvJiwJXe9Osl+70x97ByOsmEobCaMS4bzB4CJ3DpAN764ubNfA88p+2idhrclEAB/Ql2xSEHymZ3D0TJuhYjqq+OVcOIWS+iaNuPhZ/SiZtV62sqzmvNpHz60UlJgtwjSpmLJmEq09Bo5E9mEoOTFcZe5fWYPUdnTQdi/Q6WOIb0x1vVob0LySuaVUWVcPS6IEVwBB8E8+VVInb8WqVYz2OTxzFbcwtRiTEkkjar+n9BVUEBbcEf/dYqGl3lsVnnhSJHN7jEXd+oj1q3J26GncORtki/H8u60cG+zIxMDEdfWRXTUF0nA==
Received: from AS1PR07MB8589.eurprd07.prod.outlook.com (2603:10a6:20b:470::16) by DU2PR07MB8269.eurprd07.prod.outlook.com (2603:10a6:10:276::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.34; Fri, 7 Jun 2024 13:07:04 +0000
Received: from AS1PR07MB8589.eurprd07.prod.outlook.com ([fe80::5ca6:f902:8e31:6f3e]) by AS1PR07MB8589.eurprd07.prod.outlook.com ([fe80::5ca6:f902:8e31:6f3e%3]) with mapi id 15.20.7633.021; Fri, 7 Jun 2024 13:07:04 +0000
From: "Gunter van de Velde (Nokia)" <gunter.van_de_velde@nokia.com>
To: Dhruv Dhody <dhruv.ietf@gmail.com>, Mahesh Jethanandani <mjethanandani@gmail.com>
Thread-Topic: Gunter Van de Velde's Discuss on draft-ietf-teas-actn-vn-yang-27: (with DISCUSS)
Thread-Index: AQHauL/Xx9Q8wvgxCUKlx19k0XTHbbG8GyYAgAAFOjCAABUSgIAAAy4A
Date: Fri, 07 Jun 2024 13:07:04 +0000
Message-ID: <AS1PR07MB85895BA87D1DE2DF3E2A183FE0FB2@AS1PR07MB8589.eurprd07.prod.outlook.com>
References: <171775367359.61526.13460294319166688678@ietfa.amsl.com> <CAB75xn5v580gxKEdZwfTGU8kjv2u2LZOSq=H_u0ftN=dUDq4tw@mail.gmail.com> <AS1PR07MB8589BEA359346CC08EB2E4E1E0FB2@AS1PR07MB8589.eurprd07.prod.outlook.com> <CAB75xn7dom=w1kB6cv9H3MZJvvCqTxgv0S-AhENqJd8Wb+sEGg@mail.gmail.com>
In-Reply-To: <CAB75xn7dom=w1kB6cv9H3MZJvvCqTxgv0S-AhENqJd8Wb+sEGg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-Mentions: mjethanandani@gmail.com
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nokia.com;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: AS1PR07MB8589:EE_|DU2PR07MB8269:EE_
x-ms-office365-filtering-correlation-id: c374ae97-aa96-4f3f-b1b3-08dc86f2ba6f
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;ARA:13230031|376005|1800799015|366007|38070700009;
x-microsoft-antispam-message-info: Pec/ZPFCySTSi3xJG62knP0abRrKgygombo5THQbhwW9EBZbIlgyM4j8+PMC8Y0auOzy2oI7nsnlQRuxVaTBPBx+JwtksmwysdKIaVJCdxxIInfAji8utM39S0zqPpJZujySgeJ0oiImV5i1fs3CHkHXyMzHl4u0FzzP+Uz7/3q1xYEfkUy+9dDlOiJXS5d7zauPcn+3zOH56b6GSSMMxS9bLW7dMNphmwfmuvuwZDhrnB1rMttZrxhnLk+fjf7wocSj34SjxpfW3nc4+HGSriUmO23tTiN8UPNGlPXdLdm7dpKYi6+L2Z6uQdccjBDcFbj7Rbr9XAovKVdDHFRbAVub+RaBNr2iNe6Y0WqCpgJi6pEhjWUnUPy8G9PTvqACAx6RWMLk1d9qYJD2fP/rbPd8yA+mTFT3CUzNnLGSiIANZH2vwHOV9KTw20g1QSuWOG75Zf7kKC4Hhep6PLX5GssPGai09AKZSgjw6NbNW5aLp/xpvus3bshPr5Wd8zNHnY74iiyWqzttgmoyN05UjlA1U1n2KDuDu4x5FoXDPCKDA2QACSoA0mHBKUxQyqQfdNkJ2fUx4RP8evcWX3YLvjxFw/LZ2yGKlHmQjLB195ABoWrDEdUVoyf/6AaEQ1hJc43U/MuTGE7TPGpXWUKSDEy0/pwNjuPmL4hFqT+Mrgiws+ZhRQQjhToM+OTyXtHOfNOxv990Z37OO+tXwWl513xzN82E6X1qmDigsOhzTb09We8S/vfCF0lmJ1nZO7wRZsHaxRfFlpeFQ2YiiiQN8Ct+9iYojBLDZwfkWt+1eNBzG1sHfBo0SdzKHhDdFQNzrF4q9xSegMa3adpmQ6GjORH4I2KX78hStoHmmjfdu6PDYfUuzTIVSh4LWJFV7/LIL5ghiB3oAdPh2T0QUfEEvVZzIb2PEROUI/b+ML2ppKPqNOVI8OaORzzaWiblVLsnqei2jVnB5QVo83le6IAZ3cJq8rHwCwhNbcImoMPlt1fzPEWweyLLz72TMaQTY2/NxDsTZM2NSpN5detV7NaU5IX3tWbsWLhhfrYKlH+5uho8tNXVj4evzELIEINp9Qdbq5OIFlcSFyo/8ueB+Vz6bwRdqGP7QBPnJjkaeB8m74jDan4fGNlOtmOl3+1jfRDSnGbkjv3nsa0lpI0VPbkJ10q0wonjF2zs2MureFMRKbCxQsZ86qFrrTsYXqEkbCPRrr1XsvMZrrNx113JsskJ2mh0xT5dWbjSGsAgPxBx1feDn9inJdLMAMPT7JoH5wgkEkKzRUtQEwh/Hw7YZq+jqLVAgehVHhkdwbGiA6iBIwplB9w8u1P9EiIqIb7BBZtC
x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS1PR07MB8589.eurprd07.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(1800799015)(366007)(38070700009);DIR:OUT;SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: qgQimiTauzWIeaeg95DoVVk5cHE/35AZO8//Aev6fHka5LHZ7MRHKU7C2l2F5hRqY/4gkiA7oufWGsVcCqFQkk94PQyiv0fLuNXk8cuEItxoG0nwPLlcJ72D92aLp0vXj+eEv6b1vN9gN/wXTumWFKV/IhVXnt5iOYmnUmGtayLY95mf4UTJw673xN3jbceqR4PaiSzT2T5DjGo9mtwkOTDQjWth3/1WBL0L5joVueOVgRIUgW8TgiBMaDylYwNRpLkyjtUqlivzbP19uTHiSkCGPCGdKPxdJu8bKa7rU5WsQABj07VTXpa/NCP7chzWgVFxNJ10gcNzqZ81W70SNmCZ3SaQ6r35oCsbZE6rlGpjnNMS5KaqtHJOxNhKkKwB4Gg8hmBbZL2oit2hBGD1JAhPxI+xotfHcRh821uokNFlHXcXf172z3B9EifkpiMyELOSKbbT4q2gPVYG1vOekgwCF1g4rsplA1Zjf12PWka4IBEjSUit6EhTZyEK6H9SyoDgmuS3JaAWkY71zR2CBQSol0zgMeSE1IpZVw3K/vphvI4PLueqJyLrCFTeEd8b0TZCSOEC/2QqCJPKu29R8Rka5neptjLaxjdymCS4Tc3cnWtaNF2D9t+RTYNhKF6bD19NbkWM8CFzQsRikF3IvSBFNVo3XXA8d0dOE6DsxA54dEft6aMuN8b3TlXb31xL7jBpHnejeP0spMvRGsEU5BPAC+DFQ5PN7f6L6ceBsct3S/i4MyXW04/PMzN9hkOR+kXdVz5/zY57ivABKmjX+/32eosadY0mq//ApDWW64Ekwdqro1hB8KCGR614xo9tvEV44nt/bch1iL1f31DNyV7ph85RXKHPosUYEaA9+qpl1UFERf6TbFZId+YmbDscTW5Sy4s/HFhWjEYUnLaQwo70Lys9aAuDZYeGSdL2+u+6OtjgMcpCkkzt+TWqX23bgqY3/cBsSagMnpBQxE/DqCArodJaVq40zlXoars3E4yDH+Je7y7nrn8/p99Jy8C6gQGSF0JBDir44BBQVnHkP3lNOGTcskFpQ0cY0RH8xZFx4UunsSINaqTXJlSb1OpiqBZy4H1Ehu99idlx+K3B7TvGLRyxHEbzt9vrh9Qrq3sXYoCeFccm6OgFU0D5cBTv27aD/7+oYInpYngyVxpRjcvMoXs1EuDnqrnSib9WQ4b8QdWrBdhsppj7TLpeXCAJtzzYaB80OfmqUVR/4yhmUOVjX/pogFvFk+Rkvl58j054wWFL0M8Ml47CdaF2yduk8h2p1bygQmNuELT+xq9lkiS0X+N59leS2URa6sJxuZ0+2VxOat9M1etKtr3NqbnsLTYMAhV0SnEYXjG/PjCsemRWGiK08u9OezzPCy1rhMYLpSmji73AHJlbxZUoDA1GAlN8QaURwm3IACpLYhTA8hrWn8lvhB4exUod/4UgVDCk7a2ma15J+/Vx0Boi3BFuyPGEAC1Z0m0zri9x7n1W9HfdXc5QaAmqGaJXpqL8H0pkDViylk/vR7VdVTmjObbTp78WJsNPmVdny0w5kUyZvTvirkq0B6/YPcO7krJYwMNDVlzvrTRzO26XUOh6ZB0LlQFpkLky43pL0+W1b7TF5D6ZJNeLZLucxV8c6XjfqvvcdKeERVBUi+1k2DKrF2ogEnfi93juxKcNl/J2+Snx2g==
Content-Type: multipart/alternative; boundary="_000_AS1PR07MB85895BA87D1DE2DF3E2A183FE0FB2AS1PR07MB8589eurp_"
MIME-Version: 1.0
X-OriginatorOrg: nokia.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AS1PR07MB8589.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: c374ae97-aa96-4f3f-b1b3-08dc86f2ba6f
X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Jun 2024 13:07:04.7540 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5d471751-9675-428d-917b-70f44f9630b0
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: 2Dyqprpq7oS7HUorzvyJGQcSXr45a6J+CXcJ6fzaeebuSEdGKhg5E5vocySc/QMmJzCxTDxVhv9MON8UQB7Gvuk3TJi2R+qej3cz+H309qU=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR07MB8269
Message-ID-Hash: S6J4YPNQRMCGRQCM4GGZBA2GKQ5BAT4T
X-Message-ID-Hash: S6J4YPNQRMCGRQCM4GGZBA2GKQ5BAT4T
X-MailFrom: gunter.van_de_velde@nokia.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/gfdGgldLTemCNwcKlJRya0CCmdI>
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 Dhruv,

Using container names in leaf names is something that should be avoided. It adds no additional meaning and increases the path length.

Descriptions clarify what a particular node or statement is intended for, making the model easier to understand for those who read it.

There is a hint about this specified in:
https://datatracker.ietf.org/doc/html/draft-ietf-netmod-rfc6087bis-20#section-4.3.1

“
   Identifiers SHOULD include complete words and/or well-known acronyms
   or abbreviations.  Child nodes within a container or list SHOULD NOT
   replicate the parent identifier.  YANG identifiers are hierarchical
   and are only meant to be unique within the the set of sibling nodes
   defined in the same module namespace.

   It is permissible to use common identifiers such as "name" or "id" in
   data definition statements, especially if these data nodes share a
   common data type.
“

However, I'm uncertain whether the IETF mandates or enforces the use of human-readable names for YANG nodes, or whether there are guidelines to avoid including parent node names in the names of sibling nodes.

Perhaps @Mahesh Jethanandani<mailto:mjethanandani@gmail.com> (NETMOD AD) could provide some insight on this matter? If this aspect hasn’t been a priority and has not been enforced at the IETF, then I might be overly concerned about the readability and style of YANG.

G/





From: Dhruv Dhody <dhruv.ietf@gmail.com>
Sent: Friday, June 7, 2024 2:09 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,

On Fri, Jun 7, 2024 at 12:01 PM Gunter van de Velde (Nokia) <gunter.van_de_velde@nokia.com<mailto: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<mailto:dhruv.ietf@gmail.com>>
Sent: Friday, June 7, 2024 12:35 PM
To: Gunter van de Velde (Nokia) <gunter.van_de_velde@nokia.com<mailto:gunter.van_de_velde@nokia.com>>
Cc: The IESG <iesg@ietf.org<mailto:iesg@ietf.org>>; draft-ietf-teas-actn-vn-yang@ietf.org<mailto:draft-ietf-teas-actn-vn-yang@ietf.org>; teas-chairs@ietf.org<mailto:teas-chairs@ietf.org>; teas@ietf.org<mailto:teas@ietf.org>; vbeeram@juniper.net<mailto: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<http://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<mailto: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<http://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