Re: [NGO] NETCONF Data types
Andy Bierman <ietf@andybierman.com> Wed, 05 December 2007 02:37 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 1Izk92-0004Xr-9d; Tue, 04 Dec 2007 21:37:52 -0500
Received: from ngo by megatron.ietf.org with local (Exim 4.43) id 1Izk90-0004Xb-Hu for ngo-confirm+ok@megatron.ietf.org; Tue, 04 Dec 2007 21:37:50 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1Izk90-0004XP-8A for ngo@ietf.org; Tue, 04 Dec 2007 21:37:50 -0500
Received: from smtp122.sbc.mail.sp1.yahoo.com ([69.147.64.95]) by ietf-mx.ietf.org with smtp (Exim 4.43) id 1Izk8y-0000zm-LA for ngo@ietf.org; Tue, 04 Dec 2007 21:37:50 -0500
Received: (qmail 44601 invoked from network); 5 Dec 2007 02:37:48 -0000
Received: from unknown (HELO dhcp-16b6.ietf70.org) (andybierman@att.net@130.129.22.182 with plain) by smtp122.sbc.mail.sp1.yahoo.com with SMTP; 5 Dec 2007 02:37:47 -0000
X-YMail-OSG: WjDKfQsVM1mzfiRO5OVkyxEcqfANRVT0uQ79HRW.kMpEBB8i
Message-ID: <47560EA2.8080900@andybierman.com>
Date: Tue, 04 Dec 2007 18:36:18 -0800
From: Andy Bierman <ietf@andybierman.com>
User-Agent: Thunderbird 2.0.0.5 (X11/20070716)
MIME-Version: 1.0
To: Sharon Chisholm <schishol@nortel.com>
Subject: Re: [NGO] NETCONF Data types
References: <713043CE8B8E1348AF3C546DBE02C1B412218939@zcarhxm2.corp.nortel.com> <20071205011542.GA21999@elstar.local> <475608BB.9090602@andybierman.com> <713043CE8B8E1348AF3C546DBE02C1B4122189D8@zcarhxm2.corp.nortel.com>
In-Reply-To: <713043CE8B8E1348AF3C546DBE02C1B4122189D8@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: 9a2be21919e71dc6faef12b370c4ecf5
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 > > 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. > I will work on that (for tomorrow) However, my ncxdump program may not agree 100% with pyang (yet). There are lots of fun corner cases, such as range "1 .. 5 | 10 .. 20"; Andy > 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
- [NGO] NETCONF Data types Sharon Chisholm
- Re: [NGO] NETCONF Data types Juergen Schoenwaelder
- Re: [NGO] NETCONF Data types Andy Bierman
- RE: [NGO] NETCONF Data types Sharon Chisholm
- Re: [NGO] NETCONF Data types Andy Bierman
- Re: [NGO] NETCONF Data types Juergen Schoenwaelder
- Re: [NGO] NETCONF Data types Martin Bjorklund
- Re: [NGO] NETCONF Data types Balazs Lengyel
- RE: [NGO] NETCONF Data types Sharon Chisholm
- Re: [NGO] NETCONF Data types Andy Bierman
- RE: [NGO] NETCONF Data types Sharon Chisholm
- Re: [NGO] NETCONF Data types Ladislav Lhotka
- Re: [NGO] NETCONF Data types Martin Bjorklund
- Re: [NGO] NETCONF Data types Andy Bierman
- RE: [NGO] NETCONF Data types David Harrington
- Re: [NGO] NETCONF Data types Ladislav Lhotka
- RE: [NGO] NETCONF Data types Mehmet Ersue
- Re: [NGO] NETCONF Data types Juergen Schoenwaelder
- Re: [NGO] NETCONF Data types tom.petch
- Re: [NGO] NETCONF Data types Juergen Schoenwaelder
- Re: [NGO] NETCONF Data types Andy Bierman
- Re: [NGO] NETCONF Data types Andy Bierman
- RE: [NGO] NETCONF Data types Natale, Bob
- RE: [NGO] NETCONF Data types Sharon Chisholm
- Re: [NGO] NETCONF Data types Juergen Schoenwaelder
- RE: [NGO] NETCONF Data types Sharon Chisholm
- RE: [NGO] NETCONF Data types Ladislav Lhotka
- Re: [NGO] NETCONF Data types Juergen Schoenwaelder
- Re: [NGO] NETCONF Data types Phil Shafer
- RE: [NGO] NETCONF Data types Sharon Chisholm
- Re: [NGO] NETCONF Data types Phil Shafer
- RE: [NGO] NETCONF Data types Sharon Chisholm
- Re: [NGO] NETCONF Data types Juergen Schoenwaelder