cancel
Showing results for 
Search instead for 
Did you mean: 

traffic script rules

SOLVED
pro34log
Occasional Contributor

traffic script rules

Is it possible for a traffic script rule to make a call to a service that provides back formatted XML and parse the string for information? Or is there a way to make cli calls to change active nodes in a pool.

1 ACCEPTED SOLUTION

Accepted Solutions
aclarke
Frequent Contributor

Re: traffic script rules

as Jochen stated, http.request() can be used, and the response, if XML can be parsed with the xml.xpath.matchNodeCount() and xml.xpath.matchNodeSet() traffic script commands...

--
Aidan Clarke
Pulse Secure vADC Product Manager

View solution in original post

2 REPLIES 2
jochenmaurer
Contributor

Re: traffic script rules

http.request can fire a outgoing request

you can also use the cli from trafficscript, but i would rather create s.th. like a "avoid node" part in trafficscript.

what do you want to achieve?

aclarke
Frequent Contributor

Re: traffic script rules

as Jochen stated, http.request() can be used, and the response, if XML can be parsed with the xml.xpath.matchNodeCount() and xml.xpath.matchNodeSet() traffic script commands...

--
Aidan Clarke
Pulse Secure vADC Product Manager