The following examples show the request and response that are defined in the XSD files for AFSessionStats tag.
The following are examples of a request for a single policy server and multiple policy servers:
<?xml version="1.0" encoding="UTF-8"?>
<XmlInterfaceRequest>
<QueryOmStats DeltaCount="false">
<StartTime>2012-09-20T13:00:00</StartTime>
<EndTime>2012-10-30T13:15:00</EndTime>
<AFSessionStats>
<PolicyServer>mpe17-41</PolicyServer>
</AFSessionStats >
</QueryOmStats>
</XmlInterfaceRequest>
<?xml version="1.0" encoding="UTF-8"?>
<XmlInterfaceRequest>
<QueryOmStats DeltaCount="false">
<StartTime>2012-10-24T14:00:45</StartTime>
<EndTime>2012-10-24T14:50:00</EndTime>
<PdnRatTypeStats>
<PolicyServer>MPE01</PolicyServer>
<PolicyServer>MPE02</PolicyServer>
</PdnRatTypeStats>
</QueryOmStats>
</XmlInterfaceRequest>
The response to this request follows the CurrentConnectionsCount and MaximumConnectionsCount tags defined in the Statistics section of the XSD files.
<Statistics>
< AFSessionStats >
<Sample>
<StartTime>2012-10-24T19:45:00Z</StartTime>
<EndTime>2012-10-24T19:45:00Z</EndTime>
<PolicyServer>mpe17-41</PolicyServer>
<IsComplete>false</IsComplete>
<Type>WLAN</Type>
<CurrentAfSessionCount>0</CurrentAfSessionCount>
<MaximumAfSessionCount>0</MaximumAfSessionCount>
</Sample>
<Sample>
<StartTime>2012-10-24T19:45:00Z</StartTime>
<EndTime>2012-10-24T19:45:00Z</EndTime>
<PolicyServer>mpe17-41</PolicyServer>
<IsComplete>false</IsComplete>
<Type>HRPD</Type>
<CurrentAfSessionCount>0</CurrentAfSessionCount>
<MaximumAfSessionCount>0</MaximumAfSessionCount>
</Sample>
<Sample>
<StartTime>2012-10-24T19:45:00Z</StartTime>
<EndTime>2012-10-24T19:45:00Z</EndTime>
<PolicyServer>mpe17-41</PolicyServer>
<IsComplete>false</IsComplete>
<Type>HRPD</Type>
<CurrentAfSessionCount>0</CurrentAfSessionCount>
<MaximumAfSessionCount>0</MaximumAfSessionCount>
</Sample>
<Sample>
<StartTime>2012-10-24T19:45:00Z</StartTime>
<EndTime>2012-10-24T19:45:00Z</EndTime>
<PolicyServer>mpe17-41</PolicyServer>
<IsComplete>false</IsComplete>
<Type>EUTRAN</Type>
<CurrentAfSessionCount>0</CurrentAfSessionCount>
<MaximumAfSessionCount>0</MaximumAfSessionCount>
</AFSessionStats>
</Statistics>
The time this stat object was created.
The time this stat object was ended.
The current number of AF Sessions for this RAT-Type.
The maximum number of AF Sessions at any one point for this RAT-Type. The default interval time is 15 minutes, and it can be configured by the Stats Collection Period attribute in the Global Configuration Settings menu. It is reset to CurrentConnectionsCount only in the interval mode per interval time.