Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
louisroyer committed Jan 26, 2024
1 parent 93c2231 commit 7eba23d
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 9 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This is a basic workflow to help you get started with Actions

name: CI
name: CI

# Controls when the workflow will run
on:
Expand All @@ -20,7 +20,5 @@ jobs:
uses: actions/checkout@v4
- name: Install depends
run: sudo apt-get install -qy j2cli make yamllint
- name: Run jinja
run: make j
- name: Run Yaml lint
run: yamllint build
run: make test
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
.PHONY: default u d t j
.PHONY: default u d t j test
build:
mkdir build

build/compose.yaml: build compose.yaml.j2 scripts/jinja/customize.py config.yaml
j2 --customize scripts/jinja/customize.py -o build/compose.yaml compose.yaml.j2 config.yaml

test: build/compose.yaml
yamllint build

j: build/compose.yaml

pull: build/compose.yaml
Expand Down
35 changes: 31 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,43 @@
# Testbed
Warning: __WORK IN PROGRESS__
## Getting started
### Dependencies
- `docker-ce`
- `docker-compose-plugin`
- `j2cli`
- `make`

### Usage
```text
make j # build
make pull # update docker images
make u # run containers
make d # stop containers
```

#### Configuration
TODO: Configuration is done in the file `config.yaml`.

#### Documentation
Documentation is available in the `doc` directory.

### Contributing
#### Syntax coloration
To enable syntax coloration in vim, you can use the following plugin: [`louisroyer/vim-yaml-jinja`](https://github.com/louisroyer/vim-yaml-jinja).

#### PCAP analysis
To analyse RAN traffic, you can install the following Wireshark/Tshark plugin : [`louisroyer/RLS-wireshark-dissector`](https://github.com/louisroyer/RLS-wireshark-dissector).

### Known issues
Docker version 5:25.0.0 has [a bug](https://github.com/moby/moby/issues/47120) that prevent running the testbed. Use a different version (5:25.0.1 or higher, or 5:24.* or lower).
Docker version `5:25.0.0` has [a bug](https://github.com/moby/moby/issues/47120) that prevent running the testbed. Use a different version (`5:25.0.1` or higher, or `5:24.*` or lower).

## Author
## Copyright
### Author
Louis Royer

## License
MIT
### License
The testbed code in this repository is under the MIT license, but the various software used, which are distributed in particular in the form of Docker images, are under other licenses.
Notably:
- [UERANSIM](https://github.com/aligungr/UERANSIM) is under the GPL-3.0 license
- [Free5GC](https://github.com/free5gc) is under the Apache-2.0 license
- Debian packaged softwares are under various free licenses available at `/usr/share/doc/*/copyright` into Docker images.

0 comments on commit 7eba23d

Please sign in to comment.