[j-nsp] JunOScript question

Jeje jeje at jeje.org
Mon Jun 16 12:51:08 EDT 2003


--On Friday, June 13, 2003 11:36:08 AM -0400 Phil Shafer <phil at juniper.net> wrote:

> I'm a bit rusty on the perl stuff, but it looks like you just need:
> 
>  $jnx->get_configuration(database => "commited", configuration = $dom);
> 
> where $dom is a dom tree containing "<configuration> <policy-options/> </configuration>".

It worked. Thanks!
 
> (Which is a bit tacky. We should be able to make it just:
> 
>  $jnx->get_configuration(database => "commited", configuration = "<policy-options/>");

That's right, I would prefer this way, much better :)

jeje.


More information about the juniper-nsp mailing list