Re: [j-nsp] XML & JUNOS

From: hayter (hayter@usc.edu)
Date: Fri Jun 21 2002 - 14:57:21 EDT


i've been wondering the same. google searches on JunoScript turn up
pretty much nothing of interest. i had a couple of problems with
Juniper's example code (get_config load_configuration) and trying
to use RSA authentication. i've found some workarounds to get it
working and now have a simple deny-the-bad-guy type of script/db/app
to manage a policy-options prefix-list used in a filter.

is there a JunoScript web site out there anywhere?? should i start one
or is it just Mourad and i?

on a side note, heard a story yesterday about somebody somewhere having
30k rate-limit entries in a configuration. yep, a seperate configurable
limit for each individual ip in use. cool.

----
Carl Hayter
ISD - Data Network Operations
University of Southern California

On Fri, Jun 21, 2002 at 12:08:15PM +0200, Mourad BERKANE wrote: > > 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