First commit

This commit is contained in:
Leonardo Bonati
2021-12-08 20:17:46 +00:00
commit 60dffad583
2923 changed files with 463894 additions and 0 deletions

15
setup/sample-xapp/run_xapp.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
# release previously opened sockets
kill -9 `pidof python3`
# Run agent, sleep, run connector
echo "[`date`] Run xApp" > /home/container.log
cd /home/sample-xapp && python3 run_xapp.py &
echo "[`date`] Pause 10 s" >> /home/container.log
sleep 10
echo "[`date`] Run connector" >> /home/container.log
cd /home/xapp-bs-connector && ./run_xapp.sh