MR::flow_id

Description

This iRule command returns a unique identifier for the current connection. This identifier can be used to generate the lasthop and nexthop of a message.
Returns the 64 bit Connection Flow ID for the current connection (in hex).

Syntax

MR::flow_id

Examples

when MR_INGRESS {
    set orig_flowid [MR::flow_id]
    MR::store orig_flowid
}
when MR_EGRESS {
    MR::restore orig_flowid
    log local0. "message from $orig_flowid to [MR::flow_id]"
}