Download CSP SwitchKit Installation and Maintenance Guide
Transcript
Building a Configuration File Building a Configuration File Building a Configuration File ............................................................................................................................................................................................................................................................ Overview The format of the configuration file is a series of configuration message specifications. The order of the parameters does not matter and white space and comments (delimited by #) are allowed. Example configuration files are provided in the folder: sample/cfg. Some parameters of each SwitchKit configuration message are optional. The parameters used depend on the form of the message you are using, and which AIBs are being populated. Depending on the parameter, the value can be an integer (for example, 3), a quoted string (e.g., “hello there”), an unsigned data array, or a range. Configuration files should be created using CSA. If you create a configuration file by hand or alter one created by CSA, be certain the data for each message is properly assigned. Errors in data format can cause SwitchManager to fail. Important! Syntax Configuration messages are not case sensitive. A message specification has the following format: message_name(parameter1=value1, parameter2=value2,...); Example AssignSpan(node = 0, span = 1, slot=1, offset=0); Message Format The message formats are specified in the Messages.api.h file for C Structures and CMessages.api.h file for C++ classes. You can reference these file to see what the message and parameter names are. In the configuration file, the XL_, SK_, XLC_, and SKC_ prefix is always omitted. AddLLCNode The AddLLCNode message specifies the node ID and CSP Matrix Series 3 card IP addresses for each node. For configuration messages (such as AnswerSupervision) that use the range parameter, the node ID can be specified in the message but will be validated by the node ID in the AssignSpan message. Configuration messages such as, AssignSpan must have the node ID that is assigned with the AddLLCNode message. All-In-Service and All-Outof-Service The AllInService and AllOutOfService messages allow you to bring all components (for example, spans and channels) of your configuration in or out of service with one message. These messages can be added to any configuration file. If these messages are included in a configuration file, SwitchManager brings all components out of service prior to any ............................................................................................................................................................................................................................................................. Release 8.4.1 ER3, February 2008 5 - 2