F5 to ACE Migratation [irule query]

I have converted Cisco ACE context config to F5 and configured F5 accordingly; but unable to configure irule.The converted config for irule is given below;

pre-was & pre-was-th are the pools present.

ltm rule pre-was { when HTTP_REQUEST { switch -glob [HTTP::uri] { {

pool pre-was-th

Please suggest.

What is the ACE config the iRule is trying to convert, can you post it?

Below is the config:-

policy-map multi-match vlan2874 class pre-was loadbalance vip inservice loadbalance policy pre-was loadbalance vip icmp-reply ! policy-map type loadbalance first-match pre-was class testnet-c-class serverfarm pre-was-th class class-default serverfarm pre-was ! serverfarm host pre-was-th rserver PPREPRX3_x.x.x.x inservice rserver PPREPRX4_x.x.x.x ! serverfarm host pre-was predictor hash address source 255.255.255.255 probe pre-idp rserver PPREPRX3_x.x.x.x rserver PPREPRX4_x.x.x.x inservice

policy-map type loadbalance first-match pre-was class testnet-c-class serverfarm pre-was-th class class-default serverfarm pre-was Please find the ace config.

Please show the output of http class-map testnet-c-class. Without it, an iRule cannot be written to address your traffic path.