Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
slapos
Commits
64722adc
Commit
64722adc
authored
Jan 18, 2024
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'kirr-backup/x/lte-multiru' into x/lte-multiru
* kirr-backup/x/lte-multiru: . . .
parents
f8b10eb3
d9d7376b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
7 deletions
+17
-7
software/ors-amarisoft/k/krequest-cb5.enb+
software/ors-amarisoft/k/krequest-cb5.enb+
+2
-1
software/ors-amarisoft/k/krequest-tmru.enb+
software/ors-amarisoft/k/krequest-tmru.enb+
+15
-6
No files found.
software/ors-amarisoft/k/krequest-cb5.enb+
View file @
64722adc
#!/usr/bin/env -S slapos console
#!/usr/bin/env -S slapos console
"""request mme/enb and configure radio units and cells"""
"""request mme/enb and configure radio units and cells on Callbox5 + real SlapOS Master"""
# NOTE see krequest-tmru.enb+ for requesting under theia
# XXX workaround for `slapos console` not setting up sys.path the same way as std python does
# XXX workaround for `slapos console` not setting up sys.path the same way as std python does
import sys
import sys
...
...
software/ors-amarisoft/k/krequest-
ors.enb.old
→
software/ors-amarisoft/k/krequest-
tmru.enb+
View file @
64722adc
#!/usr/bin/env -S slapos console
#!/usr/bin/env -S slapos console
"""request
ors/enb for kirr
"""
"""request
enb under theia for development
"""
#
XXX deprecated in favour of krequest-cb5.enb+
#
NOTE see krequest-cb5.enb+ for requesting for real
# XXX workaround for `slapos console` not setting up sys.path the same way as std python does
# XXX workaround for `slapos console` not setting up sys.path the same way as std python does
import sys
import sys
...
@@ -9,22 +9,28 @@ sys.path.insert(0, dirname(__file__))
...
@@ -9,22 +9,28 @@ sys.path.insert(0, dirname(__file__))
import kslap
import kslap
kslap.init(slap)
kslap.init(slap)
import json, copy
import
os,
json, copy
from pprint import pprint
from pprint import pprint
ors = "/srv/slapgrid/slappart35/srv/project/slapos/software/ors-amarisoft/software.cfg"
kamari = "%(HOME)s/srv/project/slapos/software/ors-amarisoft/software.cfg" % os.environ
enb1 =
request(ors
,
enb1 =
kslap.request(kamari
,
software_type="enb",
software_type="enb",
partition_reference="kenb",
partition_reference="kenb",
filter_kw={"computer_guid": "slaprunner"},
filter_kw={"computer_guid": "slaprunner"},
partition_parameter_kw={"_": json.dumps({
partition_parameter_kw={"_": json.dumps({
'testing': True,
'testing': True,
"enb_id": "0x10012",
"gnb_id": "0x54321",
'mme_list': {'1': {'mme_addr': '127.0.0.100'}},
'amf_list': {'1': {'amf_addr': '127.0.0.200'}},
'plmn_list': {'1': {'plmn': '31415'}},
'plmn_list_5g': {'1': {'plmn': '51413', 'tac': 0x4321}},
})})
})})
"""
"""
enb2 =
request(ors
,
enb2 =
kslap.request(kamari
,
software_type="enb",
software_type="enb",
partition_reference="kenb2",
partition_reference="kenb2",
filter_kw={"computer_guid": "slaprunner"},
filter_kw={"computer_guid": "slaprunner"},
...
@@ -70,6 +76,7 @@ CELL1_a = {
...
@@ -70,6 +76,7 @@ CELL1_a = {
'dl_earfcn': 38050, # 2600 MHz
'dl_earfcn': 38050, # 2600 MHz
'pci': 1,
'pci': 1,
'cell_id': '0x01',
'cell_id': '0x01',
'tac': '0x1234',
'ru': RU1, # RU definition embedded into CELL
'ru': RU1, # RU definition embedded into CELL
}
}
...
@@ -84,6 +91,7 @@ CELL1_b = {
...
@@ -84,6 +91,7 @@ CELL1_b = {
'dl_earfcn': 38100, # 2605 MHz
'dl_earfcn': 38100, # 2605 MHz
'pci': 2,
'pci': 2,
'cell_id': '0x02',
'cell_id': '0x02',
'tac': '0x1234',
'ru': { # CELL1_b shares RU with CELL1_a referring to it via cell
'ru': { # CELL1_b shares RU with CELL1_a referring to it via cell
'ru_type': 'ruincell_ref',
'ru_type': 'ruincell_ref',
'ruincell_ref': 'CELL1_a'
'ruincell_ref': 'CELL1_a'
...
@@ -129,6 +137,7 @@ kslap.iSHARED(enb1, 'CELL2_a', {
...
@@ -129,6 +137,7 @@ kslap.iSHARED(enb1, 'CELL2_a', {
'dl_earfcn': 3350, # 2680 MHz
'dl_earfcn': 3350, # 2680 MHz
'pci': 21,
'pci': 21,
'cell_id': '0x21',
'cell_id': '0x21',
'tac': '0x1234',
'ru': { # CELL2_a links to RU2_a by its reference
'ru': { # CELL2_a links to RU2_a by its reference
'ru_type': 'ru_ref',
'ru_type': 'ru_ref',
'ru_ref': 'RU2_a'
'ru_ref': 'RU2_a'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment