Re: [netmod] I-D Action: draft-chopps-netmod-geo-location-00.txt

William Lupton <wlupton@broadband-forum.org> Mon, 04 March 2019 21:32 UTC

Return-Path: <wlupton@broadband-forum.org>
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 1F14912D4E7 for <netmod@ietfa.amsl.com>; Mon, 4 Mar 2019 13:32:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=broadband-forum-org.20150623.gappssmtp.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 L2UFLE8I8q88 for <netmod@ietfa.amsl.com>; Mon, 4 Mar 2019 13:31:59 -0800 (PST)
Received: from mail-io1-xd2f.google.com (mail-io1-xd2f.google.com [IPv6:2607:f8b0:4864:20::d2f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CD19512008A for <netmod@ietf.org>; Mon, 4 Mar 2019 13:31:58 -0800 (PST)
Received: by mail-io1-xd2f.google.com with SMTP id y13so5189537iop.11 for <netmod@ietf.org>; Mon, 04 Mar 2019 13:31:58 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadband-forum-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=rr/METY0lQkR88lMGg4VUJj0BUztFsUTvcQdwXwG/Kc=; b=VS+e5LB0VLr21d7yAfTF6iq+Dun+S4oJWDUyZIvpN/Syjg1x1S5A0n9bCyefvMtzIg Ld7ijSPWR4SlfKwY/C+AJDreYjJm4uc26sFA3nBQYZZyF1SpIKOTHzdiEs64tjWUGHeE /kqe9F7pbcxpiDh1z8ym4D5LDS0XJIi587joX2TtrAWFiMWqUOliUS5jrO9RgW5S1Z+M BCZyY4mEEdbZjlvYWeATfJeq61CtGA71ILPrfFCkobLOyL0JQ104nCpq+hT+5aDsNNSG WHgzud5X+uW+Gvfz0331LvSczmkutmFVitJNKXLR20bRqfR86ws3OwHXAc9RxZl17P7J 514g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=rr/METY0lQkR88lMGg4VUJj0BUztFsUTvcQdwXwG/Kc=; b=g6GK4L7qBZgvPyURBpQqdHNciWjyscSjZZ0cWLcwE+MishED0KSEZBBH8Jnk10KjLv b28EzA0jAuDk7AW4jtNJj6kHRDyn2MIIyiQFLMhNr9DEQUCZfYA0iKSStghgyyJnwVJq 0R1DSxxAenxeurXHMk/Zy3qoueuLVm6ms2eJAuRgIOb3bP6MZuISsuzQ5+3mRE51t6N6 /YvoS5rMzMWOU4tn6Xwaeig5KPMtS9wMW7Y99Qf5qGi8Rot75xGHQnihfxh5U4p3MSm/ Md7QFy+T+5Q/wd1Oe47OiY9PnWH3txWyexiCAcLeRt3jEcs1wYHrLVsswhmQsUDnGyeJ eu9Q==
X-Gm-Message-State: APjAAAXAID6OopPzQiBg8L4mAWvMZxHaGsUmetbzzHmihocfwDkr6JBI UMeXHJ1tNzz51nM2NQnuUMx7W8qdf9odTJuNdACM2Q==
X-Google-Smtp-Source: APXvYqzZEZ21MsZ9XW1fIyLCfTDxvLhUrvP9wuwDIDxElK8L+8x3Dwp2m6lFwIsj0sF7jPlYG6ExyaMJNZ66PQvM2+g=
X-Received: by 2002:a5d:9a98:: with SMTP id c24mr11427076iom.212.1551735117896; Mon, 04 Mar 2019 13:31:57 -0800 (PST)
MIME-Version: 1.0
References: <155121476305.848.1143308532121819978@ietfa.amsl.com> <51C97F98-F877-49D4-9250-5213A31B442D@chopps.org> <20190304.105940.312797647046250578.mbj@tail-f.com> <sa67ede1jef.fsf@chopps.org>
In-Reply-To: <sa67ede1jef.fsf@chopps.org>
From: William Lupton <wlupton@broadband-forum.org>
Date: Mon, 04 Mar 2019 21:31:46 +0000
Message-ID: <CAEe_xxi4QeGbwQxXQFJE7EB9Cz1ee2ZhRLY9FOaNd3opw9M=Jw@mail.gmail.com>
To: Christian Hopps <chopps@chopps.org>
Cc: Martin Bjorklund <mbj@tail-f.com>, netmod@ietf.org
Content-Type: multipart/alternative; boundary="0000000000007cf55405834b7c46"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/i-7aVJna6-GHANyEuW_P_lSjDw8>
Subject: Re: [netmod] I-D Action: draft-chopps-netmod-geo-location-00.txt
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: Mon, 04 Mar 2019 21:32:02 -0000

> The intent was "ascii-printable". Would be nice if there was an easier
way to specify this. :)

Printable ASCII characters are ' ' (space) through '~' (tilde) so naively [
-~] should work ... but perhaps that makes unacceptable assumptions about
the locale and/or character encoding? (Certainly it should be OK if we can
assume UTF-8, because all printable ASCII characters retain their ASCII
representations in UTF-8.)

On Mon, 4 Mar 2019 at 20:20, Christian Hopps <chopps@chopps.org> wrote:

>
> Martin Bjorklund <mbj@tail-f.com> writes:
>
> > Hi,
> >
> > Just some quick comments on the YANG:
> >
> > However, it seems libxml2's regexp engine requires both "[" and "^" to
> > be escaped:
> >
> >         '[-0-9a-z "#\[\]' +
> >         '!$%&()*+,./:;<=>?@\\\^_`{|}~]+';
> >
> > This expression isn't wrong, but it seems to me that these characters
> > should not have to be escaped.
> >
> > The pattern allows double quote (") but not single quote (').  Is
> > that intentional?
>
> The intent was "ascii-printable". Would be nice if there was an easier way
> to specify this. :)
>
> > [a simple way to test the patterns is to have a "default" statement
> > and a YANG complier that verifies defaults]
>
> Does pyang do this?
>
> > I recommend that you rename the example module in section to
> > "example-uses-geo-location" (and change the namespace to
> > urn:example:uses-geo-location).   We should not use the "ietf"
> > namespace for examples.
>
> Will do.
>
> Thanks,
> Chris.
>
> > /martin
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
>