Pan Configurator service-edit.php

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

Pan Configurator service-edit.php

L4 Transporter

With Pan Configurator  service-edit.php if I want to delete unused objects is it possible to set a count limit? For exampel I dont want to do all 500 at one time unt say 100 at a time. Look to see if there is a string   like "maxcount' to end comman below.

 

" php address-edit.php  in=2473.xml out=/dev/null actions=delete 'filter=( object is.unused)' 

1 accepted solution

Accepted Solutions

if you like to do a demo then save your changes in another "offline" file and show this.

There is no need to do a demo on a production system.

 

 

1) pa_address-edit in=[INPUT.txt] out=[OUTPUT.txt] actions=delete 'filter=(object is.unused)'

 

2) pa_address-edit in=[OUTPUT.txt] out=/dev/null actions=display 'filter=(object is.unused)'

[output can be empty or as mentioned above you must run " actions=delete 'filter=(object is.unused)' " twice or more often - depending on the configuration file]

View solution in original post

3 REPLIES 3

L3 Networker

there is right now no flag/counter available.

 

 

Please also remind the following:

If an addressgroup object is unused and deleted with this script, there could be still address objects available which must be deleted with a second run of the same command.

 

What is the need behind your request?

 

 

BTW: address-edit.php and service-edit.php are very similiar

Just doing some unused object cleanup as as a start I was looking to just doa handful of deletes just as  a POC to leadership team as a demo bit if all or nothing thats fine as well.  Was just wondering if feature was a avail. For example service-merger.php has a "mergecountlimit" paramter and was wondering id service-edit had similiar

if you like to do a demo then save your changes in another "offline" file and show this.

There is no need to do a demo on a production system.

 

 

1) pa_address-edit in=[INPUT.txt] out=[OUTPUT.txt] actions=delete 'filter=(object is.unused)'

 

2) pa_address-edit in=[OUTPUT.txt] out=/dev/null actions=display 'filter=(object is.unused)'

[output can be empty or as mentioned above you must run " actions=delete 'filter=(object is.unused)' " twice or more often - depending on the configuration file]

  • 1 accepted solution
  • 3336 Views
  • 3 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!