goal, single API command that matches and set parameters on multiple items
A couple of example commands that I want to work, but don't...
/radius/set
=src-address=1.2.3.4
?service=PPP
/queue/tree/set
=limit-at=1000
=max-limit=10000
?parent=ParentQueue
Any idea how to do this without first doing something like this and getting all the IDs listed:
/radius/print
=.proplist=.id
?service=PPP
then looping through the results and running something that looks like this (non denominational psudo code syntax):
For Each $ID In IDlist
/radius/set
=src-address=1.2.3.4
=.id=$ID
Next
executing one API command to update a group of settings is clearly more efficient than the way shown that I've actually gotten to work, particularly when there may be 50-100 IDs to update on some of the loops that I run through.