[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: On box implementation
"Glenn Waters" writes:
>Phil, does the implementation of XML on the box share the same "method"
>routines as the CLI implementation? Is the XSD used to create the CLI?
The same data that drives the JUNOS UI drives the generation of the
XSD and DTD files. The function that is run when you type 'show
interfaces media' is the same function that is run when you do
the matching rpc:
<rpc>
<get-interface-information>
<media/>
</get-interface-information>
</rpc>
There's a pipe operation called 'display xml' which allows the
user to see the raw xml output in the CLI:
show interfaces media | display xml
>One of the discussion points that comes up frequently is that many SNMP
>implementations are different enough from the CLI implementations that two
>sets of code get written on the box (one for CLI and one for SNMP). When
>considering a move to XML it is important that the vendors can implement
>once and get more than one transport encoding.
Shared infrastructure is always a win, This is similar to folks
that have built their internal infrastructure around SNMP. Any
standard should allow this without requiring it.
Thanks,
Phil
--
to unsubscribe send a message to xmlconf-request@ops.ietf.org with
the word 'unsubscribe' in a single line as the message text body.
archive: <http://ops.ietf.org/lists/xmlconf/>