Re: [I2nsf] draft-ietf-i2nsf-nsf-monitoring-data-model
"Mr. Jaehoon Paul Jeong" <jaehoon.paul@gmail.com> Wed, 01 June 2022 13:48 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 6900FC14CF0E; Wed, 1 Jun 2022 06:48:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.094
X-Spam-Level:
X-Spam-Status: No, score=-7.094 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, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, 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, 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 (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 6AqoNYe0EE_1; Wed, 1 Jun 2022 06:48:12 -0700 (PDT)
Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) (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 28EA1C14CF09; Wed, 1 Jun 2022 06:47:25 -0700 (PDT)
Received: by mail-ej1-x636.google.com with SMTP id q21so3923890ejm.1; Wed, 01 Jun 2022 06:47:25 -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=q6fJHet8E8MtXicMEw502BeiSFy5/aCO8uKqs08H6WU=; b=LNWOx02fG3RwUOvtsZKo7dMsF4bbM/SV7HH0mmM6BBmhnvENp5HBOndQfeAbjIb65u BHrM60thFUHgg9501xmmvp6Z02bFraVB5GJREqpaqQQY9e18zbfv9iC9URQsswqXaySG cjggJIEMLQkrEQ8mvnVcAAB9desV3K6ad6v38DWqEFsUcjyRkiNRIPMw9+/JD/sdUbkq Om8GqkIRurpTpVVJe86KY2YQGei3741yExZFap2iCLkC8SHkLwro14YOAiu4Ii9xbI1h rRGwxSre0Gm2e41JTQM/byZzhnSsNjZGMSkFtccZUMzzCGLmo4WVyI69E/hlI6yF6psn M5UQ==
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=q6fJHet8E8MtXicMEw502BeiSFy5/aCO8uKqs08H6WU=; b=gcWUbZrXpX0Qo1qfVwhzPZII8s7bZzZkArpstJd1Yska5OxQOzCQj//2mSV02f5iCO wkYcnAPcdUdcN9FIUPrET9hhRUmRr6+6dds/M6IGLvCsbDbfA+AOvrpQFxxM/ZDBBkqs kfj7P1sJKRA3WKsjgQutHboeqhy1bKkDj6820aC6iOGrwTRJMA7AX2hxJ+K2Bb0ePfMJ 4QJpsamRzWwGQ2okugEPF2XHJt7WWmm80ilxPhwcOK6CE/Okt2GH8/j2WKLrHuoFR0EU g6jcej0L0YnIX2C2LllhklMUDYJoRDsr1/pxofoX0mF10SsmbJL6jGKZ2int2uJ9xxW5 46wA==
X-Gm-Message-State: AOAM531CGhYs1i1sgNr4P1xFYIAMg+upd6R0P6k2TGpy5HwVkiQEolZA UldAx+BPZdff8O9cnIC2LbeJNjr7ymQ5FP4wJRY=
X-Google-Smtp-Source: ABdhPJyDJ57INIxGMLhrC3hzmMlyotHIpGpgaLLZAjjc3A2LAXPEbIWK4Wn+Dmi0N+GKaFIX0Mw3i9Jf1rZzJDsJDS8=
X-Received: by 2002:a17:907:2ce2:b0:6ff:30e2:25c3 with SMTP id hz2-20020a1709072ce200b006ff30e225c3mr2023943ejc.494.1654091239995; Wed, 01 Jun 2022 06:47:19 -0700 (PDT)
MIME-Version: 1.0
References: <04bd01d875b2$3e7d7ef0$bb787cd0$@jpshallow.com> <CAPK2DezZfz=FsKAweT=_T21gz1PUur=EG0pNtqGKkNO+pFtQTw@mail.gmail.com> <04fd01d875bb$e6b7a9c0$b426fd40$@jpshallow.com>
In-Reply-To: <04fd01d875bb$e6b7a9c0$b426fd40$@jpshallow.com>
From: "Mr. Jaehoon Paul Jeong" <jaehoon.paul@gmail.com>
Date: Wed, 01 Jun 2022 22:46:43 +0900
Message-ID: <CAPK2Dey-YapF7hde9_furwkBGXBkBdDbJRQCfDacCi1jw0rvRw@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>
Content-Type: multipart/alternative; boundary="000000000000cafa4105e0632002"
Archived-At: <https://mailarchive.ietf.org/arch/msg/i2nsf/ldRlZEul0aKhu3NwWjsEtu54sVg>
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:48:13 -0000
Jon, My co-author Patrick has double-checked your suggested corrections, and he said that your suggested corrections make sense. Roman, We will submit the revisions of the following I2NSF drafts according to Jon's comments: Could you approve the two submissions under RFC Ed Queue later? 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 https://datatracker.ietf.org/doc/html/draft-ietf-i2nsf-consumer-facing-interface-dm-20 Thanks. Best Regards, Paul On Wed, Jun 1, 2022 at 10:31 PM <supjps-ietf@jpshallow.com> wrote: > Hi Paul, > > > > Thanks. It is worth though someone else doing a sanity check on my > proposed corrections! > > > > It is frustrating though that > http://www.w3.org/TR/2004/REC-xmlschema-2-20041028 (as per > https://datatracker.ietf.org/doc/html/rfc7950#section-9.4.5) does not > define how to do match things case insensitively (that I can find) which > would make this pattern much more readable for all of the regular and > irregular branches. > > > > Regards > > > > Jon > > > > *From:* Mr. Jaehoon Paul Jeong [mailto: jaehoon.paul@gmail.com] > *Sent:* 01 June 2022 14:13 > *To:* jon@jpshallow.com > *Cc:* draft-ietf-i2nsf-nsf-monitoring-data-model@ietf.org; > i2nsf-chairs@ietf.org; i2nsf@ietf.org; Patrick Lingga; Mr. Jaehoon Paul > Jeong > *Subject:* Re: [I2nsf] draft-ietf-i2nsf-nsf-monitoring-data-model > > > > 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 > >
- [I2nsf] draft-ietf-i2nsf-nsf-monitoring-data-model supjps-ietf
- Re: [I2nsf] draft-ietf-i2nsf-nsf-monitoring-data-… Mr. Jaehoon Paul Jeong
- Re: [I2nsf] draft-ietf-i2nsf-nsf-monitoring-data-… supjps-ietf
- Re: [I2nsf] draft-ietf-i2nsf-nsf-monitoring-data-… Mr. Jaehoon Paul Jeong