Re: [I2nsf] draft-ietf-i2nsf-nsf-monitoring-data-model

"Mr. Jaehoon Paul Jeong" <jaehoon.paul@gmail.com> Wed, 01 June 2022 13:14 UTC

Return-Path: <jaehoon.paul@gmail.com>
X-Original-To: i2nsf@ietfa.amsl.com
Delivered-To: i2nsf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A1173C14CF04; Wed, 1 Jun 2022 06:14:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.097
X-Spam-Level:
X-Spam-Status: No, score=-7.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_HK_NAME_FM_MR_MRS=0.01, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 QwyKmG3KxaoN; Wed, 1 Jun 2022 06:14:31 -0700 (PDT)
Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 334E2C14CF07; Wed, 1 Jun 2022 06:14:07 -0700 (PDT)
Received: by mail-ed1-x533.google.com with SMTP id t5so2143302edc.2; Wed, 01 Jun 2022 06:14:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=63LZ0M12y1+QQt/+RfD+Jt9FaYviNP7CTNWVFDRkBBM=; b=dhAG8yCAzhbgQLAJ9Q9NTRXzEC1Xg/iTLXbgZoweMKFa9a1tih25uwMUaHnJ1L4/2n 0D5B4NcST5ZH7bizNVED54KNWZn9/wCMYfzNQ46Ayee0wxfPC2ay724KD7Nuv0+tZ2IG wCOfLD4J80pkUBaCfFxjRCKLTi71I1PpAYTwdlycH7mW3sviGAzcHNNwGI7hHmxl9na+ 3bEsZyJK2UdqTY1Vv8eo/XfTU+YS0j0TLoi4kOMRAdNxPFvOxohc5TEQm8BvCUqi0RJS 7iF4GPUfNLtRceOj0qZ4xShuHm5pPthyEOpWzb+QtSCDjFm12r0VYcxd8d9vnc6BXBMR mEpA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=63LZ0M12y1+QQt/+RfD+Jt9FaYviNP7CTNWVFDRkBBM=; b=BbOk6bMc3Y2FRnaFlGyovNEuHoZyvOSRGsycFu5DlfMdPEmWwjUeHB6bwvQldrH25Z VyJ0/ubRCtWlrLqm1/76ofL25kqJHbseCfXO77bGLt2idZ2//BmsGHUby9RJ7WSkNoay 3nZbI1S0ybQ/eVUc3oCuPHPd+RFWkMdFMXx+MEJGlXHgWwqYFbpbkZx9YtlUyxWCPwMf aSlB+RRZx4yTdQox9gRaqfGHpLwUX5IhrXBbQkjFlGGJoaUxB+iIVrvLFi44N+rZpc6m g2YCp5xWu2vQN4ugE7yRWKqCfpM9CsuczHRC1A8Qe1y8gdY/s6j7p3n459XXohQ9QW8k OPjA==
X-Gm-Message-State: AOAM531P9SgdDH0ss0g7CB4ZY6p42wsMmOPq7YSis7IhNP2bEiXIQCbJ hxT+RQPQ1IHROq8n75jv/gFjUqfw0XFtDQkN96zEGm2qR0Q=
X-Google-Smtp-Source: ABdhPJzGSl4u6SkXXIO6/X0RBf0FDal70IDeZs7t/EkQza/igRf9rzPpP0XYpSuRVafwbz+F+f/mY4Zjt6tuM3fRz28=
X-Received: by 2002:a05:6402:42d4:b0:412:c26b:789 with SMTP id i20-20020a05640242d400b00412c26b0789mr69134672edc.232.1654089244977; Wed, 01 Jun 2022 06:14:04 -0700 (PDT)
MIME-Version: 1.0
References: <04bd01d875b2$3e7d7ef0$bb787cd0$@jpshallow.com>
In-Reply-To: <04bd01d875b2$3e7d7ef0$bb787cd0$@jpshallow.com>
From: "Mr. Jaehoon Paul Jeong" <jaehoon.paul@gmail.com>
Date: Wed, 01 Jun 2022 22:13:29 +0900
Message-ID: <CAPK2DezZfz=FsKAweT=_T21gz1PUur=EG0pNtqGKkNO+pFtQTw@mail.gmail.com>
To: supjps-ietf@jpshallow.com
Cc: draft-ietf-i2nsf-nsf-monitoring-data-model@ietf.org, i2nsf-chairs@ietf.org, "i2nsf@ietf.org" <i2nsf@ietf.org>, Patrick Lingga <patricklink888@gmail.com>, "Mr. Jaehoon Paul Jeong" <jaehoon.paul@gmail.com>
Content-Type: multipart/alternative; boundary="000000000000dfaf7005e062a941"
Archived-At: <https://mailarchive.ietf.org/arch/msg/i2nsf/tvqbFoeoXMOQo49EjXHx8FMMFZ0>
Subject: Re: [I2nsf] draft-ietf-i2nsf-nsf-monitoring-data-model
X-BeenThere: i2nsf@ietf.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id: "*I2NSF: Interface to Network Security Functions mailing list*" <i2nsf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/i2nsf>, <mailto:i2nsf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/i2nsf/>
List-Post: <mailto:i2nsf@ietf.org>
List-Help: <mailto:i2nsf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/i2nsf>, <mailto:i2nsf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 01 Jun 2022 13:14:32 -0000

