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
1f0ca827
Commit
1f0ca827
authored
Oct 24, 2023
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
7fbaf616
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
34 additions
and
41 deletions
+34
-41
software/ors-amarisoft/config/ue.cfg
software/ors-amarisoft/config/ue.cfg
+9
-35
software/ors-amarisoft/config/ue.jinja2.cfg
software/ors-amarisoft/config/ue.jinja2.cfg
+1
-1
software/ors-amarisoft/k/knc.py
software/ors-amarisoft/k/knc.py
+8
-3
software/ors-amarisoft/slapos-render-config.py
software/ors-amarisoft/slapos-render-config.py
+16
-2
No files found.
software/ors-amarisoft/config/ue.cfg
View file @
1f0ca827
...
...
@@ -11,14 +11,12 @@
rf_driver: {
name: "sdr",
// _UCELL1_ru 1T1R (sdr)
// _UCELL2_ru 1T1R (sdr)
// _UCELL3_ru 1T1R (sdr)
args: "dev0=/dev/sdr1,dev1=/dev/sdr2,dev2=/dev/sdr3",
args: "dev0=/dev/sdr1",
rx_antenna:"tx_rx",
tdd_tx_mod: 1,
},
tx_gain: [70
, 80, 70
],
rx_gain: [60
, 60, 60
],
tx_gain: [70],
rx_gain: [60],
cell_groups: [{
...
...
@@ -39,30 +37,6 @@
global_timing_advance: -1,
},
// UCELL2
{
rf_port: 1,
n_antenna_dl: 1,
n_antenna_ul: 1,
dl_earfcn: 500,
bandwidth: 20,
global_timing_advance: -1,
},
// UCELL3
{
rf_port: 2,
n_antenna_dl: 1,
n_antenna_ul: 1,
dl_earfcn: 2850,
bandwidth: 20,
global_timing_advance: -1,
},
],
pdcch_decode_opt: false,
pdcch_decode_opt_threshold: 0.1,
...
...
@@ -79,14 +53,14 @@
ue_list: [
// UE1
{
sim_algo: "
xor
",
// opc: "milenage
",
sim_algo: "
milenage
",
opc: "000102030405060708090A0B0C0D0E0F
",
amf: 0x9001,
sqn: "000000000000",
impu: "",
impi: "",
imsi: "001010
123456789
",
K: "00112233445566778899
aabbccddeeff
",
impu: "
impu1
",
impi: "
impi1@amarisoft.com
",
imsi: "001010
0000001
",
K: "00112233445566778899
AABBCCDDEEFF
",
// rue_addr: "host1",
as_release: 13,
ue_category: 13,
...
...
software/ors-amarisoft/config/ue.jinja2.cfg
View file @
1f0ca827
...
...
@@ -93,7 +93,7 @@
// {{ ue_ref }}
{
sim_algo: "{{ ue.sim_algo }}",
//
opc: "{{ ue.opc }}",
opc: "{{ ue.opc }}",
amf: {{ ue.amf }},
sqn: "{{ ue.sqn }}",
impu: "{{ ue.impu }}",
...
...
software/ors-amarisoft/k/knc.py
View file @
1f0ca827
...
...
@@ -9,7 +9,8 @@ import sys, logging
from
golang
import
func
,
defer
,
u
host
=
'fe80::20a:ff:fe00:1020%slaptap9-1'
#host = 'fe80::20a:ff:fe00:1020%slaptap9-1'
host
=
'2401:5180:0:66:a700::1'
port
=
830
user
=
'oranuser'
password
=
'oranpassword'
...
...
@@ -24,9 +25,11 @@ def main():
defer
(
m
.
close_session
)
#print(m)
"""
if 1:
import time; time.sleep(2)
return
"""
"""
for cap in m.server_capabilities:
...
...
@@ -43,10 +46,12 @@ def main():
xpprint
(
ele
)
#"""
"""
#
"""
x
=
m
.
get
()
xpprint
(
x
.
data
)
"""
#"""
return
ok
=
m
.
create_subscription
()
print
(
ok
)
...
...
software/ors-amarisoft/slapos-render-config.py
View file @
1f0ca827
...
...
@@ -335,7 +335,7 @@ def do_ue():
'rx_gain'
:
60
,
}
})
if
1
:
if
0
:
iue
.
ishared
(
'Cell 2'
,
'_UCELL2'
,
{
'ue_cell_type'
:
'lte'
,
'rf_mode'
:
'fdd'
,
...
...
@@ -351,7 +351,7 @@ def do_ue():
'rx_gain'
:
60
,
}
})
if
1
:
if
0
:
iue
.
ishared
(
'Cell 3'
,
'_UCELL3'
,
{
'ue_cell_type'
:
'lte'
,
'rf_mode'
:
'fdd'
,
...
...
@@ -368,12 +368,26 @@ def do_ue():
}
})
iue
.
ishared
(
'UE 1'
,
'_UE1'
,
{
'ue_type'
:
'lte'
,
'sim_algo'
:
'milenage'
,
"imsi"
:
"0010100000001"
,
"opc"
:
"000102030405060708090A0B0C0D0E0F"
,
"amf"
:
"0x9001"
,
"sqn"
:
"000000000000"
,
"k"
:
"00112233445566778899AABBCCDDEEFF"
,
"impu"
:
"impu1"
,
"impi"
:
"impi1@amarisoft.com"
,
'rue_addr'
:
'host1'
,
})
"""
iue.ishared('UE 1', '_UE1', {
'sim_algo': 'xor',
'ue_type': 'lte',
'rue_addr': 'host1'
})
"""
"""
iue.ishared('UE 2', '_UE2', {
'ue_type': 'nr',
'rue_addr': 'host2'
...
...
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