
DOC 6501_Release V
ATS-6501 Users Guide
208
Appendix G System Configuration (syscfg)
This system configuration (syscfg) is a method of documenting the system (ATS-65XX) series
devices and having the unit alert the operator when the system settings differ from the
configuration file either by card or by port settings. Once set up and enabled the system will alert
the operator if someone puts a card in the wrong slot, installs a card that does not belong in the
chassis and if a port setting is incorrect (i.e PPS and IRIG).
The factory settings are in
/usr/tsc/syscfg/syscfg_default.py
. These are the typical factory settings
and the file is set up in the configuration the unit is shipped in. This file is used if the
/mod/tsc/syscfg/localcfg.py
file is not present. If the localcfg.py file is present the system will use
the contents of that file. It is recommended that users modify the local.py file only.
Some examples are provided below for both the cards and the output ports. Users that change the
chassis configuration from that provided by the factory will need to modify these files for the
system to monitor the set up and report the correct errors.
File Header:
Most of the header is comments; the important part of the header file is in BOLD below.
#
# For a particular card type: telnet <ip-address> 1900 | grep <slots:SlotNumber#>
# This will tell you the available information that a slot type is outputting
# Hopefully this helps in setting up the ExpectedValues of a card
#
# ExpectedValues is a list
ExpectedValues = [
Card Settings:
There may be a setting for each slot in the chassis. If the slot is blank the section for that slot is
typically removed from the file. Note that the “,” separating each slot is important.
# Check for correct type of module in each slot
{
"address": "status:hardware:outputs:slots:1:type",
Port 1900 Field
"expectedValue": "4394A", #tsc4373 is the same as a 4394
Nominal Value
"errorMsg": "Incorrect module in slot 1, should be 4394A"
User defined Message
},
If an operator puts the incorrect card type in slot 1 as shown above the error message defined will
be in the
alarm/alarms/status syscfg:errors.
Each slot can have a card assigned, if the card slot is
blank do not create a rule for that slot.
Port Settings:
These are examples of the types of monitoring that can be done on the output cards. The
PPS/IRIG values can be well defined whereas the 4395 Series cards can simply be monitored to
ensure all of outputs are on. See below.