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
5
Merge Requests
5
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
Jérome Perrin
slapos
Commits
d1dd05d6
Commit
d1dd05d6
authored
Jun 16, 2023
by
Lu Xu
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/ors-amarisoft: software update
parent
1f5bb9a0
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
52 additions
and
2 deletions
+52
-2
software/ors-amarisoft/lopcomm-rrh-config.jinja2.py
software/ors-amarisoft/lopcomm-rrh-config.jinja2.py
+1
-1
software/ors-amarisoft/lopcomm-rrh-stats.jinja2.py
software/ors-amarisoft/lopcomm-rrh-stats.jinja2.py
+1
-1
software/ors-amarisoft/render-templates
software/ors-amarisoft/render-templates
+12
-0
software/ors-amarisoft/software-base.cfg
software/ors-amarisoft/software-base.cfg
+6
-0
software/ors-amarisoft/software-tdd.cfg
software/ors-amarisoft/software-tdd.cfg
+5
-0
software/ors-amarisoft/software-tdd1900.cfg
software/ors-amarisoft/software-tdd1900.cfg
+5
-0
software/ors-amarisoft/software-tdd2600.cfg
software/ors-amarisoft/software-tdd2600.cfg
+5
-0
software/ors-amarisoft/software-tdd3500.cfg
software/ors-amarisoft/software-tdd3500.cfg
+5
-0
software/ors-amarisoft/software-tdd3700.cfg
software/ors-amarisoft/software-tdd3700.cfg
+5
-0
software/ors-amarisoft/software.jinja2.cfg
software/ors-amarisoft/software.jinja2.cfg
+7
-0
No files found.
software/ors-amarisoft/lopcomm-rrh-config.jinja2.py
View file @
d1dd05d6
...
...
@@ -67,7 +67,7 @@ if __name__ == '__main__':
nc
=
LopcommNetconfClient
()
while
True
:
try
:
nc
.
connect
(
"
192.168.0.210
"
,
830
,
"oranuser"
,
"oranpassword"
)
nc
.
connect
(
"
{{ netaddr.IPAddress(slap_configuration.get('tap-ipv6-gateway', '')) }}
"
,
830
,
"oranuser"
,
"oranpassword"
)
nc
.
edit_config
([
"{{ CreateProcessingEle_template }}"
,
"{{ cu_config_template }}"
])
break
except
Exception
as
e
:
...
...
software/ors-amarisoft/lopcomm-rrh-stats.jinja2.py
View file @
d1dd05d6
...
...
@@ -95,7 +95,7 @@ if __name__ == '__main__':
nc
=
LopcommNetconfClient
()
while
True
:
try
:
nc
.
connect
(
"
192.168.0.210
"
,
830
,
"oranuser"
,
"oranpassword"
)
nc
.
connect
(
"
{{ netaddr.IPAddress(slap_configuration.get('tap-ipv6-gateway', '')) }}
"
,
830
,
"oranuser"
,
"oranpassword"
)
nc
.
subscribe
()
while
True
:
nc
.
get_notification
()
...
...
software/ors-amarisoft/render-templates
View file @
d1dd05d6
...
...
@@ -84,6 +84,18 @@ rf_mode_context_list = [
'default_ssb_nr_arfcn'
:
0
,
'min_frequency'
:
0
,
'max_frequency'
:
0
,
},
{
'rf_mode'
:
'fdd'
,
'default_dl_earfcn'
:
0
,
'default_lte_dl_freq'
:
0.0
,
'default_lte_band'
:
0
,
'default_dl_nr_arfcn'
:
0
,
'default_nr_band'
:
0
,
'default_nr_dl_freq'
:
0.0
,
'default_nr_ssb_pos_bitmap'
:
"10000000"
,
'default_ssb_nr_arfcn'
:
0
,
'min_frequency'
:
0
,
'max_frequency'
:
0
,
}
]
...
...
software/ors-amarisoft/software-base.cfg
View file @
d1dd05d6
...
...
@@ -41,6 +41,7 @@ parts +=
dnsmasq
eggs
xamari
setcap
# unimplemented parts - the http monitor and better log handling using logrotate
# apache-php
# logrotate
...
...
@@ -203,6 +204,11 @@ recipe = zc.recipe.egg
eggs = ${xlte:egg}
scripts = xamari
[setcap]
recipe = plone.recipe.command
command = sudo -n /opt/amarisoft/setcap ${dnsmasq:location}/sbin/dnsmasq || true
update-command = ${:command}
[versions]
websocket-client = 1.4.2
ncclient = 0.6.13
...
...
software/ors-amarisoft/software-tdd.cfg
View file @
d1dd05d6
...
...
@@ -30,3 +30,8 @@ min-frequency = 0
max-frequency = 0
default-n-antenna-dl =2
default-n-antenna-ul =2
[rf-mode]
rf-mode = tdd
software/ors-amarisoft/software-tdd1900.cfg
View file @
d1dd05d6
...
...
@@ -30,3 +30,8 @@ min-frequency = 1880.0
max-frequency = 1920
default-n-antenna-dl =2
default-n-antenna-ul =2
[rf-mode]
rf-mode = tdd
software/ors-amarisoft/software-tdd2600.cfg
View file @
d1dd05d6
...
...
@@ -30,3 +30,8 @@ min-frequency = 2570
max-frequency = 2620
default-n-antenna-dl =2
default-n-antenna-ul =2
[rf-mode]
rf-mode = tdd
software/ors-amarisoft/software-tdd3500.cfg
View file @
d1dd05d6
...
...
@@ -30,3 +30,8 @@ min-frequency = 3400
max-frequency = 3600
default-n-antenna-dl =2
default-n-antenna-ul =2
[rf-mode]
rf-mode = tdd
software/ors-amarisoft/software-tdd3700.cfg
View file @
d1dd05d6
...
...
@@ -30,3 +30,8 @@ min-frequency = 3600
max-frequency = 3800
default-n-antenna-dl =2
default-n-antenna-ul =2
[rf-mode]
rf-mode = tdd
software/ors-amarisoft/software.jinja2.cfg
View file @
d1dd05d6
...
...
@@ -30,3 +30,10 @@ min-frequency = {{ min_frequency }}
max-frequency = {{ max_frequency }}
default-n-antenna-dl ={{ default_n_antenna_dl }}
default-n-antenna-ul ={{ default_n_antenna_ul }}
[rf-mode]
{% if 'tdd' in rf_mode %}
rf-mode = tdd
{% else %}
rf-mode = fdd
{% endif %}
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