Re: [netmod] An abundant amount of IANA if types...

"Bogaert, Bart (Nokia - BE/Antwerp)" <bart.bogaert@nokia.com> Fri, 06 April 2018 11:59 UTC

Return-Path: <bart.bogaert@nokia.com>
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 15978124E15 for <netmod@ietfa.amsl.com>; Fri, 6 Apr 2018 04:59:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.911
X-Spam-Level:
X-Spam-Status: No, score=-2.911 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_MSPIKE_H5=-1, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nokia.onmicrosoft.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7vRM-SYRBX1D for <netmod@ietfa.amsl.com>; Fri, 6 Apr 2018 04:59:57 -0700 (PDT)
Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0113.outbound.protection.outlook.com [104.47.1.113]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 76861124B18 for <netmod@ietf.org>; Fri, 6 Apr 2018 04:59:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nokia.onmicrosoft.com; s=selector1-nokia-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=eSZlqhPvioAk2l2ZBOw5bCYeX11WT0sz756gMJn6y6M=; b=nMJD6utRY7tgwHdApBywBzx/EIyVlWA20sXE2y47JXy5KIezokAMsHY3X8Mepv52ccj3LzMQF1JlIEA4DLuqHu5f9QPFfHRaBSu1ACso3D41k3KZTvfCkDjl2iGCkd2ok4V0QM/r5iS1EO0tosl98j99WKQXwWCGkC5YXSwRcMQ=
Received: from AM4PR07MB1716.eurprd07.prod.outlook.com (10.166.133.24) by AM4PR07MB3089.eurprd07.prod.outlook.com (10.171.188.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.675.4; Fri, 6 Apr 2018 11:59:53 +0000
Received: from AM4PR07MB1716.eurprd07.prod.outlook.com ([fe80::c15e:ad7a:a11e:eff4]) by AM4PR07MB1716.eurprd07.prod.outlook.com ([fe80::c15e:ad7a:a11e:eff4%5]) with mapi id 15.20.0653.014; Fri, 6 Apr 2018 11:59:53 +0000
From: "Bogaert, Bart (Nokia - BE/Antwerp)" <bart.bogaert@nokia.com>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, Alex Campbell <Alex.Campbell@Aviatnet.com>, "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: [netmod] An abundant amount of IANA if types...
Thread-Index: AdPMtsq1NhXOIRliRzmEujzHOstMAwAxc+1cAABYHzAAB2OkngAAIskw
Date: Fri, 06 Apr 2018 11:59:53 +0000
Message-ID: <AM4PR07MB1716E64E66AD5F33577315EF94BA0@AM4PR07MB1716.eurprd07.prod.outlook.com>
References: <AM4PR07MB1716AECAC144285D98B0E1EE94BB0@AM4PR07MB1716.eurprd07.prod.outlook.com> <1522972773708.26374@Aviatnet.com> <95e15ae380a2e114a8defa3ad924d73c15137b1b.camel@nic.cz> <AM4PR07MB1716DDB1796AA320616F7C0F94BA0@AM4PR07MB1716.eurprd07.prod.outlook.com> <20180406081830.go3hfajpr4hp6svm@elstar.local> <87h8oora3f.fsf@nic.cz> <20180406113639.rgmxofccvsn7gzw5@elstar.local>
In-Reply-To: <20180406113639.rgmxofccvsn7gzw5@elstar.local>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=bart.bogaert@nokia.com;
x-originating-ip: [135.245.212.64]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; AM4PR07MB3089; 7:B2B9oxZhvC5VTPiyGnrVHfHfrkGSYMsOkn1Ufc3/ndH0qLs6Ezu2Ahda9PFX0SPl69Pt3J3LL4jY4/RYvimWc0VhtknAUFLiqjych8kn1rbzv5nC+3kSc6NhN/keCNCxHPCP2lvCs4AICXvbvMR/Fk4QZj6qDtdVqqwqknFWW9laxpNWmWHGsgryss8josK5i4BVj+xSplpPp4UGPZifP4I4jFnadBVm3j2MpS5DCIRUFon2Ck+WdL48xho6o91a
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-correlation-id: 94e52053-f8b6-4b9d-5fc4-08d59bb5e8a5
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(3008032)(48565401081)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7193020); SRVR:AM4PR07MB3089;
x-ms-traffictypediagnostic: AM4PR07MB3089:
x-microsoft-antispam-prvs: <AM4PR07MB30890249161085D3BC36335794BA0@AM4PR07MB3089.eurprd07.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(82608151540597);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(8121501046)(5005006)(3231221)(11241501184)(806099)(944501327)(52105095)(3002001)(10201501046)(93006095)(93001095)(6055026)(6041310)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(6072148)(201708071742011); SRVR:AM4PR07MB3089; BCL:0; PCL:0; RULEID:; SRVR:AM4PR07MB3089;
x-forefront-prvs: 0634F37BFF
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(396003)(346002)(366004)(39380400002)(39860400002)(376002)(13464003)(199004)(189003)(9686003)(102836004)(33656002)(478600001)(8936002)(81166006)(106356001)(186003)(53936002)(3280700002)(6246003)(81156014)(3660700001)(6436002)(8676002)(66066001)(229853002)(3846002)(6116002)(2906002)(55016002)(25786009)(2900100001)(5660300001)(11346002)(446003)(6306002)(68736007)(316002)(53546011)(76176011)(14454004)(110136005)(97736004)(86362001)(105586002)(2501003)(7736002)(26005)(93886005)(5250100002)(305945005)(74316002)(486006)(476003)(7696005)(99286004)(6506007); DIR:OUT; SFP:1102; SCL:1; SRVR:AM4PR07MB3089; H:AM4PR07MB1716.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: nokia.com does not designate permitted sender hosts)
x-microsoft-antispam-message-info: 1vWTsV4EYHiYAZtOlVsSAUE1zUyj02HLTAul6OTNt7D3J7REgboq1uBAovmBHTIw2/PB1CTL8wQlTRE9AZs8HsGvUj082wW+xpeAZ+ZIZ6UxDrryMZ86BXqw0wwRYLxnfslxywagTM9OZf6EALhFGriukWVl0Xxf5bduciMhsiQQHqbzw0kXYAtfJkiZNWCKJaUMaiFW18xsCKX2eElmEjnJAneNvN1FDD4Dbf7u8+onZV2otuIEVYZMhmRdeNJ9skp1ooDyZQdFJ7LawyCFw7vB4jSkynAjlcSEGXRAlQXZ6SDd5577oFrbjy3szi8lTt/fiYW1knUomBpPhvyhhvBqSzZ8QT7EzsMJnuyq52QzF9HXNn5olm0ONl8+CMFxr1paJEPLkliRGCP24laieEj3fHM7VAePWuYCd2RFOJsxHLI5clVwe47nzRx65sYFVHJEsS3ojwGOEKyFNoFUpg==
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: nokia.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 94e52053-f8b6-4b9d-5fc4-08d59bb5e8a5
X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Apr 2018 11:59:53.3738 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5d471751-9675-428d-917b-70f44f9630b0
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR07MB3089
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/1ztSN3QRKATie9bGDZnDSOuEbzo>
Subject: Re: [netmod] An abundant amount of IANA if types...
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Apr 2018 11:59:59 -0000

