ltm rule command AAA acct resultΒΆ

iRule(1)		      BIG-IP TMSH Manual		      iRule(1)



AAA::acct_result
       AAA::acct_result

SYNOPSIS
       AAA::acct_result AAA_REQUEST_ID

DESCRIPTION
       This command is used to check whether the accounting information is
       sent successfully to IVS(internal virtual server) or not.

RETURN VALUE
       There are 4 possible return values for this command (All STRING type):
	   "OK" 	   - the request was successful.
	   "FAIL"	   - the request has been rejected.
	   "INPROGRESS"    - the request is still in progress (asyncronous).
	   "ERROR"	   - there was an error during the request.

VALID DURING
EXAMPLES
	when HTTP_REQUEST_DATA {
	    set aaa_result [AAA::acct_result $request_id]
	    if { $aaa_result == "INPROGRESS"  } {
		after 200
		continue
	    }

	    if { $aaa_result == "OK" } {
		# request was successfull
	    } else {
		# handle errors
	    }
	}

HINTS
SEE ALSO
CHANGE LOG
       @BIGIP-11.6.0
	   --First introduced the command.



BIG-IP				  2017-01-31			      iRule(1)