Re: [netmod] 6991bis: address-with-prefix-length

tom petch <ietfc@btconnect.com> Tue, 02 April 2019 11:13 UTC

Return-Path: <ietfc@btconnect.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 4EAEA1200E0 for <netmod@ietfa.amsl.com>; Tue, 2 Apr 2019 04:13:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.247
X-Spam-Level:
X-Spam-Status: No, score=0.247 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RATWARE_MS_HASH=2.148, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no 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 ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9Hulx1pAxvns for <netmod@ietfa.amsl.com>; Tue, 2 Apr 2019 04:13:13 -0700 (PDT)
Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-eopbgr130135.outbound.protection.outlook.com [40.107.13.135]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EF7A01200EF for <netmod@ietf.org>; Tue, 2 Apr 2019 04:13:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btconnect.onmicrosoft.com; s=selector1-btconnect-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6CbppJAI0kAeAUZ99xeEQNuoU/DQ74tnw4sDqGkbTJI=; b=ATmIu+Q0/HBQ4VpPLmK95TTfqHsRtE6i2VuPqSGKWRw/zlsBWCMjdQfnlRkplcmv7Rv7mH1u2plEp+oFViLeRCfgwgGegVZ0kqU7zDNsa/e585ybz6L/xhwstiYpefvxQoG3FXVQIoFeMjtAoEL9yGye00UmWwBdba1V5pgdWH0=
Received: from DB7PR07MB5562.eurprd07.prod.outlook.com (20.178.46.212) by DB7PR07MB3977.eurprd07.prod.outlook.com (52.134.100.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1771.8; Tue, 2 Apr 2019 11:13:09 +0000
Received: from DB7PR07MB5562.eurprd07.prod.outlook.com ([fe80::89bf:8194:3f8c:ff65]) by DB7PR07MB5562.eurprd07.prod.outlook.com ([fe80::89bf:8194:3f8c:ff65%5]) with mapi id 15.20.1771.007; Tue, 2 Apr 2019 11:13:09 +0000
From: tom petch <ietfc@btconnect.com>
To: Jeff Tantsura <jefftant.ietf@gmail.com>, "netmod@ietf.org" <netmod@ietf.org>, Kristian Larsson <kristian@spritelink.net>
Thread-Topic: [netmod] 6991bis: address-with-prefix-length
Thread-Index: AQHU6UUNgbjXDWQmuUGAMfkb8WmQ9Q==
Date: Tue, 2 Apr 2019 11:13:09 +0000
Message-ID: <082d01d4e944$aae0e3a0$4001a8c0@gateway.2wire.net>
References: <20190401161321.seiodlfsmjjvjcp5@anna.jacobs.jacobs-university.de> <F1537180-6BF3-40C7-BCFA-3AAE0290AE9D@cisco.com> <A0F7987F-AA67-4A63-8FEE-3B74B5B47CF1@cisco.com> <20190401.192951.1060904547331848297.mbj@tail-f.com> <073226E5-F7D4-455D-AC88-B3D13FF103DD@gmail.com> <e659034c-8e1a-0bd8-3c92-b622240f8eb7@spritelink.net> <7d368608-7c73-4287-bfa3-69a8db8576a2@Spark>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-clientproxiedby: LO2P265CA0445.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:e::25) To DB7PR07MB5562.eurprd07.prod.outlook.com (2603:10a6:10:7b::20)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=ietfc@btconnect.com;
x-ms-exchange-messagesentrepresentingtype: 1
x-mailer: Microsoft Outlook Express 6.00.2800.1106
x-originating-ip: [86.139.215.234]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 17f82fec-9637-49f5-4c1b-08d6b75c300c
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600139)(711020)(4605104)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020); SRVR:DB7PR07MB3977;
x-ms-traffictypediagnostic: DB7PR07MB3977:
x-ms-exchange-purlcount: 1
x-microsoft-antispam-prvs: <DB7PR07MB3977B85012E05DFE36BBB905A0560@DB7PR07MB3977.eurprd07.prod.outlook.com>
x-forefront-prvs: 0995196AA2
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(376002)(346002)(136003)(39860400002)(396003)(366004)(54094003)(13464003)(189003)(199004)(81816011)(99286004)(106356001)(86362001)(229853002)(25786009)(2906002)(7736002)(966005)(105586002)(478600001)(52116002)(8936002)(71190400001)(84392002)(44716002)(71200400001)(66066001)(61296003)(3846002)(4720700003)(14454004)(446003)(14496001)(8676002)(5660300002)(1556002)(6116002)(62236002)(97736004)(6512007)(256004)(6306002)(86152003)(26005)(76176011)(53936002)(81166006)(102836004)(44736005)(81156014)(6436002)(6246003)(316002)(6506007)(53546011)(386003)(110136005)(2501003)(93886005)(9686003)(305945005)(68736007)(486006)(50226002)(476003)(81686011)(6486002)(186003)(74416001)(7726001); DIR:OUT; SFP:1102; SCL:1; SRVR:DB7PR07MB3977; H:DB7PR07MB5562.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:0;
received-spf: None (protection.outlook.com: btconnect.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: uNagCJ7CAU2EzmrUSIx4ewIhU+zXl807b6kNmi0z5JpT3MeL/sQbUE8CISUpwwZtM8DNtbDLPVny1DPDZ057X69SljHtF6rVjrST1kQPRgaCZvaHDOKIJ+LoM5pucEJzAy38rzDhfHlmW9kdTrSQhjweekv0ZraBXjNJw/F6ohGGhdp4EjDePC9+GBpqlQq1zbQVWQxvnf2F5f3q0dOekl2ayLQO2N0y+5Y4PdLd2ZkErUhMv7nGNzhPDVzrFNEQtZAn9YyXQodX6bm01TtVbyIsyS1IGc0kTgSHgdXRGXpoJVabXBEpguxIjx9VPXdlJGTJJzvrQZcuDGIAkKV3p52yNllgpRPU3dIVayzcHiWCpab5Qp+E5x/M34AgdNFjd8o5ymT+oIg7NLl1Rx9h7sj94fg0rnSerTZel87noxw=
Content-Type: text/plain; charset="utf-8"
Content-ID: <43E41A95219F474C93B0F4D0F395E1AC@eurprd07.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 17f82fec-9637-49f5-4c1b-08d6b75c300c
X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Apr 2019 11:13:09.2742 (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-Transport-CrossTenantHeadersStamped: DB7PR07MB3977
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/_QL81Gq7GjfLrxpY5NqjSSaS5RI>
Subject: Re: [netmod] 6991bis: address-with-prefix-length
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
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: Tue, 02 Apr 2019 11:13:17 -0000

----- Original Message -----
From: "Jeff Tantsura" <jefftant.ietf@gmail.com>
To: <netmod@ietf.org>rg>; "Kristian Larsson" <kristian@spritelink.net>
Sent: Monday, April 01, 2019 11:09 PM

What Kristian has proposed makes sense, in favor.

<tp>

Yes, I support this idea and we should be able to come up with a more
user-friendly name;  address-prefix or address-length ?

Tom Petch

p.s.

   identifier          = (ALPHA / "_")
                         *(ALPHA / DIGIT / "_" / "-" / ".")

Cheers,
Jeff
On Apr 1, 2019, 1:09 PM -0700, Kristian Larsson
<kristian@spritelink.net>et>, wrote:
> Hello Mahesh,
>
> On 2019-04-01 21:40, Mahesh Jethanandani wrote:
> >
> > > On Apr 1, 2019, at 10:29 AM, Martin Bjorklund <mbj@tail-f.com>
wrote:
> > >
> > > I know that this type is convenient, esp. if you use it for manual
> > > input, but I wonder if it really is good practice to squeeze two
> > > values into one.
> >
> > Agree. The combination makes sense for CLI, but for modeling the
address and prefix should be separate.
>
> Okay, then why do we have an ip-prefix data type at all? With the same
> line of argument you apply, it should be split up.
>
> So you're the third person bringing up CLI. I don't get this at all. I
> don't see how CLI are different from everything else. This is about
data
> modeling and data modeling is about expressing the world in a data
> modeling language. It's like painting a picture but instead of a brush
> you have a schema language like YANG. What do you see? Express it. It
> doesn't matter if the purpose is a CLI, a web page or just exposing it
> via NETCONF for another system to consume.
>
> I think address-and-prefix-length is natural. JUNOS uses this format.
XR
> uses this format (for IPv6 at least). Nokia SROS uses this format.
>
> We have written a bunch of models where the lack of this IMHO makes
them
> less elegant. I'd like for there to be an IETF standard data type to
> make those models more elegant.
>
> Kind regards,
> Kristian.
>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod



------------------------------------------------------------------------
--------


> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
>