Change-Id: If7b7b28f51f4b408333176825ba1aa1889cef505
This commit is contained in:
Neels Janosch Hofmeyr
2023-02-07 12:35:09 +01:00
parent beb429a98e
commit e28c642905
3 changed files with 53 additions and 0 deletions

View File

@@ -208,4 +208,5 @@ AC_OUTPUT(
doc/manuals/Makefile
contrib/Makefile
contrib/systemd/Makefile
contrib/demo/Makefile
Makefile)

16
contrib/demo/Makefile.am Normal file
View File

@@ -0,0 +1,16 @@
msc: \
$(NULL)
dot: \
$(builddir)/demo_overview.png \
$(NULL)
$(builddir)/%.png: $(srcdir)/%.msc
mscgen -T png -o $@ $<
$(builddir)/%.png: $(srcdir)/%.dot
dot -Tpng $< > $@
.PHONY: poll
poll:
while true; do $(MAKE) msc dot; sleep 1; done

View File

@@ -0,0 +1,36 @@
digraph G {
rankdir=TB
labelloc=t; label="OsmoUPF demo Overview"
subgraph cluster_left {
label="netns 'left'";style=dotted;rankdir=TB
left_eth [label="veth3\n10.3.0.1/32"]
left_upf [label="osmo-upf\ntunend\nPFCP: 127.3.0.1:8805"]
left_tunend [label="GTP module tunend\napn_left 10.3.1.1\nUE: 192.168.3.42"]
left_tool [label="osmo-pfcp-tool\nPFCP: 127.3.0.2:8805"]
left_tool -> left_upf [label="PFCP"]
}
subgraph cluster_mid {
label="netns 'mid'";style=dotted
mid_eth23 [label="veth23\n10.2.3.1/32"]
mid_eth21 [label="veth21\n10.2.1.1/32"]
mid_upf [label="osmo-upf\ntunmap\nPFCP: 127.2.0.1:8805\nGTP: nft rulesets"]
mid_nft [label="nft tunmap"]
mid_tool [label="osmo-pfcp-tool\nPFCP: 127.2.0.2:8805"]
mid_tool -> mid_upf [label="PFCP"]
}
subgraph cluster_right {
label="netns 'right'";style=dotted
right_eth [label="veth1\n10.1.0.1/32"]
right_upf [label="osmo-upf\ntunend\nPFCP: 127.1.0.1:8805"]
right_tunend [label="GTP module tunend\napn_right 10.1.1.1\nUE: 192.168.1.42"]
right_tool [label="osmo-pfcp-tool\nPFCP: 127.1.0.2:8805"]
right_tool -> right_upf [label="PFCP"]
}
left_tunend -> mid_nft [label="GTP-U"]
mid_nft -> right_tunend [label="GTP-U"]
}