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
Paul Graydon
slapos
Commits
bb5c70ad
Commit
bb5c70ad
authored
Nov 14, 2022
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ors-amarisoft: fix tests and jinja2 template linebreak
parent
642e955f
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
29 additions
and
4 deletions
+29
-4
software/ors-amarisoft/buildout.hash.cfg
software/ors-amarisoft/buildout.hash.cfg
+2
-2
software/ors-amarisoft/instance-enb-epc.jinja2.cfg
software/ors-amarisoft/instance-enb-epc.jinja2.cfg
+1
-1
software/ors-amarisoft/instance-gnb-epc.jinja2.cfg
software/ors-amarisoft/instance-gnb-epc.jinja2.cfg
+1
-1
software/ors-amarisoft/test/test.jinja2.py
software/ors-amarisoft/test/test.jinja2.py
+5
-0
software/ors-amarisoft/test/testTDD1900.py
software/ors-amarisoft/test/testTDD1900.py
+5
-0
software/ors-amarisoft/test/testTDD2600.py
software/ors-amarisoft/test/testTDD2600.py
+5
-0
software/ors-amarisoft/test/testTDD3500.py
software/ors-amarisoft/test/testTDD3500.py
+5
-0
software/ors-amarisoft/test/testTDD3700.py
software/ors-amarisoft/test/testTDD3700.py
+5
-0
No files found.
software/ors-amarisoft/buildout.hash.cfg
View file @
bb5c70ad
...
@@ -20,7 +20,7 @@ md5sum = 6e5c63c35b13f8920ea13e24c27d7b50
...
@@ -20,7 +20,7 @@ md5sum = 6e5c63c35b13f8920ea13e24c27d7b50
[template-lte-enb-epc]
[template-lte-enb-epc]
_update_hash_filename_ = instance-enb-epc.jinja2.cfg
_update_hash_filename_ = instance-enb-epc.jinja2.cfg
md5sum =
80a239305950ed76b5279647f422478f
md5sum =
42959a0525d2e06e61310836656d5de6
[template-lte-enb]
[template-lte-enb]
_update_hash_filename_ = instance-enb.jinja2.cfg
_update_hash_filename_ = instance-enb.jinja2.cfg
...
@@ -28,7 +28,7 @@ md5sum = 04dbc8396cb112e86d5d1564df033b82
...
@@ -28,7 +28,7 @@ md5sum = 04dbc8396cb112e86d5d1564df033b82
[template-lte-gnb-epc]
[template-lte-gnb-epc]
_update_hash_filename_ = instance-gnb-epc.jinja2.cfg
_update_hash_filename_ = instance-gnb-epc.jinja2.cfg
md5sum =
dadb76e747faeea18c387109c3319dfd
md5sum =
2b589e23486661c52f379c4d9b35e7a9
[template-lte-epc]
[template-lte-epc]
_update_hash_filename_ = instance-epc.jinja2.cfg
_update_hash_filename_ = instance-epc.jinja2.cfg
...
...
software/ors-amarisoft/instance-enb-epc.jinja2.cfg
View file @
bb5c70ad
...
@@ -78,7 +78,7 @@ software-type = enb
...
@@ -78,7 +78,7 @@ software-type = enb
config-name = enb
config-name = enb
{%- for key, value in slapparameter_dict.items() %}
{%- for key, value in slapparameter_dict.items() %}
config-{{ key }} = {{ dumps(value) }}
config-{{ key }} = {{ dumps(value) }}
{% endfor
-
%}
{% endfor %}
return = monitor-base-url
return = monitor-base-url
[monitor-base-url-dict]
[monitor-base-url-dict]
...
...
software/ors-amarisoft/instance-gnb-epc.jinja2.cfg
View file @
bb5c70ad
...
@@ -67,7 +67,7 @@ software-type = mme
...
@@ -67,7 +67,7 @@ software-type = mme
config-name = mme
config-name = mme
{%- for key, value in slapparameter_dict.items() %}
{%- for key, value in slapparameter_dict.items() %}
config-{{ key }} = {{ dumps(value) }}
config-{{ key }} = {{ dumps(value) }}
{% endfor
-
%}
{% endfor %}
config-slave-list = {{ dumps(slave_instance_list) }}
config-slave-list = {{ dumps(slave_instance_list) }}
return = monitor-base-url epc-ipv6
return = monitor-base-url epc-ipv6
...
...
software/ors-amarisoft/test/test.jinja2.py
View file @
bb5c70ad
...
@@ -220,6 +220,7 @@ class TestEPCParameters(ORSTestCase):
...
@@ -220,6 +220,7 @@ class TestEPCParameters(ORSTestCase):
def
getInstanceSoftwareType
(
cls
):
def
getInstanceSoftwareType
(
cls
):
return
"epc"
return
"epc"
def
test_mme_conf
(
self
):
def
test_mme_conf
(
self
):
self
.
slap
.
waitForInstance
()
# Wait until publish is done
test_mme_conf
(
self
)
test_mme_conf
(
self
)
class
TestENBEPCParameters
(
ORSTestCase
):
class
TestENBEPCParameters
(
ORSTestCase
):
...
@@ -230,8 +231,10 @@ class TestENBEPCParameters(ORSTestCase):
...
@@ -230,8 +231,10 @@ class TestENBEPCParameters(ORSTestCase):
def
getInstanceSoftwareType
(
cls
):
def
getInstanceSoftwareType
(
cls
):
return
"enb-epc"
return
"enb-epc"
def
test_enb_conf
(
self
):
def
test_enb_conf
(
self
):
self
.
slap
.
waitForInstance
()
# Wait until publish is done
test_enb_conf
(
self
)
test_enb_conf
(
self
)
def
test_mme_conf
(
self
):
def
test_mme_conf
(
self
):
self
.
slap
.
waitForInstance
()
# Wait until publish is done
test_mme_conf
(
self
)
test_mme_conf
(
self
)
class
TestGNBEPCParameters
(
ORSTestCase
):
class
TestGNBEPCParameters
(
ORSTestCase
):
...
@@ -242,8 +245,10 @@ class TestGNBEPCParameters(ORSTestCase):
...
@@ -242,8 +245,10 @@ class TestGNBEPCParameters(ORSTestCase):
def
getInstanceSoftwareType
(
cls
):
def
getInstanceSoftwareType
(
cls
):
return
"gnb-epc"
return
"gnb-epc"
def
test_gnb_conf
(
self
):
def
test_gnb_conf
(
self
):
self
.
slap
.
waitForInstance
()
# Wait until publish is done
test_gnb_conf1
(
self
)
test_gnb_conf1
(
self
)
def
test_mme_conf
(
self
):
def
test_mme_conf
(
self
):
self
.
slap
.
waitForInstance
()
# Wait until publish is done
test_mme_conf
(
self
)
test_mme_conf
(
self
)
def
requestSlaveInstance
(
cls
,
software_type
):
def
requestSlaveInstance
(
cls
,
software_type
):
...
...
software/ors-amarisoft/test/testTDD1900.py
View file @
bb5c70ad
...
@@ -220,6 +220,7 @@ class TestEPCParameters(ORSTestCase):
...
@@ -220,6 +220,7 @@ class TestEPCParameters(ORSTestCase):
def
getInstanceSoftwareType
(
cls
):
def
getInstanceSoftwareType
(
cls
):
return
"epc"
return
"epc"
def
test_mme_conf
(
self
):
def
test_mme_conf
(
self
):
self
.
slap
.
waitForInstance
()
# Wait until publish is done
test_mme_conf
(
self
)
test_mme_conf
(
self
)
class
TestENBEPCParameters
(
ORSTestCase
):
class
TestENBEPCParameters
(
ORSTestCase
):
...
@@ -230,8 +231,10 @@ class TestENBEPCParameters(ORSTestCase):
...
@@ -230,8 +231,10 @@ class TestENBEPCParameters(ORSTestCase):
def
getInstanceSoftwareType
(
cls
):
def
getInstanceSoftwareType
(
cls
):
return
"enb-epc"
return
"enb-epc"
def
test_enb_conf
(
self
):
def
test_enb_conf
(
self
):
self
.
slap
.
waitForInstance
()
# Wait until publish is done
test_enb_conf
(
self
)
test_enb_conf
(
self
)
def
test_mme_conf
(
self
):
def
test_mme_conf
(
self
):
self
.
slap
.
waitForInstance
()
# Wait until publish is done
test_mme_conf
(
self
)
test_mme_conf
(
self
)
class
TestGNBEPCParameters
(
ORSTestCase
):
class
TestGNBEPCParameters
(
ORSTestCase
):
...
@@ -242,8 +245,10 @@ class TestGNBEPCParameters(ORSTestCase):
...
@@ -242,8 +245,10 @@ class TestGNBEPCParameters(ORSTestCase):
def
getInstanceSoftwareType
(
cls
):
def
getInstanceSoftwareType
(
cls
):
return
"gnb-epc"
return
"gnb-epc"
def
test_gnb_conf
(
self
):
def
test_gnb_conf
(
self
):
self
.
slap
.
waitForInstance
()
# Wait until publish is done
test_gnb_conf1
(
self
)
test_gnb_conf1
(
self
)
def
test_mme_conf
(
self
):
def
test_mme_conf
(
self
):
self
.
slap
.
waitForInstance
()
# Wait until publish is done
test_mme_conf
(
self
)
test_mme_conf
(
self
)
def
requestSlaveInstance
(
cls
,
software_type
):
def
requestSlaveInstance
(
cls
,
software_type
):
...
...
software/ors-amarisoft/test/testTDD2600.py
View file @
bb5c70ad
...
@@ -220,6 +220,7 @@ class TestEPCParameters(ORSTestCase):
...
@@ -220,6 +220,7 @@ class TestEPCParameters(ORSTestCase):
def
getInstanceSoftwareType
(
cls
):
def
getInstanceSoftwareType
(
cls
):
return
"epc"
return
"epc"
def
test_mme_conf
(
self
):
def
test_mme_conf
(
self
):
self
.
slap
.
waitForInstance
()
# Wait until publish is done
test_mme_conf
(
self
)
test_mme_conf
(
self
)
class
TestENBEPCParameters
(
ORSTestCase
):
class
TestENBEPCParameters
(
ORSTestCase
):
...
@@ -230,8 +231,10 @@ class TestENBEPCParameters(ORSTestCase):
...
@@ -230,8 +231,10 @@ class TestENBEPCParameters(ORSTestCase):
def
getInstanceSoftwareType
(
cls
):
def
getInstanceSoftwareType
(
cls
):
return
"enb-epc"
return
"enb-epc"
def
test_enb_conf
(
self
):
def
test_enb_conf
(
self
):
self
.
slap
.
waitForInstance
()
# Wait until publish is done
test_enb_conf
(
self
)
test_enb_conf
(
self
)
def
test_mme_conf
(
self
):
def
test_mme_conf
(
self
):
self
.
slap
.
waitForInstance
()
# Wait until publish is done
test_mme_conf
(
self
)
test_mme_conf
(
self
)
class
TestGNBEPCParameters
(
ORSTestCase
):
class
TestGNBEPCParameters
(
ORSTestCase
):
...
@@ -242,8 +245,10 @@ class TestGNBEPCParameters(ORSTestCase):
...
@@ -242,8 +245,10 @@ class TestGNBEPCParameters(ORSTestCase):
def
getInstanceSoftwareType
(
cls
):
def
getInstanceSoftwareType
(
cls
):
return
"gnb-epc"
return
"gnb-epc"
def
test_gnb_conf
(
self
):
def
test_gnb_conf
(
self
):
self
.
slap
.
waitForInstance
()
# Wait until publish is done
test_gnb_conf1
(
self
)
test_gnb_conf1
(
self
)
def
test_mme_conf
(
self
):
def
test_mme_conf
(
self
):
self
.
slap
.
waitForInstance
()
# Wait until publish is done
test_mme_conf
(
self
)
test_mme_conf
(
self
)
def
requestSlaveInstance
(
cls
,
software_type
):
def
requestSlaveInstance
(
cls
,
software_type
):
...
...
software/ors-amarisoft/test/testTDD3500.py
View file @
bb5c70ad
...
@@ -220,6 +220,7 @@ class TestEPCParameters(ORSTestCase):
...
@@ -220,6 +220,7 @@ class TestEPCParameters(ORSTestCase):
def
getInstanceSoftwareType
(
cls
):
def
getInstanceSoftwareType
(
cls
):
return
"epc"
return
"epc"
def
test_mme_conf
(
self
):
def
test_mme_conf
(
self
):
self
.
slap
.
waitForInstance
()
# Wait until publish is done
test_mme_conf
(
self
)
test_mme_conf
(
self
)
class
TestENBEPCParameters
(
ORSTestCase
):
class
TestENBEPCParameters
(
ORSTestCase
):
...
@@ -230,8 +231,10 @@ class TestENBEPCParameters(ORSTestCase):
...
@@ -230,8 +231,10 @@ class TestENBEPCParameters(ORSTestCase):
def
getInstanceSoftwareType
(
cls
):
def
getInstanceSoftwareType
(
cls
):
return
"enb-epc"
return
"enb-epc"
def
test_enb_conf
(
self
):
def
test_enb_conf
(
self
):
self
.
slap
.
waitForInstance
()
# Wait until publish is done
test_enb_conf
(
self
)
test_enb_conf
(
self
)
def
test_mme_conf
(
self
):
def
test_mme_conf
(
self
):
self
.
slap
.
waitForInstance
()
# Wait until publish is done
test_mme_conf
(
self
)
test_mme_conf
(
self
)
class
TestGNBEPCParameters
(
ORSTestCase
):
class
TestGNBEPCParameters
(
ORSTestCase
):
...
@@ -242,8 +245,10 @@ class TestGNBEPCParameters(ORSTestCase):
...
@@ -242,8 +245,10 @@ class TestGNBEPCParameters(ORSTestCase):
def
getInstanceSoftwareType
(
cls
):
def
getInstanceSoftwareType
(
cls
):
return
"gnb-epc"
return
"gnb-epc"
def
test_gnb_conf
(
self
):
def
test_gnb_conf
(
self
):
self
.
slap
.
waitForInstance
()
# Wait until publish is done
test_gnb_conf1
(
self
)
test_gnb_conf1
(
self
)
def
test_mme_conf
(
self
):
def
test_mme_conf
(
self
):
self
.
slap
.
waitForInstance
()
# Wait until publish is done
test_mme_conf
(
self
)
test_mme_conf
(
self
)
def
requestSlaveInstance
(
cls
,
software_type
):
def
requestSlaveInstance
(
cls
,
software_type
):
...
...
software/ors-amarisoft/test/testTDD3700.py
View file @
bb5c70ad
...
@@ -220,6 +220,7 @@ class TestEPCParameters(ORSTestCase):
...
@@ -220,6 +220,7 @@ class TestEPCParameters(ORSTestCase):
def
getInstanceSoftwareType
(
cls
):
def
getInstanceSoftwareType
(
cls
):
return
"epc"
return
"epc"
def
test_mme_conf
(
self
):
def
test_mme_conf
(
self
):
self
.
slap
.
waitForInstance
()
# Wait until publish is done
test_mme_conf
(
self
)
test_mme_conf
(
self
)
class
TestENBEPCParameters
(
ORSTestCase
):
class
TestENBEPCParameters
(
ORSTestCase
):
...
@@ -230,8 +231,10 @@ class TestENBEPCParameters(ORSTestCase):
...
@@ -230,8 +231,10 @@ class TestENBEPCParameters(ORSTestCase):
def
getInstanceSoftwareType
(
cls
):
def
getInstanceSoftwareType
(
cls
):
return
"enb-epc"
return
"enb-epc"
def
test_enb_conf
(
self
):
def
test_enb_conf
(
self
):
self
.
slap
.
waitForInstance
()
# Wait until publish is done
test_enb_conf
(
self
)
test_enb_conf
(
self
)
def
test_mme_conf
(
self
):
def
test_mme_conf
(
self
):
self
.
slap
.
waitForInstance
()
# Wait until publish is done
test_mme_conf
(
self
)
test_mme_conf
(
self
)
class
TestGNBEPCParameters
(
ORSTestCase
):
class
TestGNBEPCParameters
(
ORSTestCase
):
...
@@ -242,8 +245,10 @@ class TestGNBEPCParameters(ORSTestCase):
...
@@ -242,8 +245,10 @@ class TestGNBEPCParameters(ORSTestCase):
def
getInstanceSoftwareType
(
cls
):
def
getInstanceSoftwareType
(
cls
):
return
"gnb-epc"
return
"gnb-epc"
def
test_gnb_conf
(
self
):
def
test_gnb_conf
(
self
):
self
.
slap
.
waitForInstance
()
# Wait until publish is done
test_gnb_conf1
(
self
)
test_gnb_conf1
(
self
)
def
test_mme_conf
(
self
):
def
test_mme_conf
(
self
):
self
.
slap
.
waitForInstance
()
# Wait until publish is done
test_mme_conf
(
self
)
test_mme_conf
(
self
)
def
requestSlaveInstance
(
cls
,
software_type
):
def
requestSlaveInstance
(
cls
,
software_type
):
...
...
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