Config file¶ ↑
When TeutonServer
starts need to read a configuration file.
Creating config file¶ ↑
-
teuton-server init
, createTeutonServer
configuration file in current directory, calledteuton-server.yaml
Let's see its content:
--- :server: :ip: 127.0.0.1 :port: 16000 :testunits: - testname01 :clients: - :members: client01 :ip: 127.0.0.1
-
It's posible create this file by hand.
Config file params¶ ↑
server section¶ ↑
Configuration param for Teuton Server.
-
ip: Server listening IP
-
port: Base port for services.
-
:port: 16000
, client 1 is asigned port 16001, client 2 is assigned 16002 port, and so on.
-
client section¶ ↑
Configuration param for every TeutonClient. TeutonServer
will attend only the specified clients.
-
members: Client name or names
-
ip: Server only accepts client request from this IP.
-
:ip: :allow
, client request are allowed always. -
:ip: :deny
, client request are denied always. -
:ip: 192.168.1.200
, client request are only accepted from 192.168.1.200 IP.
-