Junos Automation (Scripting)
Reply
Visitor
ldbndc
Posts: 2
Registered: ‎10-25-2010
0

Simple NAT pool delete event script will not delete NAT pool

I have the following attached event script that will not delete a simple NAT pool.

 

The add script (not attached) adds a pool range just fine, but deletes will not work at all.

 

The script framework works fine on an EX, but on an SRX, deletes seemingly do not work properly.

 

Can anyone locate my mistake, or error,....????

 

event-options {

 generate-event {
     nat-pool-delete time-of-day "12:55:00 +0000";
 }
 policy nat-pool-delete-policy {
     events nat-pool-delete;
     then {
         event-script delete-nat-pool-ip-range.slax;
     }
 }
 event-script {
     file delete-nat-pool-ip-range.slax;
 }

Visitor
ldbndc
Posts: 2
Registered: ‎10-25-2010
0

Re: Simple NAT pool delete event script will not delete NAT pool

I have upgraded to the latest 10.4R1.9 and I still get the same results, the SRC will not delete the NAT pool.

 

Anyone have any ideas?

 

I have setup "traceoptions", and perused a few seemingly revelent logs, but to no avail.

 

Any help would be great ...

 

Thanks ...

Copyright© 1999-2013 Juniper Networks, Inc. All rights reserved.