L4 DataScript: avi.pool.get_server_ip

Function avi.pool.get_server_ip()
Description Returns the IP address of the server for this request or response.
Events VS_DATASCRIPT_EVT_L4_REQUEST
VS_DATASCRIPT_EVT_L4_RESPONSE
Note: The get_server_ip call in the request could fail if invoked before the LB decision is made.
Parameter None
Returns The server's IP address(string)
Example
ip = avi.pool.get_server_ip()