Skip to content

Commit

Permalink
Add doc
Browse files Browse the repository at this point in the history
  • Loading branch information
louisroyer committed Aug 27, 2024
1 parent 7bc8df2 commit 9749e48
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions doc/how-to-test.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# How to test

## Runtime instance update

1. `make pull`
2. `make set/dataplane/nextmn-srv6 && make set/nb-ue/1 && make set/nb-edges/2`
3. `make u`
4. `make ctrl`
5. In the web browser, look for uplink `srgw` rule `UUID` for your UE
6. Enable uplink rule using `curl -X PATCH http://[fd00::2:8000:0:3]:8080/rules/{UUID}/enable` (replace `{UUID}` with rule's UUID)
7. In the web browser, look for downlink `r0`/`r1` rule `UUID` for your UE
8. Enable downlink rule using `curl -X PATCH http://[fd00::2:8000:0:4]:8080/rules/{UUID}/enable`/`curl -X PATCH http://[fd00::2:8000:0:5]:8080/rules/{UUID}/enable` (replace `{UUID}` with rule's UUID)
9. `make t/ue1` and `ping 10.4.0.1`
10. `make t/s0`/`make t/s1` and `tshark -i any`
11. Enable new uplink rule & disable old uplink rule
12. When done with the test, `make d`

0 comments on commit 9749e48

Please sign in to comment.