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
d109f939
Commit
d109f939
authored
Oct 20, 2023
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
3a1b3c8f
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
16 deletions
+6
-16
software/ors-amarisoft/amari/slap.jinja2
software/ors-amarisoft/amari/slap.jinja2
+3
-0
software/ors-amarisoft/config/dnsmasq.jinja2.cfg
software/ors-amarisoft/config/dnsmasq.jinja2.cfg
+1
-1
software/ors-amarisoft/instance-enb-input-schema.json.jinja2
software/ors-amarisoft/instance-enb-input-schema.json.jinja2
+0
-14
software/ors-amarisoft/ru/lopcomm/input-schema.json
software/ors-amarisoft/ru/lopcomm/input-schema.json
+2
-1
No files found.
software/ors-amarisoft/amari/slap.jinja2
View file @
d109f939
...
@@ -21,6 +21,9 @@
...
@@ -21,6 +21,9 @@
'ru/sdr': {
'ru/sdr': {
'txrx_active': 'ACTIVE',
'txrx_active': 'ACTIVE',
},
},
'ru/lopcomm': {
'mac_addr': '00:0a:00:00:10:20',
},
'cell/lte': {
'cell/lte': {
'pci': 1,
'pci': 1,
...
...
software/ors-amarisoft/config/dnsmasq.jinja2.cfg
View file @
d109f939
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
dhcp-leasefile={{ directory['etc'] }}/dnsmasq.leases
dhcp-leasefile={{ directory['etc'] }}/dnsmasq.leases
port=5354
port=5354
dhcp-range=::1,::1,constructor:{{ slap_configuration.get('tap-name', '') }},ra-names,64,5m
dhcp-range=::1,::1,constructor:{{ slap_configuration.get('tap-name', '') }},ra-names,64,5m
dhcp-host={{
slapparameter_dict.get('rrh_mac_addr', '00:0a:00:00:10:20')
}},[{{ netaddr.IPAddress(slap_configuration.get('tap-ipv6-gateway', '')) }}]
dhcp-host={{
ru.mac_addr
}},[{{ netaddr.IPAddress(slap_configuration.get('tap-ipv6-gateway', '')) }}]
dhcp-option=option6:dns-server,[{{ netaddr.IPAddress(slap_configuration.get('tap-ipv6-gateway', '')) + 1 }}],[{{ netaddr.IPAddress(slap_configuration.get('tap-ipv6-gateway', '')) + 2 }}]
dhcp-option=option6:dns-server,[{{ netaddr.IPAddress(slap_configuration.get('tap-ipv6-gateway', '')) + 1 }}],[{{ netaddr.IPAddress(slap_configuration.get('tap-ipv6-gateway', '')) + 2 }}]
dhcp-option=option6:domain-search,bbu.local
dhcp-option=option6:domain-search,bbu.local
# option 17 used for RU callhome
# option 17 used for RU callhome
...
...
software/ors-amarisoft/instance-enb-input-schema.json.jinja2
View file @
d109f939
...
@@ -174,20 +174,6 @@
...
@@ -174,20 +174,6 @@
"description": "Rx gain (in dB)",
"description": "Rx gain (in dB)",
"type": "number"
"type": "number"
},
},
{%- endif %}
{%- if trx == 'cpri' %}
"dnsmasq": {
"default": false,
"title": "dnsmasq",
"description": "dnsmasq",
"type": "boolean"
},
"rrh_mac_addr": {
"default": "00:0a:00:00:10:20",
"title": "RRH MAC address",
"description": "RRH MAC address used for DNSMASQ",
"type": "string"
},
{%- endif %}
{%- endif %}
"enb_id": {
"enb_id": {
"title": "eNB ID",
"title": "eNB ID",
...
...
software/ors-amarisoft/ru/lopcomm/input-schema.json
View file @
d109f939
...
@@ -33,7 +33,8 @@
...
@@ -33,7 +33,8 @@
"mac_addr"
:
{
"mac_addr"
:
{
"title"
:
"RU MAC address"
,
"title"
:
"RU MAC address"
,
"description"
:
"RU MAC address used for DNSMASQ"
,
"description"
:
"RU MAC address used for DNSMASQ"
,
"type"
:
"string"
"type"
:
"string"
,
"default"
:
"00:0a:00:00:10:20"
},
},
"reset_schedule"
:
{
"reset_schedule"
:
{
"title"
:
"Cron schedule for RRH reset"
,
"title"
:
"Cron schedule for RRH reset"
,
...
...
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