Help with Irules
Hi everybody,
F5 was not my part of job, and our It team stuck on it.
Coudl you please help with the case below:
We have 4 servers configured into theF5 into 2 differents pools.
We use this API:
GET /toolkitapi/getfostatus HTTP/1.0\r\n\r\n
IT team configured this inot F5:
<fostatus>(Master|Slave)</fostatus>
That ran fine until, since RedHat migration servers return another type of response.
Like this:
{"fostatus":"Slave"}
{"fostatus":"Master"}
We stuck with this return due to curled braces.
We've tried sometings like:
{"fostatus":"Master|Slave"}, {"fostatus":"Slave"}{"fostatus":"Master"}, {"fostatus":"Slave"}|{"fostatus":"Master"}, "{\"fostatus\":\"Slave\"}|"{\"fostatus\":\"Master\"}...
Each time, F5 return error and this is impossible for us to put a pattern for Irule.
Could you please, help me/us about the correct pattern to use?
Many thank's by advance,
Regards,
Michaël