mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-upf.git
synced 2025-10-23 08:12:03 +00:00
demo wip
Change-Id: If7b7b28f51f4b408333176825ba1aa1889cef505
This commit is contained in:
@@ -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
16
contrib/demo/Makefile.am
Normal 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
|
36
contrib/demo/demo_overview.dot
Normal file
36
contrib/demo/demo_overview.dot
Normal 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"]
|
||||
|
||||
}
|
Reference in New Issue
Block a user