Environments

Environments

The IN Tester will run tests using flows against an environment. An environment is a define system of which one or more elements can be tested. An IN environment would generally consist of a SMF, one or more SCFs and one or more convergent charging systems.

To configure environments within the IN Tester, the files:

Must be edited and an <environments> section added to each one. Both files should have exactly the same <environments> configuration.

The <environments> section must be placed at the same level as the <router> section. An example section may be:

    <environments>
        <environment ncc_service_provider="Boss" name="Intrepid Boss">
            <smf dbname="smf" http_host="10.42.2.154" http_port="80"/>
            <n2svcd json_host="127.0.0.1" json_port="9009">
                <smf app_name="TEST-SMS-DB"/>
                <pi app_name="TEST-PI"/>
                <osd app_name="TEST-OSD"/>
                <diameter app_name="TEST-Diameter"/>
                <sigtran app_name="test-slc01">
                    <parameter name="dpc" value="2058"/>
                    <parameter name="dssn" value="106"/>
                </sigtran>
            </n2svcd>
        </environment>
    </environments>

More than one environment can be specified. Each environment must have a unique name.

Parameters and attributes for environments are:

Attribute Description
name The unique name for the environment. Shown to users.
ncc_service_provider Name of the OCNCC service provider (CCS Customer) if OCNCC is being used.
<smf> Details to communicate with the ONCNCC SMF.
smf.dbname The name of the database configuration, as configured in the same Jarvis configuration file (in <database> elements).
smf.http_host The IP address or hostname of the OCNCC SMF host.
smf.port The TCP port that the SMF http server is listening on.
<n2svcd> Details to pass to the n2svcd process that will execute tests. Each element in this list will provide the n2svcd application name to use for communication.
n2svcd.json_host The IP address or hostname of the server the n2svcd process is running on.
n2svcd.json_port The TCP port the n2svcd process is listening on.
n2svcd.smf The application name of the SMF n2svcd application.
n2svcd.pi The application name of the OCNCC PI n2svcd application.
n2svcd.osd The application name of the OCNCC OSD n2svcd application.
n2svcd.diameter The application name of the OCNCC Diameter n2svcd application.
n2svcd.sigtran The application name of the SIGTRAN n2svcd application. This requires additional sub-elements to configure parameters.
<restricted_to> If not present, this environment will be available to all tester users for executing against. If present this indicates the environment is restricted to zero or more groups of users. An example configuration is: <restricted_to><group name="mygroup"></restricted_to>