Re: [netmod] Pattern statements [was Re: Query about augmenting module from submodule in YANG 1.0]

"t.petch" <ietfc@btconnect.com> Wed, 23 August 2017 09:48 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 73898132BEA for <netmod@ietfa.amsl.com>; Wed, 23 Aug 2017 02:48:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.7
X-Spam-Level:
X-Spam-Status: No, score=-4.7 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_H2=-2.8, SPF_PASS=-0.001, URIBL_BLOCKED=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 ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UqFXTJMgul7l for <netmod@ietfa.amsl.com>; Wed, 23 Aug 2017 02:48:32 -0700 (PDT)
Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00118.outbound.protection.outlook.com [40.107.0.118]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 57FAC132BE2 for <netmod@ietf.org>; Wed, 23 Aug 2017 02:48:30 -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; bh=rddC/xXi6EQeDsVOoRs+unICGwvoMDytUNdBuI5Rgfk=; b=eTvPZerIqMuIQVw/ZZTwb1vyvdsnbERN+6+fDctBW2SJ8vnFrq/1UpWwH82zYODG1WWerAo0RwwRof6IBgUBsJGQDGsMQVxumqhmoAH2QOoSft2COjBl0mBlFE9Xb0XWs0+yzxfGZptr/CMpihOudemKgEOfwY6lvir31tiRlB0=
Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=ietfc@btconnect.com;
Received: from pc6 (86.174.236.116) by DB6PR0701MB3000.eurprd07.prod.outlook.com (2603:10a6:4:73::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1385.4; Wed, 23 Aug 2017 09:48:27 +0000
Message-ID: <044b01d31bf4$d3b37500$4001a8c0@gateway.2wire.net>
From: "t.petch" <ietfc@btconnect.com>
To: "Acee Lindem (acee)" <acee@cisco.com>, "Ivory, William" <william.ivory@intl.att.com>, netmod@ietf.org, Andy Bierman <andy@yumaworks.com>, Robert Wilton <rwilton@cisco.com>
References: <E3378E0605547F4E854DEE0CB1116AB020865B@gbcdcmbx03.intl.att.com> <85A1FF5A-EF0B-4278-B4FF-3FE431486B2C@tail-f.com> <E3378E0605547F4E854DEE0CB1116AB02102DC@gbcdcmbx03.intl.att.com> <11857e8e-f46e-dc2e-cf99-80224859d221@transpacket.com> <E3378E0605547F4E854DEE0CB1116AB0210631@gbcdcmbx03.intl.att.com> <defe35bb-bb8b-f1f0-d8c4-2d2d0f23731b@transpacket.com> <1502290869.16638.15.camel@nic.cz> <20170809151312.GC42207@elstar.local> <6ef68131-f731-0edc-b731-d7ec85924f03@cisco.com> <E3378E0605547F4E854DEE0CB1116AB021CE2D@gbcdcmbx03.intl.att.com> <D5C05EB3.C2681%acee@cisco.com> <7614040f-9f8f-09c2-1854-63ad9ffb6be1@cisco.com>
Date: Wed, 23 Aug 2017 10:45:51 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Originating-IP: [86.174.236.116]
X-ClientProxiedBy: VI1PR0801CA0081.eurprd08.prod.outlook.com (2603:10a6:800:7d::25) To DB6PR0701MB3000.eurprd07.prod.outlook.com (2603:10a6:4:73::10)
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: ad69ee3c-46a1-48fb-0c36-08d4ea0c1b6b
X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(300000503095)(300135400095)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:DB6PR0701MB3000;
X-Microsoft-Exchange-Diagnostics: 1; DB6PR0701MB3000; 3:LPrQ0Rbuqk7XFHRb6DebkxhAf0rhOnmS1iHyu7RgkNc2AwcGSUSggyv6jp4B/uWjEBLexgYzeoaJ2unDzRdRJlJPPphO90ATNiotYTYTOk8dSfEt3FAaXGMDuRuAILsM40YXiXQSyWAhOO60S/krmZYAKQL3zYpwvRciKPttXKLWyxxsCs9yPpZLQA0txySV56ayCdWrDnEw6STU107eKTUlcjPZIpmFQ2GsRsRCFq3vUe9NzQdn37s8geJzbudX; 25:QWZkNn9O2b4mSjxMrFf0VBGgi7RfkDnLOzAIbyj4qSMna7b5M+yXynDS0QrEEQj3NDI10ERfUl1nzQsmMDabvUuV526HqnPNGrejLbUbnBnhLl6IALny/Gjx+IkeRBxoXUJJj7ohqY4TnBRGsUe+btLMnEWBAlZwWNyXceckxys+4Z2COvFuwjyMoPRv34EW54W/PZhNGDR3k5YA5pg/zaipxBYpp2eccUJC24sOh9a/1LR4/OLT91pQ8bnq+CJ4m02OsB43MP8kZXdX501WJZ7pboz8InXKzXTxR3ELJWs9FVOKuqAsphX4MlcIzjecBlMS4+dgCrkwoAUUCK3IyA==; 31:TafvVvagculAXg4RAb95HuWf76Iiv+Y5lSaMe7Pn6X+E9QRBzYhw61QN9NL7zPGYE7FMhhIVDkiEZ3apdRfMshK4MQpG91JsCPzu6AYq7A+1MOrPHDxXQ9VYCZlsFrfofjP4lEt9mdno8c2c2VZhfxS3rocV1s8E8BaK466u7/O+CipRckL5xd72r7X0PZwRLsdv8P2VI0T1Zz1Aa6vONkQwJ3OsjQQxH9DfApYDkFw=
X-MS-TrafficTypeDiagnostic: DB6PR0701MB3000:
X-Microsoft-Exchange-Diagnostics: 1; DB6PR0701MB3000; 20:EdXU0i3xmN1FrC2ZPvxvb0FHZ98aO4iaxYdw6PhEahq3OQHbjzwDUk2+SFbPiUqYiYdY4XwWsvubFV1EaPHZEY+ypcb264WEqh4in9W08S9+ziZf1IJ4LwoZMyuP8ftDusaCU2jn1MqeYUigGe75G8d1GIJrco29GK9gSRSCkLCo3qgsMt/bIpcYmjH49BmF7h7ZqielcCKLP05Fkn0rNcP2pTBQWOrLCyUaeD9c95lu6H3EXub+85t0YLLCQRla; 4:RDtjW51yzv4fJ3zu90z3hYDEqqE9iDNUvkwoOkfmPqjL4zHS2Oiersw1LHanAaTi65l8NUQo/ZiqtIQcU4Uxa9evlORDRMnB0o1/S2tb/Ci3jJKWbEMMb768683fX5jfOLgQiT4ZA3cmHmM0ZWnyNc0GQuBDNnEXXho81RZujIaWNICOvx2lHE0mn06VgRSJNH4UvtWG6PSZdBqq1jqaQ2AdkTGV0iupCJs8jAN92uclT9SvyYvlrxDLHAu86busNdazzpK5MOzOHxTIAxXOMFiLyzNlYviGCuRsqggrIYhuGHtwsgW0lMhFz4i8Lzh7yJgfwXUDktJyCBcauAJ+dEBsMPcIkuGz851O3etESdY=
X-Exchange-Antispam-Report-Test: UriScan:(10436049006162)(97927398514766)(95692535739014);
X-Microsoft-Antispam-PRVS: <DB6PR0701MB3000CF65E64138669183675CA0850@DB6PR0701MB3000.eurprd07.prod.outlook.com>
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(3002001)(100000703101)(100105400095)(93006095)(93001095)(10201501046)(6041248)(20161123562025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123560025)(20161123564025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DB6PR0701MB3000; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DB6PR0701MB3000;
X-Forefront-PRVS: 040866B734
X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(7370300001)(4630300001)(6009001)(39860400002)(24454002)(52314003)(51444003)(377454003)(13464003)(199003)(189002)(7350300001)(478600001)(5660300001)(33646002)(14496001)(6306002)(53936002)(9686003)(61296003)(42186005)(6496005)(25786009)(105586002)(106356001)(6246003)(47776003)(50466002)(230700001)(53546010)(1556002)(86362001)(6666003)(575784001)(4720700003)(1456003)(6116002)(3846002)(44736005)(116806002)(62236002)(66066001)(6486002)(81686999)(189998001)(81816999)(561944003)(44716002)(81156014)(81166006)(93886005)(2906002)(84392002)(50226002)(8676002)(101416001)(68736007)(7736002)(966005)(305945005)(97736004)(76176999)(50986999)(229853002)(23676002)(74416001)(7726001)(19627235001); DIR:OUT; SFP:1102; SCL:1; SRVR:DB6PR0701MB3000; H:pc6; FPR:; SPF:None; PTR:InfoNoRecords; A:0; MX:1; LANG:en;
Received-SPF: None (protection.outlook.com: btconnect.com does not designate permitted sender hosts)
X-Microsoft-Exchange-Diagnostics: 1;DB6PR0701MB3000;23:WwTbCe3iT2nkAiCozURAGyp4YfoLxPtZdtUSPLO3gj/Vq4Ki7Lu9mlPOYHk3/aKCiyupGV5oFEPIGbferprKAMIHAMpPhlYdIhfLpz+SExExdA4M7b8BNcsWtyMBdrILbKwLanz8L4yIXazFjAo2KfGs8xMHUyCXmII6F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nWPoErB2GlMM2W9O9KiXLojlz5sM75UF2QTgL6Bunes+xV8ZRSKH0bWWbeE2s04F7jwBcxEg8AqOl739K7nVS8SXQs0wSfN8eM0l2EukJlxqI2TU/2Yo4ANxNfhc3GkXUo0DSSdub8R+HMoP23XUCpYSfGsmMn8wdeW4FzMh6KLfx8w+95Bc=
SpamDiagnosticOutput: 1:99
SpamDiagnosticMetadata: NSPM
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Aug 2017 09:48:27.8464 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0701MB3000
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/JEAyFfyrYxgfwDbAjB_OGC_eB4A>
Subject: Re: [netmod] Pattern statements [was Re: Query about augmenting module from submodule in YANG 1.0]
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: Wed, 23 Aug 2017 09:48:36 -0000

----- Original Message -----
From: "Robert Wilton" <rwilton@cisco.com>
Sent: Monday, August 21, 2017 4:14 PM

> That makes sense.
>
> The other thing that I think that we have got wrong is modelling regex
> pattern statements.  I think that it would be much better if these
were
> written to be less exhaustive and much simpler.
>
> E.g. the "route distinguisher" pattern in
> draft-ietf-rtgwg-routing-types-09 is defined as this:
>
>           pattern
>             '(0:(6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|'
>           +     '6[0-4][0-9]{3}|'
>           +     '[0-5]?[0-9]{0,3}[0-9]):(429496729[0-5]|'
>           +     '42949672[0-8][0-9]|'
>           +     '4294967[01][0-9]{2}|429496[0-6][0-9]{3}|'
>           +     '42949[0-5][0-9]{4}|'
>           +     '4294[0-8][0-9]{5}|429[0-3][0-9]{6}|'
>           +     '42[0-8][0-9]{7}|4[01][0-9]{8}|'
>           +     '[0-3]?[0-9]{0,8}[0-9]))|'
>           + '(1:((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|'
>           +     '25[0-5])\.){3}([0-9]|[1-9][0-9]|'
>           +     '1[0-9]{2}|2[0-4][0-9]|25[0-5])):(6553[0-5]|'
>           +     '655[0-2][0-9]|'
>           +     '65[0-4][0-9]{2}|6[0-4][0-9]{3}|'
>           +     '[0-5]?[0-9]{0,3}[0-9]))|'
>           + '(2:(429496729[0-5]|42949672[0-8][0-9]|'
>           +     '4294967[01][0-9]{2}|'
>           +     '429496[0-6][0-9]{3}|42949[0-5][0-9]{4}|'
>           +     '4294[0-8][0-9]{5}|'
>           +     '429[0-3][0-9]{6}|42[0-8][0-9]{7}|4[01][0-9]{8}|'
>           +     '[0-3]?[0-9]{0,8}[0-9]):'
>           +     '(6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|'
>           +     '6[0-4][0-9]{3}|'
>           +     '[0-5]?[0-9]{0,3}[0-9]))|'
>           + '(6(:[a-fA-F0-9]{2}){6})|'
>           + '(([3-57-9a-fA-F]|[1-9a-fA-F][0-9a-fA-F]{1,3}):'
>           +     '[0-9a-fA-F]{1,12})';
>         }
>
> But I think that it would be much easier to read, and quite possibly
> more performant to execute, if the pattern regex was written something
> like the following:
>
>   pattern:
>      '(0:[0-9]{1,5}:[0-9]{1,10})|
>       (1:([0-9]{1,3}\.){4}:[0-9]{1,5})|
>       (2:[0-9]{1,10}:0:[0-9]{1,5})|
>       (6(:[a-fA-F0-9]{2}){6})';
>
> Of course, this would allow more invalid values, but most servers
would
> be expected to reject those when it converts them into an internal
> binary format any way.
>
> What do you, and others, think?

Simplify!

Bear in mind that the regex for an IPv6 address was wrong for a long
time in base YANG before anyone noticed - it was just too complex.

And ABNF learnt long ago that just because something could be expressed
in code does not mean that it is a good idea to do so.  If a simple
English statement replaces many lines of ABNF, then that is a good
tradeoff.

Pragmatically I am not sure what the cutoff for complexity should be but
it should be less than we have now.

Paradoxically, given the original thread, the time when large
expressions may work ok is when they have a 'sub-module' like structure,
when I can look at a group of lines in isolation and form a view of what
it does then move on to the next group and so on, building up an overall
picture piece by piece.

Tom Petch

> Thanks,
> Rob
>
>
> On 21/08/2017 15:01, Acee Lindem (acee) wrote:
> > Hi William, Rob, Andy,
> >
> > Given their limited usefulness and the detriments, perhaps we should
> > discourage the creation of new submodules in RFC6087Bis.
> >
> > Thanks,
> > Acee
> >
> > On 8/21/17, 9:44 AM, "netmod on behalf of Ivory, William"
> > <netmod-bounces@ietf.org on behalf of william.ivory@intl.att.com>
wrote:
> >
> >> Hi Rob,
> >>
> >> That would make it very hard to update existing 1.x YANG models to
use
> >> new features in YANG 2.x if they used submodules.  Maybe that's
something
> >> that no one would ever consider doing anyway, or maybe YANG 1.1
already
> >> has similar differences to 1.0?  I had (perhaps naively) assumed
that you
> >> could migrate a namespace / model from YANG 1.0 to 2.0?
> >>
> >> Regards,
> >>
> >> William
> >>
> >> -----Original Message-----
> >> From: netmod [mailto:netmod-bounces@ietf.org] On Behalf Of Robert
Wilton
> >> Sent: 21 August 2017 11:24
> >> To: netmod@ietf.org
> >> Subject: Re: [netmod] Query about augmenting module from submodule
in
> >> YANG 1.0
> >>
> >>
> >>
> >> On 09/08/2017 16:13, Juergen Schoenwaelder wrote:
> >>> On Wed, Aug 09, 2017 at 05:01:09PM +0200, Ladislav Lhotka wrote:
> >>>> I remember that in early stages of YANG there was some irrational
> >>>> fear of introducing too many namespaces, and submodules may be a
> >>>> consequence of it. As you write, submodules provide no benefits
> >>>> whatsoever in terms of modularity, but the overhead in terms of
> >>>> metadata, IANA registration etc. is pretty much the same as for
> >>>> modules.
> >>> In case YANG 2.0 is ever done, I suggest someone files a proposal
to
> >>> remove submodules if the cost/benefit ratio is at odds. There is
> >>> nothing wrong with removing stuff that has been found problematic.
> >> I agree.
> >>
> >> I've added
> >>
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_netmod-2
Dw
> >>
g_yang-2Dnext_issues_26&d=DwICAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=p8kyeK3u4ZYi
aQ
> >>
2ZPGqwkyXmQgBH6r5jpYiYWzhqJ48&m=l7c4IPL049A2bVVO14fyBMly211xU61xSHgPlAT7
ow
> >> I&s=-kR4fUtXArQy0RwWb32DpT1bP4X_cNqt2zJVoC0JiX8&e=
> >>
> >> Rob
> >>
> >>> The motivation for submodules was that organizations maintaining
large
> >>> modules with multiple people can do so without having to mess
around
> >>> with tools like m4 scripts to produce a single module from
'snippets'
> >>> and to avoid integration surprises. But perhaps using m4 scripts
and
> >>> decent version control systems (that can integrate and compile on
> >>> checkin) is indeed cheaper than having submodules part of the YANG
> >>> language itself.
> >>>
> >>> /js
> >>>
> >> _______________________________________________
> >> netmod mailing list
> >> netmod@ietf.org
> >>
https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ietf.org_mailma
n_
> >>
listinfo_netmod&d=DwICAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=p8kyeK3u4ZYiaQ2ZPGqw
ky
> >>
XmQgBH6r5jpYiYWzhqJ48&m=l7c4IPL049A2bVVO14fyBMly211xU61xSHgPlAT7owI&s=t7
vG
> >> IH8ABuAm00e-bkSowD9eawModGq0N2OkjANtpYI&e=
> >>
> >> _______________________________________________
> >> 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
>