Testing and Demonstrating the A-RACF Rq Interface
A sample SPDF that provides the Rq interface is included in the software for testing and demonstrating the A-RACF Rq. The SPDF Rq programs send activation requests, modification requests, and deactivation requests for the News service to the A-RACF Rq interface for various subscribers.
- Run the following command in the /opt/UMC/ims folder if you have not already done so.
etc/config -a
- Enter the following command:
etc/SPDF-rq-sample appl [argument...]@param argumentsargs[0] address of the local peer, SPDF in this case.args[1] address of the remote peer, A-RACF in this case.args[2] number of seconds given the local peer to run. Whenthe time is up the local will shutdown.args[3] number of seconds used in this range to wait beforesending requests to the remote peer. For example avalue of 25 means that from 0 to 25 seconds waitis inserted between each call (with and averagedelay of 12.5 seconds).args[4] number of subscribers to iterate over. The loopstarts with the subscriber base address and is incrementedby one in each step of the loop. For example, 100.args[5] subscriber base address. For example, 10.20.0.0.Rq Interface Messaging
The following information provides a high-level description of the Rq interface and its messaging:
- In case of an AA-Request, the A-RACF verifies whether Session-Id AVP is new or already known. If new, a session is initiated; otherwise an existing session is modified.
- A-RACF gets the AF-Application-Id AVP within the Media-Component-Description AVPs to determine the service to be activated or modified.
- A-RACF retrieves the Framed-Ip-Address AVP within the Globally-Unique-Ip-Address AVPs to determine the IP address of the subscriber.
- A-RACF checks Flow-Status AVP. If the value is disabled, the session is reserved. If the value is enabled, the session is committed.
- The A-RACF reads the remaining DIAMETER AVPs and maps them according to the SAE external interface requirements.
- The A-RACF requests the required resources from the RCEF via the Re interface.
- A-RACF acknowledges the AA-Request with an AA-Answer back to the SPDF.