Example: Using the Sample CoA Script Service
To use the sample CoA script service provided:
The /SDK/scriptServices/coa/ldif/BOD1M.ldif file (in the SRC software distribution) is the sample service definition for exchanging CoA messages with a Cisco 10000 Series router.
- Copy the /lib/coa.jar file used by the script service to a location that is accessible to the SAE by a URL, such as an FTP or HTTP server. If you do not have multiple SAEs, it can be convenient to copy the file to the /var/run directory in the SAE installation directory (/opt/UMC/sae by default).
- Modify the service substitutions for your device.
You can make these substitutions by defining the parameter substitutions in the BOD1M service with the SRC CLI or by passing the values through the SAE core API.
For information about parameter substitutions, see Configuring the CoA Script Service with the SRC CLI. For information about passing the values through the SAE core API, see Defining RADIUS Attributes for CoA Requests with the API.
For more information about subscriptions, see SRC-PE Subscribers and Subscriptions Guide, Chapter 12, Configuring Subscribers and Subscriptions with the SRC CLI.
If you are modifying the sample application, add the sae.jar and logger.jar files to the classpath when you compile your application. These two files can be found in the lib directory of the SAE installation directory.