[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: negotiating XML (long)

  • From: "Subodh Nijsure" <subodh@b...>
  • To: "Simon St.Laurent" <simonstl@s...>
  • Date: Thu, 6 Jul 2000 20:30:51 -0700

xml router configuration

> I'm not sure that MEGAPARSER is a huge problem for larger applications,
> cases where network dependencies must be minimized, processing kept simple
> (think embedded systems), or reliable transfers guaranteed all seem like
> they might be common beneficiaries of such an infrastructure.

Indeed are there small enough parsers that are suitable for embedded

I am trying to design a new router/switch where we are thinking of creating
router configuration based on XML rather than usual text files.



Anybody out here using XML to describe router/switch configurations?

Problem domain -- Most routers/switches have their own little configuration
and every vendor typically comes up with their own syntax to describe how an
ethernet interface address is to be configured. I am wondering if anybody
there has designed system where router/switch was using configuration files
written in XML to configure these types of devices? Anybody done XML parser
and generator in embedded device?

Example say we have "box" that has two ethernet devices and it can have
IP address, subnet mask and MTU as its parameters.

I could write XML file like --

<interface name="Interface1">
  <IPAddress  value=""/>
  <SubNetMask value=""/>
  <MTU value="1500"/>
<interface name="Interface2">
  <IPAddress  value=""/>
  <SubNetMask value=""/>
  <MTU value="1500"/>

And DTD file as

<!ELEMENT configuration-file (Interface+)>

<!ELEMENT Interface(IPAddress, SubNetMask, MTU)>
<!ATTLIST Interface
        name    CDATA    #REQUIRED

        value   CDATA    #REQUIRED

        value   CDATA    #REQUIRED
        value   CDATA    #REQUIRED

Advantage of this approach is I can use Java application to parse XML files
have gui
modify that IP address, when user hits enter, generate new XML doc and send
it to
the router/switch... Now if third parties want to configure/provision this
router/switch all they
have to do is read DTD....

For folks who have been doing XML for long time is this type of application
you would
recommend using XML for?


This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.

Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.