Re: [NGO] NETCONF Data types

Ladislav Lhotka <lhotka@cesnet.cz> Wed, 05 December 2007 18:46 UTC

Return-path: <ngo-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1IzzGo-00087d-6t; Wed, 05 Dec 2007 13:46:54 -0500
Received: from ngo by megatron.ietf.org with local (Exim 4.43) id 1IzzGm-00087J-Uk for ngo-confirm+ok@megatron.ietf.org; Wed, 05 Dec 2007 13:46:52 -0500
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1IzzGm-000877-KK for ngo@ietf.org; Wed, 05 Dec 2007 13:46:52 -0500
Received: from office2.cesnet.cz ([195.113.144.244]) by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IzzGm-00027i-73 for ngo@ietf.org; Wed, 05 Dec 2007 13:46:52 -0500
Received: from [198.18.175.153] (unknown [207.236.117.226]) by office2.cesnet.cz (Postfix) with ESMTP id 72309D80098; Wed, 5 Dec 2007 19:46:50 +0100 (CET)
Subject: Re: [NGO] NETCONF Data types
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: Andy Bierman <ietf@andybierman.com>
In-Reply-To: <4756EA8B.7010006@andybierman.com>
References: <713043CE8B8E1348AF3C546DBE02C1B412218939@zcarhxm2.corp.nortel.com> <475661FF.7030502@ericsson.com> <713043CE8B8E1348AF3C546DBE02C1B41226FBCD@zcarhxm2.corp.nortel.com> <4756EA8B.7010006@andybierman.com>
Content-Type: text/plain; charset="utf-8"
Organization: CESNET
Date: Wed, 05 Dec 2007 10:46:48 -0800
Message-Id: <1196880409.5770.61.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.12.1
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Scan-Signature: e1e48a527f609d1be2bc8d8a70eb76cb
Cc: ngo@ietf.org
X-BeenThere: ngo@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: NETCONF Goes On - discussions on future work and extensions to NETCONF <ngo.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ngo>, <mailto:ngo-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/ngo>
List-Post: <mailto:ngo@ietf.org>
List-Help: <mailto:ngo-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ngo>, <mailto:ngo-request@ietf.org?subject=subscribe>
Errors-To: ngo-bounces@ietf.org

Andy Bierman píše v St 05. 12. 2007 v 10:14 -0800:
> Sharon Chisholm wrote:
> > Hi
> >
> > But just because they are used in programming, doesn't mean we need to
> > distinguish them in the XSD. I'm going to check with some of my apps
> > people to see whether they would find this distinction useful or if a
> > single integer which could be as large as 64 bit is fine at this later
> > point in time. But I was more specifically worried about counter versus
> > gauge versus integer versus unsigned integer versus. Historically these
> > turned into CLRs.
> >   
> 
> I totally disagree.
> I remember several times, NMS programmers at Cisco
> asking for int8, int16, uint8, uint16.  It is very useful
> to have these 'extra' types.

Moreover, if I remember correctly, they are already available via the
W3C XML Schema Type Library in both XSD and RELAX NG, though under
different names - unsignedByte, unsignedShort, unsignedInt and
unsignedLong, so I think there is nothing to argue about here.

> 
> I also think it has been very useful to distinguish between
> gauges, counters, and simple numbers in SMIv2.

I do have some reservations here and prefer keeping types without
semantics at the general level.

Lada

-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C



_______________________________________________
NGO mailing list
NGO@ietf.org
https://www1.ietf.org/mailman/listinfo/ngo