Commit 1b82c1c4 authored by Lu Xu's avatar Lu Xu 👀

software/ors-amarisoft: activate cu_config_link parameter

parent 0ebe5ebb
...@@ -36,7 +36,7 @@ md5sum = b34fe47a73890097fbc6ea6374aeb38d ...@@ -36,7 +36,7 @@ md5sum = b34fe47a73890097fbc6ea6374aeb38d
[template-enb] [template-enb]
_update_hash_filename_ = instance-enb.jinja2.cfg _update_hash_filename_ = instance-enb.jinja2.cfg
md5sum = 6382f871c0f4e7e965c95de7a959342a md5sum = 7d7b73df5fc165f305252e387b1293b1
[template-gnb] [template-gnb]
_update_hash_filename_ = instance-gnb.jinja2.cfg _update_hash_filename_ = instance-gnb.jinja2.cfg
......
...@@ -101,6 +101,15 @@ version = {{ slapparameter_dict.get("enb_config_version") }} ...@@ -101,6 +101,15 @@ version = {{ slapparameter_dict.get("enb_config_version") }}
offline = false offline = false
{% endif %} {% endif %}
{% if slapparameter_dict.get("cu_config_link", None) %}
[cu-config-dl]
recipe = slapos.recipe.build:download
url = {{ slapparameter_dict.get("cu_config_link") }}
version = {{ slapparameter_dict.get("cu_config_version") }}
offline = false
{% endif %}
[enb-sh-wrapper] [enb-sh-wrapper]
recipe = slapos.recipe.template recipe = slapos.recipe.template
output = ${directory:bin}/${:_buildout_section_name_} output = ${directory:bin}/${:_buildout_section_name_}
...@@ -228,7 +237,11 @@ output = ${directory:bin}/lopcomm-rrh-stats.py ...@@ -228,7 +237,11 @@ output = ${directory:bin}/lopcomm-rrh-stats.py
[lopcomm-cu-config] [lopcomm-cu-config]
<= config-base <= config-base
{% if slapparameter_dict.get("cu_config_link", None) %}
url = ${enb-config-dl:target}
{% else %}
url = {{ cu_config_template }} url = {{ cu_config_template }}
{% endif %}
output = ${directory:etc}/cu_config.xml output = ${directory:etc}/cu_config.xml
[lopcomm-rrh-config-template] [lopcomm-rrh-config-template]
......
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