Hi Jon,
Thanks for these two corrections about the YANG language pattern match
below.

We authors will reflect your comments on the following two I2NSF drafts
under RFC Ed Queue, and
submit the revisions:
https://datatracker.ietf.org/doc/html/draft-ietf-i2nsf-nsf-monitoring-data-model-19
https://datatracker.ietf.org/doc/html/draft-ietf-i2nsf-nsf-facing-interface-dm-28

Thanks.

Best Regards,
Paul



On Wed, Jun 1, 2022 at 9:49 PM <supjps-ietf@jpshallow.com> wrote:

> Hi there,
>
>
>
> I appreciate that this may be a bit late in the day, but I have found a
> couple of issues with the YANG language pattern match when doing a check
> against draft-ietf-dots-telemetry-25.txt, currently in AUTH48.  What I have
> reported against that draft is:-
>
>
>
> During testing of the horrendous pattern provided for pattern matching
>
> against description-lang, I have found an alternate branch error which
> needs
>
> correcting.
>
>
>
> OLD:
>
>          leaf description-lang {
>
>            type string {
>
>              pattern '(([A-Za-z]{2,3}(-[A-Za-z]{3}(-[A-Za-z]{3})'
>
>                    + '{0,2})?|[A-Za-z]{4}|[A-Za-z]{5,8})(-[A-Za-z]{4})?'
>
> NEW:
>
>          leaf description-lang {
>
>            type string {
>
>              pattern '((([A-Za-z]{2,3}(-[A-Za-z]{3}(-[A-Za-z]{3})'
>
>                    + '{0,2})?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-[A-Za-z]{4})?'
>
>
>
> I.e, additional () around A-Za-z]{2,3}(-[A-Za-z]{3}(-[A-Za-z]{3})'
>
>                    + '{0,2})?
>
>
>
> Reasoning - RFC5646 2.1
>
> language      = 2*3ALPHA            ; shortest ISO 639 code
>
>                  ["-" extlang]       ; sometimes followed by
>
>                                      ; extended language subtags
>
>                / 4ALPHA              ; or reserved for future use
>
>                / 5*8ALPHA            ; or registered language subtag
>
>
>
> The additional () contain the 2*3ALPHA ["-" extlang] as a branch
> alternative
>
> to 4*ALPHA or 5*ALPHA.
>
>
>
> There also is an unneeded character range, namely
>
>
>
> OLD:
>
>                  + '|([0-9][A-Za-z0-9]{3})))*(-[0-9A-WY-Za-wy-z]'
>
> NEW:
>
>                  + '|([0-9][A-Za-z0-9]{3})))*(-[0-9A-WYZa-wyz]'
>
>
>
> As y is alphabetically adjacent to z ([0-9A-WYZa-wyz] is the singleton
>
> definition).
>
>
>
> Regards
>
>
>
> Jon
> _______________________________________________
> I2nsf mailing list
> I2nsf@ietf.org
> https://www.ietf.org/mailman/listinfo/i2nsf
>