[j-nsp] JUNOScript parse failures
hayter
hayter@usc.edu
Thu, 26 Sep 2002 15:23:45 -0700
anybody seen anything like this recently?
$ perl load_configuration.pl -m ssh test.xml rtr43
login: hayter
password:
Locking configuration database ...
Something bad has happened - XML got garbled.
Here's what it did not like:
lter ICT-anti-spoof term 1]</output>
</rpc-reply>
The error was:
Parse failure at /home/sol-00/hayter/junoscript-perl-5.4R1.4/blib/lib/JUNOS/Device.pm line 429.
when the configuration can't be locked because of uncommitted changes?
hayter@rtr43> configure
Entering configuration mode
Users currently editing the configuration:
mariog terminal p0 (pid 10767) on since 2002-09-26 14:40:58 PDT, idle 00:23:15
[edit firewall filter ICT-anti-spoof term 1]
The configuration has been changed but not committed
[edit]
hayter@rtr43# exit
i had hoped their example scripts would work! seems it should at least
fail gracefully.
----
Carl Hayter
ISD - Data Network Operations
University of Southern California