ACC Utilities Reference Guide

34 Chapter2
TTGEN-ZCOMSystemTableGenerator
Creating the TTGEN Configuration File
Creating the TTGEN Configuration File
Overview
The TTGEN configuration file is an ASCII text file that describes the
size and configuration i nformation of a ZCOM s ystem. TT GEN compiles
this file and generates a corresponding binary memory image file,”
which will be used by ZMON to initialize and start up the run-time
ZCOM sub-system with the specified configuration.
The first statement in the configuration file (aside from compiler
directives {#include or #define} or C-style comm ents) must be the string
“TTGEN” (without the quotation marks). This may be followed by a list
of options; see “Running TTGEN” for the various options available. The
configuration file is organized into sections; each section having its own
section header and subparameters. The section headers are indicative of
the information required to configure the ZCOM sub-system. The
headers are case-insensitive and are as follows:
TTGEN (TTGEN file control line)
Configuration (Global parameters)
Interface-Definition (ACC card specification)
Port-Definition (All ports on the system)
Subchannel-Definitio (Required for E1/T1 card)
Terminal-Definition (All terminals on the system)
Node-Definition (All remote nodes on the system)
End$
The sections must o ccur in the order as given above. Text enclosed with a
slash-asterisk (/*) and asterisk-slash (*/), or lines commencing with a
semi-colon (;) or an a sterisk (*), are treated as comments and ignored.
The tilde character (~) at the end of a line is used as a continuation
character, indicating that t he next line is a continuation of this line. The
lines may be in free format - the number of spaces between each
parameter is variable. Fields are separated by tabs, spaces, comma (,), or
colon(:).Multipletabsorspacescollapsetoone(thisisnottruefor
commas and colons). Strings are quoted by single quote (’) or double
quote (”). Numeric fields may be in the following formats: