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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Lukas Niegsch
slapos
Commits
28d8594b
Commit
28d8594b
authored
Dec 20, 2021
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/ors-amarisoft: Remove lte_ue during MME launch, not IMS
parent
2d3b80b2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
software/ors-amarisoft/buildout.hash.cfg
software/ors-amarisoft/buildout.hash.cfg
+1
-1
software/ors-amarisoft/instance-epc.jinja2.cfg
software/ors-amarisoft/instance-epc.jinja2.cfg
+4
-2
No files found.
software/ors-amarisoft/buildout.hash.cfg
View file @
28d8594b
...
@@ -36,7 +36,7 @@ md5sum = fc59d15a7f7f942951f9e38d7a1cca2c
...
@@ -36,7 +36,7 @@ md5sum = fc59d15a7f7f942951f9e38d7a1cca2c
[template-lte-epc]
[template-lte-epc]
_update_hash_filename_ = instance-epc.jinja2.cfg
_update_hash_filename_ = instance-epc.jinja2.cfg
md5sum =
0585b4f8fd42538595e6abb61d07fd93
md5sum =
27d423b3a065fa00a3cf65228f4b798a
[ue_db.jinja2.cfg]
[ue_db.jinja2.cfg]
filename = config/ue_db.jinja2.cfg
filename = config/ue_db.jinja2.cfg
...
...
software/ors-amarisoft/instance-epc.jinja2.cfg
View file @
28d8594b
...
@@ -62,7 +62,7 @@ context =
...
@@ -62,7 +62,7 @@ context =
[lte-ims-service]
[lte-ims-service]
recipe = slapos.cookbook:wrapper
recipe = slapos.cookbook:wrapper
init = ${ltelogs:rendered} ${directory:log}/ims.log; sleep 1
init = ${ltelogs:rendered} ${directory:log}/ims.log; sleep 1
command-line =
rm -f ${directory:var}/lte_ue.db;
{{ mme }}/lteims ${directory:etc}/ims.cfg
command-line = {{ mme }}/lteims ${directory:etc}/ims.cfg
wrapper-path = ${directory:service}/lte-ims
wrapper-path = ${directory:service}/lte-ims
mode = 0775
mode = 0775
pidfile = ${directory:run}/ims.pid
pidfile = ${directory:run}/ims.pid
...
@@ -74,7 +74,9 @@ environment = AMARISOFT_PATH=/opt/amarisoft/.amarisoft
...
@@ -74,7 +74,9 @@ environment = AMARISOFT_PATH=/opt/amarisoft/.amarisoft
### MME
### MME
[lte-mme-service]
[lte-mme-service]
recipe = slapos.cookbook:wrapper
recipe = slapos.cookbook:wrapper
init = ${ltelogs:rendered} ${directory:log}/mme.log
# When the machine shutdowns abruptly, lte_ue is not cleaned up which causes
# amarisoft ltemme to fail. TODO: find a cleaner way to handle this
init = ${ltelogs:rendered} ${directory:log}/mme.log; rm -f ${directory:var}/lte_ue.db
command-line = {{ mme }}/ltemme ${directory:etc}/mme.cfg
command-line = {{ mme }}/ltemme ${directory:etc}/mme.cfg
wrapper-path = ${directory:service}/lte-mme
wrapper-path = ${directory:service}/lte-mme
mode = 0775
mode = 0775
...
...
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