anchor.diff:  	[radius_log_auth_event, diameter_log_auth_event,
   			radius_log_acct_event, diameter_log_acct_event,
   			ipdr_log, get_range, get_last, auth_query, acct_query,
  -			abmf_log_event, abmf_query].
  +			acct_diam_query, abmf_log_event, abmf_query].
   
   %%---------------------------------------------------------------------
   %%  Test cases
  
positive.code: 	EventSize = CurBytes div CurItems,
  	NumItems = (FileSize div EventSize) * 5,
  	Start = erlang:system_time(?MILLISECOND),
  	ok = fill_acct(NumItems),
  	ok = ocs_log:acct_log(radius, Server, stop, Attrs, undefined, undefined),
  	ok = fill_acct(rand:uniform(2000)),
  	ok = ocs_log:acct_log(radius, Server, stop, Attrs, undefined, undefined),
  	ok = fill_acct(rand:uniform(2000)),
  	ok = ocs_log:acct_log(radius, Server, stop, Attrs, undefined, undefined),
  	ok = fill_acct(rand:uniform(2000)),
  	End = erlang:system_time(?MILLISECOND),
  	MatchReq = [{?UserName, {exact, Username}},
  			{?NasIdentifier, {exact, NasIdentifier}}],
  
negative.code: 		2 -> stop;
  		3 -> interim
  	end,
  	case Protocal of
  		radius ->
  			Attrs = [{?ServiceType, 2}, {?NasPortId, "wlan1"}, {?NasPortType, 19},
  					{?UserName, ocs:generate_identity()}, {?CallingStationId, ocs_test_lib:mac()},
  					{?CalledStationId, ocs_test_lib:mac() ++ ":AP1"}, {?NasIdentifier, NasIdentifier},
  					{?NasIpAddress, ClientAddress}, {?AcctStatusType, rand:uniform(3)},
  					{?AcctSessionTime, AcctSessionTime},
  					{?AcctInputOctets, AcctInputOctets},
  					{?AcctOutputOctets, AcctOutputOctets}],
  			ok = ocs_log:acct_log(radius, Server, Type, Attrs, undefined, undefined),
  			fill_acct(N - 1, radius);
  		diameter ->
  			Record = #'3gpp_ro_CCR'{'Origin-Host' = ClientAddress, 'Service-Context-Id' = 2, 'Subscription-Id' = [#'3gpp_ro_Subscription-Id'{'Subscription-Id-Data'
  						= UserName}], 'Multiple-Services-Credit-Control' = [#'3gpp_ro_Multiple-Services-Credit-Control'{'Requested-Service-Unit' = [#'3gpp_ro_Requested-Service-Unit'{'CC-Time'
  						= AcctSessionTime, 'CC-Input-Octets' = AcctInputOctets, 'CC-Output-Octets' = AcctOutputOctets}]}], 'Service-Information' = [{'3gpp_ro_Service-Information', [],
  							[#'3gpp_ro_IMS-Information'{'Calling-Party-Address' = ocs_test_lib:mac(), 'Called-Party-Address' = ocs_test_lib:mac()}]}]},
  			ok = ocs_log:acct_log(diameter, Server, Type, Record, undefined, undefined),
  			fill_acct(N - 1, diameter)
  	end.
  
  fill_abmf(0) ->
  	ok;
  