cancel
Showing results for 
Search instead for 
Did you mean: 
Login & Join the DevCentral Connects Group to watch the Recorded LiveStream (May 12) on Basic iControl Security - show notes included.
cwkim_261931
Nimbostratus
Nimbostratus

Problem this snippet solves:

Hello~

I created iCall and generate event for working iCall's script. But.... It is not working.

list sys icall script change_iRule2 sys icall script change_iRule2 {

app-service none
definition {
    tmsh::modify ltm virtual v_198.100__443 rules { vip_snatpool }
    tmsh::modify ltm virtual v_198.101__443 rules { vip_snatpool }
}
description none
events none

}

list sys icall handler triggered change_iRule2{

script change_iRule2
subscriptions {
    change_iRule2 {
        event-name change_iRule2
    }
}

}

I gernerated event

  • generate sys icall event change_iRule2

And I checked bellow status......

  • Sys::iCall::Event Triggered Handler: change_iRule2

  • Events matching filters 11

  • Events causing handler to run 11

  • Creation time 01/24/17 16:38:35

  • Current status active

  • Time since last status change 01/24/17 16:38:35

But, Configuration(virtual server's iRule) is not change....

Plz help me. T..T

Code :

sys icall script change_iRule2 {
    app-service none
    definition {
        tmsh::modify ltm virtual v_198.100__443 rules { vip_snatpool }
        tmsh::modify ltm virtual v_198.101__443 rules { vip_snatpool }
    }
    description none
    events none
}

create sys icall handler triggered change_iRule2 script change_iRule2 subscriptions add { change_iRule2 { event-name change_iRule2 } }
Version history
Last update:
‎24-Jan-2017 00:33
Updated by:
Contributors