DataScript: avi.vs.ip
DataScript
Function | avi.vs.ip() |
Description | Returns the virtual service IPv4 (or, starting with 18.1.3, IPv6) address which accepted the request or connection. |
Events | HTTP_REQ HTTP_RESP |
Returns | IPv6 address in hexadecimal string format (separated by colons), for instance, 2001:db8::1122:ab12 IPv4 address in octets format (separated by decimals), for instance, 10.1.1.1 |
Example | Insert a header informing the server which VS traffic originated from.
|