L4 DataScript: avi.pool.get_server_info

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