ltm rule command FIX tag
iRule(1) BIG-IP TMSH Manual iRule(1)
FIX::tag
Defines/deletes the mapping between senderCompID and a tag map data
group.
SYNOPSIS
FIX::tag map set SENDER DATA_GROUP
FIX::tag map delete
FIX::tag get TAG
DESCRIPTION
This command can either retrieve tag value or update the mapping
between senderCompID and a tag map data group. In latter case If a
mapping is already defined in the profile attributes for sender-tag-
map, it is overwritten by the iRule mapping.
Syntax
FIX::tag get
* Retrieves the value of the given tag. If the tag doesn't exist, an
empty string is returned.
* It is valid under FIX_MESSAGE event.
FIX::tag map set
* The set subcommand defines a tag mapping data group for a client
identified by SenderCompID, tag 49. It returns 0 if successful, non
zero otherwise.
* It is valid in any event.
FIX::tag map delete
* The delete subcommand deletes the mappings for all clients. It
returns 0 if successful, non zero otherwise.
* It is valid in any event.
RETURN VALUE
VALID DURING
FIX_MESSAGE
EXAMPLES
when RULE_INIT {
# with the follow command, tag 10001 is replaced to 20001 for the messages sent by client_1
# before sending to pool member and reverse-replaced(20001 to 10001) to client_1
FIX::tag map set client_1 data_group_1
FIX::tag map set client_2 data_group_1
FIX::tag map set client_3 data_group_2
}
### Supporting DataGroup ###
FIX_tag_map_1 {
{
10001 {"20001"}
10002 {"20002"}
10003 {"20003"}
}
}
FIX_tag_map_2 {
{
30001 {"20001"}
30002 {"20002"}
30003 {"20003"}
}
}
HINTS
SEE ALSO
CHANGE LOG
@BIGIP-11.5.0 --First introduced the command.
BIG-IP 2017-01-31 iRule(1)