...
C back-end infrastructure
This allows for the setup of the TCP communication between the Master and Agent nodes (lutf.c).Master mode:
Starts a listener thread to listen to Agent connections (lutf_listener.c).
- Maintains a list of the Agents
- Start up a python interpreter (lutf_python.c).
Provides a library which is SWIG wrapped and callable from python scripts (liblutf_agent.c).
Agent mode:
- A thread is started to maintain a heart beat with the master. The master uses the Heart beat to determine the aliveness of the agents (lutf.c).
- Start up a python interpreter through Telnet (lutf_python.c).
- Python Test infrastructure
- Infrastructure Level 1:
A python master script would facilitate the following:- Deploy LUTF on all the Agent nodes and Master node.
- Provides a telnet server and client for Master<->Agent communication.
- Provides
- a mechanism to query IP addresses and the network interfaces (NIs) on the Agents. This information can further be fetched by the test scripts on demand using an API.
- Facilitates running individual python tests scripts on the Agents and collecting results.
- Facilitates running the auto-test script which is a test-suite of all the test scripts related to a feature.
- Facilitate synchronization between the tests running on different Agents.
- Infrastructure Level 1:
SWIG & DLC Library
SWIG is used to wrap the DLC library and make it callable from Python. This allows Python test scripts to call DLC APIs directly to test LNet.
...