Repository for the SoSe21 DSP Project: LEO-CDN
Authors:
- Emil Balitzki
- Jonas Bernhard
- Abbas Fakhir
- Huy Viet Nguyen
- András Temesi
- Marek Wallich
- Hoang Mi Pham
- Setup Ubuntu 20.04.3
- Install Docker 20.10.8 and docker-compose (Follow https://docs.docker.com/engine/install/ubuntu/ and sudo apt-get install docker-compose).
- Install Python 3.8 (sudo apt-get install python3.8,sudo apt-get install python3-pip).
- Install GNU Make 4.2.1 (sudo apt-get install build-essential).
- Install Git and clone this repository together with its submodules (sudo apt-get install git,git clone https://github.com/Corgam/LEO-CDN,git submodule init, andgit submodule update). TheFReDsubmodule should be cloned fromjb/add-disable-rbac-optionbranch (cd FReD/andgit reset --hard origin/jb/add-disable-rbac-option).
- Run pip3 install -r requirements.txt.
- (Optional) Customize the config file.
- Generate the workload python3 generate_workload.py.
- Run python3 generator.pycommand.
- Run sudo make coordinatorcommand.
- Run sudo make satellitescommand.
- Run sudo make gstscommand.
The coordinator, satellites and gsts need to be executed in different terminals.
Generates certificates and a .yml file for each satellite. Creates a Makefile and then runs docker-compose to start all storage, FReD and HTTP-server nodes automatically. Furthermore, creates all necessary files to run the project.
Reads the list of groundstations from temp/filename.txt (specified in the Config file) and creates a thread for each of them. Groundstation will send n amount of requests (specified in the Config file) in an async fashion to the best satellite (received from the Coordinator).