Skip to content

Commit

Permalink
Handover with nextmn dataplane
Browse files Browse the repository at this point in the history
  • Loading branch information
louisroyer committed Jan 10, 2025
1 parent 8ff7584 commit 22051d9
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 0 deletions.
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"

0 comments on commit 22051d9

Please sign in to comment.