Juergen,

I was not suggesting to have a feature for all identities but I would assume that there are several identities that logically belong to each other so these could be grouped.  If this would still lead to a lot of features I do not see how a deviation can help out here to reduce the number of identities as you do not have a schema node for identities so to me the only way to reduce the amount of interface types one supports is to define a YANG module importing ietf-interfaces for the base interface-type identity and defining the set of identities required but then this not really in-line with what is coming from the standardization bodies (you could re-use the same names as used in iana-if-type but this is not very nice).

Regards, Bart

-----Original Message-----
From: Juergen Schoenwaelder [mailto:j.schoenwaelder@jacobs-university.de] 
Sent: Friday, April 6, 2018 1:37 PM
To: Bogaert, Bart (Nokia - BE/Antwerp) <bart.bogaert@nokia.com>; Alex Campbell <Alex.Campbell@Aviatnet.com>; netmod@ietf.org
Subject: Re: [netmod] An abundant amount of IANA if types...

On Fri, Apr 06, 2018 at 10:51:48AM +0200, Ladislav Lhotka wrote:
> Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> writes:
> 
> > If we would have a mechanism to deviate an identityref to a subset 
> > of identity values supported by an implementation, we would have 
> > solved a more generic problem. Yes, the IANA list could be 'nicer' 
> > but it will never be 'nice'.
> 
> Three mechanisms can be used for this:
> 
> - splitting the identities into separate modules

Whatever module organization you come up with, it won't work for all implementations. 

> - using features

Making every identity a feature will turn the feature system upside down. This is similar to making every leaf a feature.

> - using deviations (even though vendors frown on them)

If my implementation only supports A and B and C, then a deviation may state exactly that and the problem is solved. Hoping that my specific combination of A and B and C matches a set of modules or some set of features is in my view an illusion.

Vendors not shipping proper deviations are essentially telling their customers that they have not yet understood model driven management.
We need to change the mindset here instead of polluting our data models with hundreds or thousands of fine grained 'features'.

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>