Re: [NGO] NETCONF Data types

Andy Bierman <ietf@andybierman.com> Wed, 05 December 2007 18:16 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 1Izyn3-00025t-UV; Wed, 05 Dec 2007 13:16:09 -0500
Received: from ngo by megatron.ietf.org with local (Exim 4.43) id 1Izyn3-00025P-3C for ngo-confirm+ok@megatron.ietf.org; Wed, 05 Dec 2007 13:16:09 -0500
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1Izyn2-00024u-Kt for ngo@ietf.org; Wed, 05 Dec 2007 13:16:08 -0500
Received: from smtp119.sbc.mail.sp1.yahoo.com ([69.147.64.92]) by chiedprmail1.ietf.org with smtp (Exim 4.43) id 1Izyn2-0007yN-3B for ngo@ietf.org; Wed, 05 Dec 2007 13:16:08 -0500
Received: (qmail 85848 invoked from network); 5 Dec 2007 18:16:07 -0000
Received: from unknown (HELO dhcp-16b6.ietf70.org) (andybierman@att.net@130.129.22.182 with plain) by smtp119.sbc.mail.sp1.yahoo.com with SMTP; 5 Dec 2007 18:16:07 -0000
X-YMail-OSG: NaJFgzYVM1kM1sFAmasGwzwMa95Mc19LyzPNv1uRc2vMyHXQRv1b.3zOMOPNVXQ4DvDxabMYvafTSsftBm8cYYiG
Message-ID: <4756EA8B.7010006@andybierman.com>
Date: Wed, 05 Dec 2007 10:14:35 -0800
From: Andy Bierman <ietf@andybierman.com>
User-Agent: Thunderbird 2.0.0.9 (X11/20071031)
MIME-Version: 1.0
To: Sharon Chisholm <schishol@nortel.com>
Subject: Re: [NGO] NETCONF Data types
References: <713043CE8B8E1348AF3C546DBE02C1B412218939@zcarhxm2.corp.nortel.com> <475661FF.7030502@ericsson.com> <713043CE8B8E1348AF3C546DBE02C1B41226FBCD@zcarhxm2.corp.nortel.com>
In-Reply-To: <713043CE8B8E1348AF3C546DBE02C1B41226FBCD@zcarhxm2.corp.nortel.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Scan-Signature: d185fa790257f526fedfd5d01ed9c976
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

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.

I also think it has been very useful to distinguish between
gauges, counters, and simple numbers in SMIv2.
If one followed your logic to the end, we would only
have 'string', since that is the only 'real' content in an
XML simpleType.


> An advantage here if we don't limit the length of our integers, we won't
> need to rewrite our Schema when we need 128bit integers ;-)
>
>   

We can add them later if and when somebody has a compelling use case.

> Sharon 
>   

Andy

> -----Original Message-----
> From: Balazs Lengyel [mailto:balazs.lengyel@ericsson.com] 
> Sent: Wednesday, December 05, 2007 3:32 AM
> To: Chisholm, Sharon (CAR:ZZ00)
> Cc: ngo@ietf.org
> Subject: Re: [NGO] NETCONF Data types
>
> Hello Sharon,
> The uint32, int64 etc. integer types are not a left-overs from SMI. They
> are the integer types that people normally use in programing. Names like
> uint16, int32 are better then short or long. They tell you exactly what
> you deal with. I see this as an improvement over the XSD types.
> Balazs
>
> Sharon Chisholm wrote:
>   
>> Hi
>>
>> One of the things that people seemed to agree on early in the NETCONF 
>> content discussion was that SNMP & SMI defined too many similar data 
>> types and we didn't want to do that in NETCONF. Do people still agree 
>> that we don't want 30 flavours of integers defined? I prefer focusing 
>> our efforts on defining higher level data types.
>>
>> Sharon Chisholm
>> Nortel
>> Ottawa, Ontario
>> Canada
>>
>>
>> _______________________________________________
>> NGO mailing list
>> NGO@ietf.org
>> https://www1.ietf.org/mailman/listinfo/ngo
>>     
>
>
> _______________________________________________
> NGO mailing list
> NGO@ietf.org
> https://www1.ietf.org/mailman/listinfo/ngo
>
>
>   



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