RE: [NGO] NETCONF Data types

"Sharon Chisholm" <schishol@nortel.com> Wed, 05 December 2007 02:30 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 1Izk1k-0005ha-Cx; Tue, 04 Dec 2007 21:30:20 -0500
Received: from ngo by megatron.ietf.org with local (Exim 4.43) id 1Izk1j-0005gS-Gp for ngo-confirm+ok@megatron.ietf.org; Tue, 04 Dec 2007 21:30:19 -0500
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1Izk1i-0005es-V4 for ngo@ietf.org; Tue, 04 Dec 2007 21:30:19 -0500
Received: from zrtps0kp.nortel.com ([47.140.192.56]) by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1Izk1i-0004CM-E0 for ngo@ietf.org; Tue, 04 Dec 2007 21:30:18 -0500
Received: from zcarhxm2.corp.nortel.com (zcarhxm2.corp.nortel.com [47.129.230.99]) by zrtps0kp.nortel.com (Switch-2.2.6/Switch-2.2.0) with ESMTP id lB52UF806390; Wed, 5 Dec 2007 02:30:15 GMT
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [NGO] NETCONF Data types
Date: Tue, 04 Dec 2007 21:29:56 -0500
Message-ID: <713043CE8B8E1348AF3C546DBE02C1B4122189D8@zcarhxm2.corp.nortel.com>
In-Reply-To: <475608BB.9090602@andybierman.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [NGO] NETCONF Data types
Thread-Index: Acg25FEws6RNpGcqS0C99lB8X+tnBgAAaYcw
References: <713043CE8B8E1348AF3C546DBE02C1B412218939@zcarhxm2.corp.nortel.com> <20071205011542.GA21999@elstar.local> <475608BB.9090602@andybierman.com>
From: Sharon Chisholm <schishol@nortel.com>
To: Andy Bierman <ietf@andybierman.com>, j.schoenwaelder@jacobs-university.de
X-Spam-Score: 0.0 (/)
X-Scan-Signature: b280b4db656c3ca28dd62e5e0b03daa8
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

Hi

It would be helpful if someone could generate some XML Schema describing
the data types that the yang proposal suggests. Then we can come to some
sort of agreement on those independent of the choice of data modelling
language.

My sense that you guys are might be proposing defining the type of data
types I was specifically hoping to avoid in NETCONF. Seeing the XML
Schema definition will allow me and others to get a better sense of what
the actual XML would look like.

Note that I don't think this is the same discussion as the one going on
in the operations and management working group. This is strictly about
getting the best possible content for NETCONF.

Thanks,

Sharon 

-----Original Message-----
From: Andy Bierman [mailto:ietf@andybierman.com] 
Sent: Tuesday, December 04, 2007 9:11 PM
To: j.schoenwaelder@jacobs-university.de
Cc: Chisholm, Sharon (CAR:ZZ00); ngo@ietf.org
Subject: Re: [NGO] NETCONF Data types

Juergen Schoenwaelder wrote:
> On Tue, Dec 04, 2007 at 07:33:55PM -0500, Sharon Chisholm wrote:
>  
>   
>> 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?
>>     
>
> In SMI land, we defined many types in an attempt to express 
> relationships which are otherwise not expressable. The reason we have 
> things such as InterfaceIndex and InterfaceIndexOrZero is that we 
> wanted to capture 'hey this number here actually identifies an 
> interface'. With a different data modeling language, you might not 
> need to do this anymore via the type system since you might have other

> mechanisms to express the information that a value is actually 
> identifying an interface.
>
> <soap>
>   This is actually an nice example demonstrating that the features of
>   a data modeling language will influence the way other features of a
>   language are used. The INET-ADDRESS-MIB is another example demoing
>   how we had to hack around the lack of unions in the SMI. You can of
>   course convert all this stuff algorithmically to XSD; whether the
>   result is useful in other contexts (say for NETCONF configuration)
>   needs to be considered.
> </soap>
>
> That said, I take most of the blame for the collection of data types 
> in the YANG modules contained in the YANG draft. I tries to create a 
> core collection of reusable types, but I am sure the result is 
> somewhat biased and I might have simply overlooked something. I like 
> to encourage people to take a look at the defined types in the YANG 
> document and if you think something is wrong, missing, or should not 
> be there, please drop a note so we can work things out.
>
>   

I like the data types in YANG.
There needs to be a clear distinction between builtin types and derived
types.  IMO, the list of builtin numeric data types is fine the way it
is.  The collection of 'extra' derived types is debatable and will
probably grow over time.


> /js
>
>   

Andy



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