Commit 8244c24b authored by Lu Xu's avatar Lu Xu 👀

software/ors-amarisoft: prepare for firmware installation

parent a1058722
......@@ -36,7 +36,7 @@ md5sum = b34fe47a73890097fbc6ea6374aeb38d
[template-enb]
_update_hash_filename_ = instance-enb.jinja2.cfg
md5sum = f372570f16e73f5cc4e638792fd2d5e6
md5sum = 3f7416ff8d012de487479e0372c515a3
[template-gnb]
_update_hash_filename_ = instance-gnb.jinja2.cfg
......
......@@ -8,6 +8,7 @@ parts =
amarisoft-stats-service
amarisoft-rf-info-service
{% if slapparameter_dict.get('rrh', '') == "Lopcomm ORAN" %}
lopcomm-firmware-dl
lopcomm-rrh-stats-service
lopcomm-rrh-config-template
lopcomm-cu-config
......@@ -292,6 +293,14 @@ mode = 0775
hash-files =
${lopcomm-rrh-stats-template:output}
[lopcomm-firmware-dl]
recipe = slapos.recipe.build:download
url = https://lab.nexedi.com/nexedi/ors-utils/raw/master/lopcomm-firmware/PR.PRM61C70V1002.K010927.tar.gz
filename = PR.PRM61C70V1002.K010927.tar.gz
md5sum = 677c96f11031b7137606b9789f781c35
destination = ${directory:etc}/${:filename}
offline = false
[config-base]
recipe = slapos.recipe.template:jinja2
extensions = jinja2.ext.do
......
<software-activate xmlns="urn:o-ran:software-management:1.0">
<slot-name>slot-1</slot-name>
</software-activate>
\ No newline at end of file
<software-download xmlns="urn:o-ran:software-management:1.0">
<remote-file-path>sftp://test@10.75.35.7/PR.PR46Q1LNV1001.1.tar.gz</remote-file-path>
<password>
<password>123456</password>
</password>
</software-download>
\ No newline at end of file
<software-install xmlns="urn:o-ran:software-management:1.0">
<slot-name>slot-1</slot-name>
<file-names>PR.PR46Q1LNV1001.1.tar.gz</file-names>
</software-install>
\ No newline at end of file
<software-activate xmlns="urn:o-ran:software-management:1.0">
<slot-name>slot-1</slot-name>
</software-activate>
\ No newline at end of file
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