Commit c93f766e authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent f5c75b3a
......@@ -97,17 +97,25 @@
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' %}
{%- set dev_argv = [] %}
{%- for rf_port, (ru_ref, ru) in enumerate(ru_dict|dictsort) %}
{%- do ru['.rf_port'] = rf_port %}
{%- if ru['ru_type'] == 'sdr' %}
{%- for n in ru['dev_list'] %}
{%- dev_argv.append("dev%d=/dev/sdr%x" % (len(dev_argv), n)) %}
{%- endfor %}
rx_antenna:"tx_rx",
tdd_tx_mod: 1,
{%- elif ru['ru_link_type'] == 'cpri' %}
{%-
{%- elif ru['ru_type] == 'lopcomm' XXX %}
XXX
{%- endif %}
{%- endfor %}
args: "{{dev_argv | join(',')}}",
}
......
......@@ -20,6 +20,9 @@
"template": "lopcomm",
"options": { "hidden": true }
},
"$ref": "../common-input-schema.json",
"mac_addr": {
"title": "RRH MAC address",
"description": "RRH MAC address used for DNSMASQ",
......
......@@ -20,7 +20,7 @@
"options": { "hidden": true }
},
"rf_port": {
"dev_list": {
"title": "SDR boards",
"description": "Which SDR boards to use as combined RF port",
"type": "array",
......@@ -30,6 +30,8 @@
},
"minItems": 1,
"uniqueItems": true
}
},
"$ref": "../common-input-schema.json"
}
}
rfport: string # e.g. sdrX + sdrY + sdrZ
......@@ -4,7 +4,7 @@
"type": "object",
"required": [
"ru_type",
"ru_type"
],
"properties": {
......@@ -13,6 +13,7 @@
"template": "ru_sunvawe",
"options": { "hidden": true }
},
}
"$ref": "../common-input-schema.json"
}
}
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