Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Romain Courteaud
slapos
Commits
823fa7b2
Commit
823fa7b2
authored
Apr 27, 2022
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ors-amarisoft: eNB / gNB logs cleanup
parent
b33ce87f
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
8 deletions
+15
-8
software/ors-amarisoft/buildout.hash.cfg
software/ors-amarisoft/buildout.hash.cfg
+4
-4
software/ors-amarisoft/config/enb.jinja2.cfg
software/ors-amarisoft/config/enb.jinja2.cfg
+1
-1
software/ors-amarisoft/instance-enb.jinja2.cfg
software/ors-amarisoft/instance-enb.jinja2.cfg
+8
-1
software/ors-amarisoft/instance-epc.jinja2.cfg
software/ors-amarisoft/instance-epc.jinja2.cfg
+1
-1
software/ors-amarisoft/instance-gnb.jinja2.cfg
software/ors-amarisoft/instance-gnb.jinja2.cfg
+1
-1
No files found.
software/ors-amarisoft/buildout.hash.cfg
View file @
823fa7b2
...
@@ -24,7 +24,7 @@ md5sum = 1358f8e0a4cecefe4cdf389b69067f34
...
@@ -24,7 +24,7 @@ md5sum = 1358f8e0a4cecefe4cdf389b69067f34
[template-lte-enb]
[template-lte-enb]
_update_hash_filename_ = instance-enb.jinja2.cfg
_update_hash_filename_ = instance-enb.jinja2.cfg
md5sum =
71ca45e186afbc3be8e6d6f541142bf7
md5sum =
80ee6b6aae270e5a44e84ba8edc6b3c6
[template-lte-gnb-epc]
[template-lte-gnb-epc]
_update_hash_filename_ = instance-gnb-epc.jinja2.cfg
_update_hash_filename_ = instance-gnb-epc.jinja2.cfg
...
@@ -32,11 +32,11 @@ md5sum = b15e678779dee0a26746487990fedc01
...
@@ -32,11 +32,11 @@ md5sum = b15e678779dee0a26746487990fedc01
[template-lte-gnb]
[template-lte-gnb]
_update_hash_filename_ = instance-gnb.jinja2.cfg
_update_hash_filename_ = instance-gnb.jinja2.cfg
md5sum =
b1bb29784c9f71ab0dd41e5cd997078
4
md5sum =
f636b5a0fe543c4d3b3eaf3fcc7fd85
4
[template-lte-epc]
[template-lte-epc]
_update_hash_filename_ = instance-epc.jinja2.cfg
_update_hash_filename_ = instance-epc.jinja2.cfg
md5sum =
7266e97e2aad20c4c224e1663139535b
md5sum =
0c69dee1e1afcdcca250fa78e76a0615
[ue_db.jinja2.cfg]
[ue_db.jinja2.cfg]
filename = config/ue_db.jinja2.cfg
filename = config/ue_db.jinja2.cfg
...
@@ -44,7 +44,7 @@ md5sum = d33163012d6c98efc59161974c649557
...
@@ -44,7 +44,7 @@ md5sum = d33163012d6c98efc59161974c649557
[enb.jinja2.cfg]
[enb.jinja2.cfg]
filename = config/enb.jinja2.cfg
filename = config/enb.jinja2.cfg
md5sum = 8
cac0de54f54236e750ee85b98de8a31
md5sum = 8
90642570bb905033d88c8ef7426850b
[gnb.jinja2.cfg]
[gnb.jinja2.cfg]
filename = config/gnb.jinja2.cfg
filename = config/gnb.jinja2.cfg
...
...
software/ors-amarisoft/config/enb.jinja2.cfg
View file @
823fa7b2
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
- 'max_size': set the maximum size of the hex dump. 0 means no
- 'max_size': set the maximum size of the hex dump. 0 means no
hex dump. -1 means no limit.
hex dump. -1 means no limit.
*/
*/
log_options: "all.level=
debug,all.max_size=32
",
log_options: "all.level=
info,all.max_size=32,file.rotate=1G,file.path={{ directory['tmp'] }}
",
log_filename: "{{ directory['log'] }}/enb.log",
log_filename: "{{ directory['log'] }}/enb.log",
/* Enable remote API and Web interface */
/* Enable remote API and Web interface */
...
...
software/ors-amarisoft/instance-enb.jinja2.cfg
View file @
823fa7b2
...
@@ -5,6 +5,7 @@ parts =
...
@@ -5,6 +5,7 @@ parts =
lte-enb-config
lte-enb-config
lte-enb-service
lte-enb-service
sdr-busy-promise
sdr-busy-promise
remove-tmp
monitor-base
monitor-base
publish-connection-information
publish-connection-information
...
@@ -14,6 +15,11 @@ eggs-directory = {{ eggs_directory }}
...
@@ -14,6 +15,11 @@ eggs-directory = {{ eggs_directory }}
develop-eggs-directory = {{ develop_eggs_directory }}
develop-eggs-directory = {{ develop_eggs_directory }}
offline = true
offline = true
[remove-tmp]
# Remove old logs stored in tmp directory to prevent disk from becoming full
recipe = plone.recipe.command
command = rm -rf ${directory:tmp}/*
[slap-configuration]
[slap-configuration]
recipe = slapos.cookbook:slapconfiguration
recipe = slapos.cookbook:slapconfiguration
computer = {{ slap_connection['computer-id'] }}
computer = {{ slap_connection['computer-id'] }}
...
@@ -45,6 +51,7 @@ etc = ${:home}/etc
...
@@ -45,6 +51,7 @@ etc = ${:home}/etc
var = ${:home}/var
var = ${:home}/var
etc = ${:home}/etc
etc = ${:home}/etc
bin = ${:home}/bin
bin = ${:home}/bin
tmp = ${:home}/tmp
run = ${:var}/run
run = ${:var}/run
script = ${:etc}/run
script = ${:etc}/run
service = ${:etc}/service
service = ${:etc}/service
...
@@ -73,7 +80,7 @@ output = ${directory:bin}/${:_buildout_section_name_}
...
@@ -73,7 +80,7 @@ output = ${directory:bin}/${:_buildout_section_name_}
inline =
inline =
#!/bin/sh
#!/bin/sh
sudo /opt/amarisoft/rm-tmp-lte | true;
sudo /opt/amarisoft/rm-tmp-lte | true;
{{ enb }}/lteenb ${directory:etc}/enb.cfg >> ${directory:log}/enb-output.
cfg 2>> ${directory:log}/enb-output.cf
g
{{ enb }}/lteenb ${directory:etc}/enb.cfg >> ${directory:log}/enb-output.
log 2>> ${directory:log}/enb-output.lo
g
### eNodeB (enb)
### eNodeB (enb)
[lte-enb-service]
[lte-enb-service]
...
...
software/ors-amarisoft/instance-epc.jinja2.cfg
View file @
823fa7b2
...
@@ -84,7 +84,7 @@ output = ${directory:bin}/${:_buildout_section_name_}
...
@@ -84,7 +84,7 @@ output = ${directory:bin}/${:_buildout_section_name_}
inline =
inline =
#!/bin/sh
#!/bin/sh
rm -f ${directory:var}/lte_ue.db;
rm -f ${directory:var}/lte_ue.db;
{{ mme }}/ltemme ${directory:etc}/mme.cfg >> ${directory:log}/mme-output.
cfg 2>> ${directory:log}/mme-output.cf
g
{{ mme }}/ltemme ${directory:etc}/mme.cfg >> ${directory:log}/mme-output.
log 2>> ${directory:log}/mme-output.lo
g
### MME
### MME
[lte-mme-service]
[lte-mme-service]
...
...
software/ors-amarisoft/instance-gnb.jinja2.cfg
View file @
823fa7b2
...
@@ -80,7 +80,7 @@ output = ${directory:bin}/${:_buildout_section_name_}
...
@@ -80,7 +80,7 @@ output = ${directory:bin}/${:_buildout_section_name_}
inline =
inline =
#!/bin/sh
#!/bin/sh
sudo /opt/amarisoft/rm-tmp-lte | true;
sudo /opt/amarisoft/rm-tmp-lte | true;
{{ enb }}/lteenb ${directory:etc}/gnb.cfg >> ${directory:log}/gnb-output.
cfg 2>> ${directory:log}/gnb-output.cf
g
{{ enb }}/lteenb ${directory:etc}/gnb.cfg >> ${directory:log}/gnb-output.
log 2>> ${directory:log}/gnb-output.lo
g
### eNodeB (enb)
### eNodeB (enb)
[lte-enb-service]
[lte-enb-service]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment