From e1ed7bd17fbc5155db022edeedaae93f04b64c77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joanne=20Hug=C3=A9?= <joanne.huge@nexedi.com> Date: Thu, 29 Sep 2022 13:42:39 +0200 Subject: [PATCH] software/ors-amarisoft: run init-sdr and init-enb before starting eNB --- software/ors-amarisoft/buildout.hash.cfg | 4 ++-- software/ors-amarisoft/instance-enb.jinja2.cfg | 2 ++ software/ors-amarisoft/instance-gnb.jinja2.cfg | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/software/ors-amarisoft/buildout.hash.cfg b/software/ors-amarisoft/buildout.hash.cfg index 0898c67b3..2476607b6 100644 --- a/software/ors-amarisoft/buildout.hash.cfg +++ b/software/ors-amarisoft/buildout.hash.cfg @@ -24,7 +24,7 @@ md5sum = c9994f2ef03edd7d6773307a6385c47c [template-lte-enb] _update_hash_filename_ = instance-enb.jinja2.cfg -md5sum = c450b8c307d20738a98bcb4f6ffeee16 +md5sum = 34026b07bdd850dd3fb3ffff5377a0c2 [template-lte-gnb-epc] _update_hash_filename_ = instance-gnb-epc.jinja2.cfg @@ -36,7 +36,7 @@ md5sum = b17674f523adce9b0dda942c1493674d [template-lte-gnb] _update_hash_filename_ = instance-gnb.jinja2.cfg -md5sum = 9732653a0e2c7fe91d80da80762430d2 +md5sum = 7acdbad30c130faa3bce49b04b2c0c2f [template-lte-mme] _update_hash_filename_ = instance-mme.jinja2.cfg diff --git a/software/ors-amarisoft/instance-enb.jinja2.cfg b/software/ors-amarisoft/instance-enb.jinja2.cfg index 7aa2debe5..55f91560a 100644 --- a/software/ors-amarisoft/instance-enb.jinja2.cfg +++ b/software/ors-amarisoft/instance-enb.jinja2.cfg @@ -75,6 +75,8 @@ inline = #!/bin/sh {% if not slapparameter_dict.get("testing", False) %} sudo /opt/amarisoft/rm-tmp-lte | true; + sudo /opt/amarisoft/init-sdr | true; + sudo /opt/amarisoft/init-enb | true; {{ enb }}/lteenb ${directory:etc}/enb.cfg >> ${directory:log}/enb-output.log 2>> ${directory:log}/enb-output.log {% endif %} diff --git a/software/ors-amarisoft/instance-gnb.jinja2.cfg b/software/ors-amarisoft/instance-gnb.jinja2.cfg index 3bb591396..3c181afff 100644 --- a/software/ors-amarisoft/instance-gnb.jinja2.cfg +++ b/software/ors-amarisoft/instance-gnb.jinja2.cfg @@ -76,6 +76,8 @@ inline = #!/bin/sh {% if not slapparameter_dict.get("testing", False) %} sudo /opt/amarisoft/rm-tmp-lte | true; + sudo /opt/amarisoft/init-sdr | true; + sudo /opt/amarisoft/init-enb | true; {{ enb }}/lteenb ${directory:etc}/gnb.cfg >> ${directory:log}/gnb-output.log 2>> ${directory:log}/gnb-output.log {% endif %} -- 2.30.9