ltm rule command ILX init
iRule(1) BIG-IP TMSH Manual iRule(1)
ILX::init
Creates a handle to a running ILX plugin extension.
SYNOPSIS
ILX::init (EXTENSION | (PLUGIN EXTENSION))
DESCRIPTION
Creates a handle for future use by ILX::call and ILX::notify. This
handle is a reference to a running ILX plugin extension. The lifetime
of this variable affects the behavior of the ILX target if controlled
by BIG-IP. Instances of the plugin extension will be held in draining
mode as long as there are open references to the ILX handle in any
event.
RETURN VALUE
Returns a handle to the running extension to call into.
VALID DURING
ANY_EVENT
EXAMPLES
when CLIENT_ACCEPTED {
# Get a handle to the running extension instance to call into.
set RPC_HANDLE [ILX::init my_plugin my_extension]
# Make the call and store the response in $rpc_response
set rpc_response [ILX::call $RPC_HANDLE my_js_function arg1 arg2]
}
HINTS
SEE ALSO
CHANGE LOG
@BIGIP-12.0.0 --First introduced the command.
BIG-IP 2017-01-31 iRule(1)