Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handover with nextmn dataplane #93

Merged
merged 1 commit into from
Jan 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,17 @@ test/lint/yaml:

.PHONY: test/nextmn-srv6
test/nextmn-srv6:
@$(MAKE) set/controlplane/free5gc
@$(MAKE) set/dataplane/nextmn-srv6
@$(MAKE) test/lint/yaml
.PHONY: test/nextmn-upf
test/nextmn-upf:
@$(MAKE) set/controlplane/free5gc
@$(MAKE) set/dataplane/nextmn-upf
@$(MAKE) test/lint/yaml
.PHONY: test/nextmn-free5gc
test/free5gc:
@$(MAKE) set/controlplane/free5gc
@$(MAKE) set/dataplane/free5gc
@$(MAKE) test/lint/yaml

Expand Down Expand Up @@ -109,6 +112,7 @@ set/ran/%: $(BCONFIG)
set/handover-ueransim: $(BCONFIG)
@echo Set handover to true
@./scripts/config_edit.py $(BCONFIG) --handover=true
@$(MAKE) set/controlplane/free5gc
@$(MAKE) set/dataplane/free5gc
@$(MAKE) set/nb-ue/1
@$(MAKE) set/nb-edges/1
Expand All @@ -120,6 +124,9 @@ set/handover-ueransim: $(BCONFIG)
set/handover-nextmn: $(BCONFIG)
@echo Set handover to true
@./scripts/config_edit.py $(BCONFIG) --handover=true
@$(MAKE) set/nb-ue/1
@$(MAKE) set/nb-edges/2
@$(MAKE) set/controlplane/nextmn-lite

.PHONY: clean
clean:
Expand Down Expand Up @@ -245,6 +252,7 @@ ue/switch-edge/%:
.PHONY: plot/policy-diff
plot/policy-diff:
@echo "[1/2] [1/6] Configuring testbed with NextMN-SRv6"
@$(MAKE) set/controlplane/free5gc
@$(MAKE) set/dataplane/nextmn-srv6
@$(MAKE) set/nb-ue/2
@$(MAKE) set/nb-edges/2
Expand Down Expand Up @@ -272,6 +280,7 @@ plot/policy-diff:
.PHONY: plot/latency-switch
plot/latency-switch:
@echo "[1/7] Configuring testbed with NextMN-SRv6 + Free5GC"
@$(MAKE) set/controlplane/free5gc
@$(MAKE) set/dataplane/nextmn-srv6+free5gc
@$(MAKE) set/nb-ue/1
@$(MAKE) set/nb-edges/2
Expand Down
14 changes: 14 additions & 0 deletions scripts/handover-uel1.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/usr/bin/env bash
# Copyright 2025 Louis Royer. All rights reserved.
# Use of this source code is governed by a MIT-style license that can be
# found in the LICENSE file.
# SPDX-License-Identifier: MIT
#
curl -X POST --json '
{
"ue-ctrl": "http://[fd00:0:0:0:2:8000:0:9]:8080",
"gnb-target": "http://[fd00:0:0:0:2:8000:0:8]:8080",
"sessions": [{
"ue-addr": "10.2.0.1",
"dnn": "srv6"
}]}' "http://[fd00::2:8000:0:7]:8080/cli/ps/handover"
14 changes: 14 additions & 0 deletions scripts/handover-uel5.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/usr/bin/env bash
# Copyright 2025 Louis Royer. All rights reserved.
# Use of this source code is governed by a MIT-style license that can be
# found in the LICENSE file.
# SPDX-License-Identifier: MIT
#
curl -X POST --json '
{
"ue-ctrl": "http://[fd00:0:0:0:2:8000:0:e]:8080",
"gnb-target": "http://[fd00:0:0:0:2:8000:0:8]:8080",
"sessions": [{
"ue-addr": "10.2.2.1",
"dnn": "nextmn-upf"
}]}' "http://[fd00::2:8000:0:7]:8080/cli/ps/handover"
Loading