The idea here is to define a clear pattern to configure the PADE runtime environment by means of a config file using the JSON format.
An example of such a configuration file is the following json code:
{
"agent_files": [
"agent_example_1.py",
"agent_example_3.py"
],
"port": 20000,
"num": 2,
"pade_ams": {
"launch": true,
"host": "localhost",
"port": 8000
},
"pade_web": {
"active": true,
"host": "localhost",
"port": 5000
},
"pade_sniffer": {
"active": true,
"host": "localhost",
"port": 8001
},
"session": {
"username": "pade_user",
"email": "pade_user@pade.com",
"password": "12345"
}
}
The idea here is to define a clear pattern to configure the PADE runtime environment by means of a config file using the JSON format.
An example of such a configuration file is the following json code:
{ "agent_files": [ "agent_example_1.py", "agent_example_3.py" ], "port": 20000, "num": 2, "pade_ams": { "launch": true, "host": "localhost", "port": 8000 }, "pade_web": { "active": true, "host": "localhost", "port": 5000 }, "pade_sniffer": { "active": true, "host": "localhost", "port": 8001 }, "session": { "username": "pade_user", "email": "pade_user@pade.com", "password": "12345" } }