There are all code work on Backend Server.
The main file is app.py . It's run the flask server to create lots of API to connect Web Server.
- They need to store the 'csv' format. It's very important.
- DUT_Config.csv : That'is all DUT's port number,hostname,console server IP address.
- Server_Config.csv : That's Web server and Back_end server IP adress & port number setting.
- SONiC_Config.csv : That's SONiC test environment configuration .
-
If you create the Non_Ansible testcase,please store it in Testcase_Script under the folder named FUNCTION.
-
The testcase log will be create when the teastcase finished.
-
The folder's name is "report",it is stored in the upper level.
-
Under the "report",the folders will be create when job executes and is named it's job_id.
- Dockerfile : This is build an environment of Back_end Server, include Ubuntu Python3 Python3-pip docker.io
- requirements.txt : This is all library of Python3 need environment.
- $ cd Execute/
- $ python3 app.py
- Execute "start.sh" will build a docker image that provide Backend Server Service:
- $ sh start.sh