Commit 96264ad1 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 6418677d
...@@ -89,6 +89,26 @@ ...@@ -89,6 +89,26 @@
log_filename: "{{ directory['log'] }}/enb.log", log_filename: "{{ directory['log'] }}/enb.log",
{# instantiate radio units #}
rf_driver: {
{%- if slapparameter_dict.get('disable_sdr', False) %}
name: "dummy",
{%- else %}
name: "sdr",
{%- endif %}
{%- for rf_port, (ru_ref, ru) in enumerate(ru_dict|dictsort) %}
{%- do ru['.rf_port'] = rf_port %}
{%- if ru['ru_type'] == 'sdr' %}
{%- elif ru['ru_type] == 'lopcomm' XXX %}
XXX
{%- endif %}
{%- endfor %}
}
# XXX <- trx_X # XXX <- trx_X
{% if slapparameter_dict.get('rrh', 'ORS') == "Lopcomm ORAN" %} {% if slapparameter_dict.get('rrh', 'ORS') == "Lopcomm ORAN" %}
rf_driver: { rf_driver: {
......
...@@ -16,8 +16,8 @@ ...@@ -16,8 +16,8 @@
], ],
"properties": { "properties": {
"ru_type": { "ru_type": {
"const": "ru_lopcomm", "const": "lopcomm",
"template": "ru_lopcomm", "template": "lopcomm",
"options": { "hidden": true } "options": { "hidden": true }
}, },
"mac_addr": { "mac_addr": {
......
...@@ -8,8 +8,8 @@ ...@@ -8,8 +8,8 @@
"properties": { "properties": {
"ru_type": { "ru_type": {
"const": "ru_sdr", "const": "sdr",
"template": "ru_sdr", "template": "sdr",
"options": { "hidden": true } "options": { "hidden": true }
}, },
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment