[CCAMP] A YANG model to link Termination Point to Interface was :Re: Breaking out generic models from draft-ietf-ccamp-mw-topo-yang

tom petch <ietfc@btconnect.com> Mon, 28 November 2022 10:48 UTC

Return-Path: <ietfc@btconnect.com>
X-Original-To: ccamp@ietfa.amsl.com
Delivered-To: ccamp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A4E91C1522B7 for <ccamp@ietfa.amsl.com>; Mon, 28 Nov 2022 02:48:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-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 (1024-bit key) header.d=btconnect.onmicrosoft.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 h0EdyVmLSChG for <ccamp@ietfa.amsl.com>; Mon, 28 Nov 2022 02:48:43 -0800 (PST)
Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on20717.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e1a::717]) (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 24D37C1522AF for <ccamp@ietf.org>; Mon, 28 Nov 2022 02:48:43 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=a4OyqQb0STUYjlnQRMPi3dlk4PsrRYVO5RAwT3z/bNdHHoH1/khBb+z+VedLkJexrR1EzkMVP8QjJlp4sDyhdmdTuVMlDLyGIsohYrI2dC0dg3Cjq+qa00Q53jVKCBfB5VAAR54yNsW9IUoopeLZCpdIDmwBhg9qobvqWQQlQ66J0OnqWE0vcbMaG5K3KgL6P73e90EpMfNKa9OxbSrCWoU8R2X54IWBfw0aDWL2iuvPxJJkQeQn3Wl00XBTnJD6qkyzJwYMQQ3NGxE71grUNwh6XYUyhudiSIz1KVDx8QcWzMInmdKL1cvx+GnhFvYFTYlY3mJrti38ZmO3xWbt9g==
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=V14j9s6jXev1w91I5DaB2qzUE/AG/VTZ2RSQGwenQhA=; b=m1EQNQX57U9oDL7NWypaEmr7cMKSQlNSyncSia4s5MoHEcD0sRryq0ktyQez4JjR0x5pb7DCeKhHxV25/7zlSKlBFIojySePDT6A9l2hII6Xa9FkIVhG6gWOT0iyB8oUWsVYXT4GQ3giJ/6QhjA1JM+l3Ghiwts9LpV87vtsEWxTQ+Cq3KtnF7KuI/cdP46gY3jPbwM/6ywvD4WaYQJZGTM6RchNr3ee4HcT9J4fmipQzKfpiOrFBJZ5mbKetDszKIua4jluBY601RaB8/dLXlRww4LqF6UGEIikc424t3WNIvTa9PX0UR6Jn/vHHW8Cibk3FJB7Ox7Qmo5AOoSXHQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=btconnect.com; dmarc=pass action=none header.from=btconnect.com; dkim=pass header.d=btconnect.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btconnect.onmicrosoft.com; s=selector2-btconnect-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=V14j9s6jXev1w91I5DaB2qzUE/AG/VTZ2RSQGwenQhA=; b=QIQ8HudZBs8EaaJ9Z8zaTOAnaeAbNOuaKexXEhcXmA2qZJIoOBoRs9IlOL8lz06Jd5lSrBmRO4yFuhjbbtR/J2uk2HQ1rq5K+dtL7d/JmdCjusL77Pcc/1+tcZkrBamCdflK2agTDCu0sKlk3ZcPPhr/JnwMprWOlRWyAGlBkDY=
Received: from AM7SPR01MB0017.eurprd07.prod.outlook.com (2603:10a6:20b:18e::7) by AM8PR07MB7347.eurprd07.prod.outlook.com (2603:10a6:20b:235::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5857.23; Mon, 28 Nov 2022 10:48:40 +0000
Received: from AM7SPR01MB0017.eurprd07.prod.outlook.com ([fe80::16d0:48aa:5aed:60aa]) by AM7SPR01MB0017.eurprd07.prod.outlook.com ([fe80::16d0:48aa:5aed:60aa%8]) with mapi id 15.20.5857.021; Mon, 28 Nov 2022 10:48:39 +0000
From: tom petch <ietfc@btconnect.com>
To: Jonas Ahlberg <jonas.ahlberg=40ericsson.com@dmarc.ietf.org>, 'CCAMP' <ccamp@ietf.org>
Thread-Topic: A YANG model to link Termination Point to Interface was :Re: Breaking out generic models from draft-ietf-ccamp-mw-topo-yang
Thread-Index: Adj/Dp38gDD//EJVQPWTZOozrTDYmQBF5eBGALrmqwQ=
Date: Mon, 28 Nov 2022 10:48:39 +0000
Message-ID: <AM7SPR01MB00170EF5C14CA69D43A5768AA0139@AM7SPR01MB0017.eurprd07.prod.outlook.com>
References: <AM8PR07MB8076F5E5FABCAD9AE4CC1F92890C9@AM8PR07MB8076.eurprd07.prod.outlook.com> <AM7SPR01MB0017B43A970910DD64FDFF1AA00F9@AM7SPR01MB0017.eurprd07.prod.outlook.com>
In-Reply-To: <AM7SPR01MB0017B43A970910DD64FDFF1AA00F9@AM7SPR01MB0017.eurprd07.prod.outlook.com>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=btconnect.com;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: AM7SPR01MB0017:EE_|AM8PR07MB7347:EE_
x-ms-office365-filtering-correlation-id: e9af88b3-ae00-4e7f-3717-08dad12e1c4a
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: cbrfREtyC8OAaNWfl6KKTKLcUE22eAGNjh7RlAQMyFveCROeG3GUGIjnuCtX3bBC01En7QrYl2YjnXZ6/uQD5nufIGU+1Quba8KBjfeSwBUY/rtD3JE753Dl75PlNPKuoXdwxfiGE6/wS9lECgB9KYkRLbci6I7BQpZ6hRD4/AbSN99o//Barbd+2IeCfVBR5jQTQW2quMCF+W6NgPqIATpON8x4RA9cvkhImFz8p51Aih2PM/G2JM3fFgAIkg8Mi+abBhDf3XHrPJY3WMKGtrCuYVw85btxmRJbUlNvsVpzDfOLqqRJglW/2lPeNfBUf4A25wDLTEE3oAtNGemJylFU9uBtLXnRw7iPLd4P2j7KeEv+MqGLkCo3nN0a8hIyAOktdrhzXDJyQIu7s3ZMqO62Npkwn2+lDXaQPPZDT93L1ZUVUkgUU7SMl8/qR2ydnPw8vwPAvrxsDf9wF9+b5Aje1HGD8/RTlpItZD1RX0ja/gnXxOpr4MPRBo3YO4kVRddie4zCLurFnakbzZvyr2jBx0z0purnbYybO7VU1cXKa5+Mb3DsJ7W30/P9JCss5hCZHgKWRdZ2FMCyfO2sQuGjaAOyQrbNS12/jRdXXpiwBjjwH9z5oR9tb20spdgHtSyXdyVeDJZc/taM0+SwWVlCXOFc4Djqvd5yIme92rQpsQk804oFVQfsMp9fCd2iqyCMLiPDUSJjg1u2LsGk/Xy3kaFYbR07hMkUGvYR//asrwJlu1u9R6Cd+UPp9RZ7AgZhkATORLhwUjmD8g0onWoBLSH+OB1oLhFHu6+WWoM=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM7SPR01MB0017.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(376002)(346002)(39860400002)(366004)(136003)(396003)(451199015)(5660300002)(33656002)(82960400001)(55016003)(8936002)(316002)(9686003)(26005)(110136005)(41300700001)(52536014)(186003)(66446008)(91956017)(66556008)(66946007)(76116006)(8676002)(66476007)(64756008)(122000001)(38070700005)(38100700002)(2906002)(83380400001)(86362001)(7696005)(478600001)(6506007)(71200400001)(966005)(53546011)(41533002); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: AllrwbTJQ7cU7BaxkCu8q1m/8e98evksGwxPN4dVCNYEkAcYFKVWpW7KpF+v8h9CPR0gku852pevNWnHOF/0y5nLwmb6ywKtUtLSvN2Won6vJOHI1rmu6m5sCt6M7TAbQB1FmZRpFQ/TJXrZ+r/KPqdHzmOxKZsgTNl3aM2gfyN2yry8BvPcn07DJEWmqu6BT0Ef4GhscDmewbBdTs0jcoM1CzmJe8CCNVKub8G1wLy+b9zsXD3HP9u7EVrw1qHhegfsiiGKRglGVUzZCwSfuEYRqzTYP07AvSJVCOlhZ5yxui+Z59RFXO00VM+mGhUTiB1YoqTsxJnJ8XAO5eF89jHZjTvlGgUR5TVdnOgqrQ5/adf2j/fRkwlTsVfsXGb4AUOMvQe5G/3krxxMarhpY3liN0tIJGIxjgb+118qPCtKpEul2NjrWAMN2+29RmdovzVeD3L5K9vDutwv4Tnb/FBpGcQP7vBj2yTlfVmD7ra2x6SbKucLoWIXuX7Wolbs8IE1Svm5wtvrUxWKm8tggr6NqUro56TjiPG0YHouLQtrf9LbUyS0MmWGDj/9WkKaeBOJU9N7EwIECPMKvBrgChAdcPbWzBuAGIMzcTo/wHaxquLqu4TW8MImVxCzvQVxgrPltwNsMhLA9aDw+JyvliePP/tmjWKwelE01wJfY8+tz729ImQVxV3Fzy4E8IcGDulBogvoEpVB5bNpGUMhn1Wlvnc+4GpcpHxBDNrdur6RufS0b0KWIxIcGldjvbddgJTE1M3YK8jRhwAolK5Mj5gmavuT6UKz+BsiXXkmoOKou9nCWiXKUyja8M5JCq2wKumnaHb71/eUJB3enz6lMn6cSANL8RCt5YeZDPrejkxuZ1DC9GYa/mu0q9FZG9ZjyWBRoIBQvkW7Bkk2mGb3tRxz2elEnjrwLm6vgvn0DqV0f5LNyET7ov/kwQHSgAaHaB2NWwIBqVbS6dzbwQVOMn9oOS0mcExFdaNyylB7ZMAmGHzb+GmTL2jZE827YkS/epPnGhVbvfn/4MBD3xBXh9jr55G2YZIdmmMipn/tYCoX5NyiSXdowWco2OSQOjiCycuWZIpiCXmtXSygqXYo5+DUvnnYJ7vaCa4WAyodqM/QdwoT2Rmwd6e9qYLtwx1G3+teVQ/ushAZyH0xbS5E0Tgwh6yHNF+CQYdfRCk4iXvriasBiR/vYx2tipZiBhKLlyMzmH9FDk5BivBKshWSvsi/jUg1ZEg04O9MiARx0GD8wr2M6K56fPTv7nv2C6y07jDXA9HlZ0fDTjzHS8I6PkoEitTdzT7h/uqOWhP4uCqfLTKucoQiuZ+XjhTfGK5HvbLpau214N6eFcaDdrnw/NU1pHHYypHWXc2Isvj+19qJzC0Xz6e9vZcHuWOUS0O7L4lUje417dkGbr07PEw09B4lSeKJ4TF1vJna2wZStbPFKnYq0brnWzPkNvmW96vSVJGUFaV98+w4ttOXSNNL0Bmp4EzKhfiacaiAsL3XSpIdikZbdhd76h7+t3E3MB48il1bD4Vd+EUQ87dHnsMY2aAzFJwEqgYV3YvYC9tSy04pWziqB69gquq5ymPsFMb/
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM7SPR01MB0017.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: e9af88b3-ae00-4e7f-3717-08dad12e1c4a
X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Nov 2022 10:48:39.9334 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: cf8853ed-96e5-465b-9185-806bfe185e30
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: AESni6v6krwLYHgwo2KujrmliwE4ynu4xAMPk9H6/qKbDowHmnZWQYsQm0TMNOpHda0kYjbx8drV8SlZFNPRJw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR07MB7347
Archived-At: <https://mailarchive.ietf.org/arch/msg/ccamp/We_gwYXO3ozf_4X_ZQTyWrYCf4o>
Subject: [CCAMP] A YANG model to link Termination Point to Interface was :Re: Breaking out generic models from draft-ietf-ccamp-mw-topo-yang
X-BeenThere: ccamp@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Discussion list for the CCAMP working group <ccamp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ccamp>, <mailto:ccamp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ccamp/>
List-Post: <mailto:ccamp@ietf.org>
List-Help: <mailto:ccamp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ccamp>, <mailto:ccamp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 28 Nov 2022 10:48:45 -0000

The augmentation is to 
"/nw:networks/nw:network/nw:node/nt:termination-point/tet:te" 
Why?  Why not 
"/nw:networks/nw:network/nw:node/nt:termination-point/"
I do not see the te connection; to me it looks useful to any model with a termination point and not related to te..  If there is a case for /te/ then I would think that the model belongs in TEAS.  If not, well I2RS is no more so perhaps OPSAWG where it could get a wider review.

Second, I wonder about the relationship of TP and IF.  Modelling networks used to be simple, nodes and edges.  Then, 1980s, the ends of the edges got separated from the node which I probably understand.  Recently there was an I-D on SAP, not the OSI SAP, not the mobile phone SAP; the I-D was clear that a SAP was not a link nor a tunnel termination point but less clear, to me, what it was.   I struggled to see what structure it was proposing, as, judging from the reviews, did many reviewers. It did map the SAP in YANG to an interface type and catered for sub-interfaces and attachment interfaces.

I note that here the leaf in the model is named ...interface-path which seems odd to me.

What I am fishing for here is what is the structure of a node nowadays.  It is the sort of thing that the ITU-T is good at, the IETF less so, and while mapping a termination point to an interface seems reasonable, I am conscious that such modelling, in other spheres, turns out to be problematic at a later date because the underlying concepts are not quite right, mixing apples and oranges

Tom Petch.

________________________________________
From: CCAMP <ccamp-bounces@ietf.org> on behalf of tom petch <ietfc@btconnect.com>
Sent: 24 November 2022 17:12
Subject: Re: [CCAMP] Breaking out generic models from draft-ietf-ccamp-mw-topo-yang

From: CCAMP <ccamp-bounces@ietf.org> on behalf of Jonas Ahlberg <jonas.ahlberg=40ericsson.com@dmarc.ietf.org>
Sent: 23 November 2022 07:49

Hi all,

In the current version of draft-ietf-ccamp-mw-topo-yang there are a total of three models.
https://datatracker.ietf.org/doc/draft-ietf-ccamp-mw-topo-yang/

  *   ietf-microwave-topology.yang

A model which augments te-topology with microwave specific extensions

  *   ietf-bandwidth-availability-topology.yang

This is a module for defining a bandwidth availability matrix,

for links in a topology. It is intended to be used in conjunction
with an instance of ietf-network-topology and its augmentations

  *   ietf-tp-interface-reference-topology.yang

This is a module for defining a reference from a termination
point in a te-topology to a list element in interfaces as defined in RFC 8343

The last two are generic and can not only be used for a microwave topology but for any transport technology/topology. Therefore we plan to break out those two models from the microwave specific draft and instead put them in a new draft which in a better way reflects that they are generic.

<tp>
Bad idea:-(  A three way split is a no-brainer to me.

The network model has been augmented recently with 'node' gaining useful information such as node type, MAC usage, IPv4 routes, IPv6 routes and so on.  This you would be unlikely to divine from the title of the I-D (which contains the augmentation) or indeed from reading the I-D; which I did and it passed me by.  Only by reverse engineering the YANG might you see these possibly useful, generic additions for network models (unless, that is, you are the author).  Were these additions in an I-D with a relevant title then perhaps the wheel will not be reinvented at some later date.

So, three I-D with relevant titles.  Yes, two are small and it would be nice for there to be more substance to them but more could get added in a revision.

Which WG is suitable for the two new ones?  TEAS? OPSAWG?  Tucked away in CCAMP they might not be noticed.

Tom Petch.

We would like to get your feedback on this proposed change.

Regards
Jonas Ahlberg
on behalf of the microwave team

_______________________________________________
CCAMP mailing list
CCAMP@ietf.org
https://www.ietf.org/mailman/listinfo/ccamp