[j-nsp] XML & JUNOS

From: Mourad BERKANE (mourad.berkane@lambdanet.fr)
Date: Fri Jun 21 2002 - 06:08:15 EDT


Is anybody already experimented JUNOS XML Script ?
I'm interested by client/server (juniper router) scripts wich allow me to
get a real time output of a TRACEROUTE command.

As described on JUNOScript 5.x API Guide , JUNOScript server could be done
as follow :

JUNIPER> traceroute www.yahoo.com | display xml

<rpc-reply xmlns:junos="http://xml.juniper.net/junos/5.XXX/dtd/junos.dtd">
<run-command>
<command>
/usr/sbin/traceroute
</command>
<argument>
www.yahoo.com
</argument>
</run-command>
</rpc-reply>

Client Application to be completed starts as :

<rpc>

// to be completed
        
</rpc>

Any good pointer is welcome .

Thanks & Best Regards,
Mourad



This archive was generated by hypermail 2b29 : Mon Aug 05 2002 - 10:42:36 EDT