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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Rafael Monnerat
slapos
Commits
b7d638e3
Commit
b7d638e3
authored
Jul 22, 2022
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ors-amarisoft: fix json formatting and slave description
parent
59ff0e3b
Changes
12
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
61 additions
and
61 deletions
+61
-61
software/ors-amarisoft/instance-enb-input-schema.jinja2.json
software/ors-amarisoft/instance-enb-input-schema.jinja2.json
+8
-8
software/ors-amarisoft/instance-gnb-input-schema.jinja2.json
software/ors-amarisoft/instance-gnb-input-schema.jinja2.json
+11
-11
software/ors-amarisoft/render-templates
software/ors-amarisoft/render-templates
+4
-4
software/ors-amarisoft/software-tdd1900.cfg
software/ors-amarisoft/software-tdd1900.cfg
+1
-1
software/ors-amarisoft/software-tdd1900.cfg.json
software/ors-amarisoft/software-tdd1900.cfg.json
+7
-7
software/ors-amarisoft/software-tdd2600.cfg
software/ors-amarisoft/software-tdd2600.cfg
+1
-1
software/ors-amarisoft/software-tdd2600.cfg.json
software/ors-amarisoft/software-tdd2600.cfg.json
+7
-7
software/ors-amarisoft/software-tdd3500.cfg
software/ors-amarisoft/software-tdd3500.cfg
+1
-1
software/ors-amarisoft/software-tdd3500.cfg.json
software/ors-amarisoft/software-tdd3500.cfg.json
+7
-7
software/ors-amarisoft/software-tdd3700.cfg
software/ors-amarisoft/software-tdd3700.cfg
+1
-1
software/ors-amarisoft/software-tdd3700.cfg.json
software/ors-amarisoft/software-tdd3700.cfg.json
+7
-7
software/ors-amarisoft/software.cfg.jinja2.json
software/ors-amarisoft/software.cfg.jinja2.json
+6
-6
No files found.
software/ors-amarisoft/instance-enb-input-schema.jinja2.json
View file @
b7d638e3
software/ors-amarisoft/instance-gnb-input-schema.jinja2.json
View file @
b7d638e3
software/ors-amarisoft/render-templates
View file @
b7d638e3
...
@@ -112,16 +112,16 @@ with open('software.jinja2.cfg', 'r') as f:
...
@@ -112,16 +112,16 @@ with open('software.jinja2.cfg', 'r') as f:
for
rf_mode_context
in
rf_mode_context_list
:
for
rf_mode_context
in
rf_mode_context_list
:
with
open
(
'software-{}.cfg.json'
.
format
(
rf_mode_context
[
'rf_mode'
]),
with
open
(
'software-{}.cfg.json'
.
format
(
rf_mode_context
[
'rf_mode'
]),
'w+'
)
as
f
:
'w+'
)
as
f
:
f
.
write
(
software_json_template
.
render
(
**
rf_mode_context
,
**
global_context
))
f
.
write
(
software_json_template
.
render
(
**
rf_mode_context
,
**
global_context
)
+
'
\
n
'
)
with
open
(
'software-{}.cfg'
.
format
(
rf_mode_context
[
'rf_mode'
]),
with
open
(
'software-{}.cfg'
.
format
(
rf_mode_context
[
'rf_mode'
]),
'w+'
)
as
f
:
'w+'
)
as
f
:
f
.
write
(
software_template
.
render
(
**
rf_mode_context
,
**
global_context
))
f
.
write
(
software_template
.
render
(
**
rf_mode_context
,
**
global_context
)
+
'
\
n
'
)
for
software_type
in
[
'enb'
,
'enb-epc'
,
'gnb'
,
'gnb-epc'
]:
for
software_type
in
[
'enb'
,
'enb-epc'
,
'gnb'
,
'gnb-epc'
]:
with
open
(
'instance-{}-{}-input-schema.json'
.
format
(
with
open
(
'instance-{}-{}-input-schema.json'
.
format
(
rf_mode_context
[
'rf_mode'
],
rf_mode_context
[
'rf_mode'
],
software_type
),
software_type
),
'w+'
)
as
f
:
'w+'
)
as
f
:
if
software_type
in
[
'enb'
,
'enb-epc'
]:
if
software_type
in
[
'enb'
,
'enb-epc'
]:
f
.
write
(
instance_enb_json_template
.
render
(
**
rf_mode_context
,
**
global_context
,
epc
=
'epc'
in
software_type
))
f
.
write
(
instance_enb_json_template
.
render
(
**
rf_mode_context
,
**
global_context
,
epc
=
'epc'
in
software_type
)
+
'
\
n
'
)
else
:
else
:
f
.
write
(
instance_gnb_json_template
.
render
(
**
rf_mode_context
,
**
global_context
,
epc
=
'epc'
in
software_type
))
f
.
write
(
instance_gnb_json_template
.
render
(
**
rf_mode_context
,
**
global_context
,
epc
=
'epc'
in
software_type
)
+
'
\
n
'
)
software/ors-amarisoft/software-tdd1900.cfg
View file @
b7d638e3
software/ors-amarisoft/software-tdd1900.cfg.json
View file @
b7d638e3
...
@@ -44,8 +44,8 @@
...
@@ -44,8 +44,8 @@
"index"
:
4
"index"
:
4
},
},
"gnb-epc-slave"
:
{
"gnb-epc-slave"
:
{
"title"
:
"Sim Card"
,
"title"
:
"
gNB-EPC
Sim Card"
,
"description"
:
"Sim Card Configuration"
,
"description"
:
"
gNB-EPC
Sim Card Configuration"
,
"software-type"
:
"gnb-epc"
,
"software-type"
:
"gnb-epc"
,
"request"
:
"instance-gnb-epc-slave-input-schema.json"
,
"request"
:
"instance-gnb-epc-slave-input-schema.json"
,
"response"
:
"instance-gnb-epc-slave-schema.json"
,
"response"
:
"instance-gnb-epc-slave-schema.json"
,
...
@@ -53,8 +53,8 @@
...
@@ -53,8 +53,8 @@
"index"
:
5
"index"
:
5
},
},
"enb-epc-slave"
:
{
"enb-epc-slave"
:
{
"title"
:
"Sim Card"
,
"title"
:
"
eNB-EPC
Sim Card"
,
"description"
:
"Sim Card Configuration"
,
"description"
:
"
eNB-EPC
Sim Card Configuration"
,
"software-type"
:
"enb-epc"
,
"software-type"
:
"enb-epc"
,
"request"
:
"instance-enb-epc-slave-input-schema.json"
,
"request"
:
"instance-enb-epc-slave-input-schema.json"
,
"response"
:
"instance-enb-epc-slave-schema.json"
,
"response"
:
"instance-enb-epc-slave-schema.json"
,
...
@@ -62,8 +62,8 @@
...
@@ -62,8 +62,8 @@
"index"
:
6
"index"
:
6
},
},
"epc-slave"
:
{
"epc-slave"
:
{
"title"
:
"Sim Card"
,
"title"
:
"
EPC
Sim Card"
,
"description"
:
"Sim Card Configuration"
,
"description"
:
"
EPC
Sim Card Configuration"
,
"software-type"
:
"epc"
,
"software-type"
:
"epc"
,
"request"
:
"instance-epc-slave-input-schema.json"
,
"request"
:
"instance-epc-slave-input-schema.json"
,
"response"
:
"instance-epc-slave-schema.json"
,
"response"
:
"instance-epc-slave-schema.json"
,
...
...
software/ors-amarisoft/software-tdd2600.cfg
View file @
b7d638e3
software/ors-amarisoft/software-tdd2600.cfg.json
View file @
b7d638e3
...
@@ -44,8 +44,8 @@
...
@@ -44,8 +44,8 @@
"index"
:
4
"index"
:
4
},
},
"gnb-epc-slave"
:
{
"gnb-epc-slave"
:
{
"title"
:
"Sim Card"
,
"title"
:
"
gNB-EPC
Sim Card"
,
"description"
:
"Sim Card Configuration"
,
"description"
:
"
gNB-EPC
Sim Card Configuration"
,
"software-type"
:
"gnb-epc"
,
"software-type"
:
"gnb-epc"
,
"request"
:
"instance-gnb-epc-slave-input-schema.json"
,
"request"
:
"instance-gnb-epc-slave-input-schema.json"
,
"response"
:
"instance-gnb-epc-slave-schema.json"
,
"response"
:
"instance-gnb-epc-slave-schema.json"
,
...
@@ -53,8 +53,8 @@
...
@@ -53,8 +53,8 @@
"index"
:
5
"index"
:
5
},
},
"enb-epc-slave"
:
{
"enb-epc-slave"
:
{
"title"
:
"Sim Card"
,
"title"
:
"
eNB-EPC
Sim Card"
,
"description"
:
"Sim Card Configuration"
,
"description"
:
"
eNB-EPC
Sim Card Configuration"
,
"software-type"
:
"enb-epc"
,
"software-type"
:
"enb-epc"
,
"request"
:
"instance-enb-epc-slave-input-schema.json"
,
"request"
:
"instance-enb-epc-slave-input-schema.json"
,
"response"
:
"instance-enb-epc-slave-schema.json"
,
"response"
:
"instance-enb-epc-slave-schema.json"
,
...
@@ -62,8 +62,8 @@
...
@@ -62,8 +62,8 @@
"index"
:
6
"index"
:
6
},
},
"epc-slave"
:
{
"epc-slave"
:
{
"title"
:
"Sim Card"
,
"title"
:
"
EPC
Sim Card"
,
"description"
:
"Sim Card Configuration"
,
"description"
:
"
EPC
Sim Card Configuration"
,
"software-type"
:
"epc"
,
"software-type"
:
"epc"
,
"request"
:
"instance-epc-slave-input-schema.json"
,
"request"
:
"instance-epc-slave-input-schema.json"
,
"response"
:
"instance-epc-slave-schema.json"
,
"response"
:
"instance-epc-slave-schema.json"
,
...
...
software/ors-amarisoft/software-tdd3500.cfg
View file @
b7d638e3
software/ors-amarisoft/software-tdd3500.cfg.json
View file @
b7d638e3
...
@@ -44,8 +44,8 @@
...
@@ -44,8 +44,8 @@
"index"
:
4
"index"
:
4
},
},
"gnb-epc-slave"
:
{
"gnb-epc-slave"
:
{
"title"
:
"Sim Card"
,
"title"
:
"
gNB-EPC
Sim Card"
,
"description"
:
"Sim Card Configuration"
,
"description"
:
"
gNB-EPC
Sim Card Configuration"
,
"software-type"
:
"gnb-epc"
,
"software-type"
:
"gnb-epc"
,
"request"
:
"instance-gnb-epc-slave-input-schema.json"
,
"request"
:
"instance-gnb-epc-slave-input-schema.json"
,
"response"
:
"instance-gnb-epc-slave-schema.json"
,
"response"
:
"instance-gnb-epc-slave-schema.json"
,
...
@@ -53,8 +53,8 @@
...
@@ -53,8 +53,8 @@
"index"
:
5
"index"
:
5
},
},
"enb-epc-slave"
:
{
"enb-epc-slave"
:
{
"title"
:
"Sim Card"
,
"title"
:
"
eNB-EPC
Sim Card"
,
"description"
:
"Sim Card Configuration"
,
"description"
:
"
eNB-EPC
Sim Card Configuration"
,
"software-type"
:
"enb-epc"
,
"software-type"
:
"enb-epc"
,
"request"
:
"instance-enb-epc-slave-input-schema.json"
,
"request"
:
"instance-enb-epc-slave-input-schema.json"
,
"response"
:
"instance-enb-epc-slave-schema.json"
,
"response"
:
"instance-enb-epc-slave-schema.json"
,
...
@@ -62,8 +62,8 @@
...
@@ -62,8 +62,8 @@
"index"
:
6
"index"
:
6
},
},
"epc-slave"
:
{
"epc-slave"
:
{
"title"
:
"Sim Card"
,
"title"
:
"
EPC
Sim Card"
,
"description"
:
"Sim Card Configuration"
,
"description"
:
"
EPC
Sim Card Configuration"
,
"software-type"
:
"epc"
,
"software-type"
:
"epc"
,
"request"
:
"instance-epc-slave-input-schema.json"
,
"request"
:
"instance-epc-slave-input-schema.json"
,
"response"
:
"instance-epc-slave-schema.json"
,
"response"
:
"instance-epc-slave-schema.json"
,
...
...
software/ors-amarisoft/software-tdd3700.cfg
View file @
b7d638e3
software/ors-amarisoft/software-tdd3700.cfg.json
View file @
b7d638e3
...
@@ -44,8 +44,8 @@
...
@@ -44,8 +44,8 @@
"index"
:
4
"index"
:
4
},
},
"gnb-epc-slave"
:
{
"gnb-epc-slave"
:
{
"title"
:
"Sim Card"
,
"title"
:
"
gNB-EPC
Sim Card"
,
"description"
:
"Sim Card Configuration"
,
"description"
:
"
gNB-EPC
Sim Card Configuration"
,
"software-type"
:
"gnb-epc"
,
"software-type"
:
"gnb-epc"
,
"request"
:
"instance-gnb-epc-slave-input-schema.json"
,
"request"
:
"instance-gnb-epc-slave-input-schema.json"
,
"response"
:
"instance-gnb-epc-slave-schema.json"
,
"response"
:
"instance-gnb-epc-slave-schema.json"
,
...
@@ -53,8 +53,8 @@
...
@@ -53,8 +53,8 @@
"index"
:
5
"index"
:
5
},
},
"enb-epc-slave"
:
{
"enb-epc-slave"
:
{
"title"
:
"Sim Card"
,
"title"
:
"
eNB-EPC
Sim Card"
,
"description"
:
"Sim Card Configuration"
,
"description"
:
"
eNB-EPC
Sim Card Configuration"
,
"software-type"
:
"enb-epc"
,
"software-type"
:
"enb-epc"
,
"request"
:
"instance-enb-epc-slave-input-schema.json"
,
"request"
:
"instance-enb-epc-slave-input-schema.json"
,
"response"
:
"instance-enb-epc-slave-schema.json"
,
"response"
:
"instance-enb-epc-slave-schema.json"
,
...
@@ -62,8 +62,8 @@
...
@@ -62,8 +62,8 @@
"index"
:
6
"index"
:
6
},
},
"epc-slave"
:
{
"epc-slave"
:
{
"title"
:
"Sim Card"
,
"title"
:
"
EPC
Sim Card"
,
"description"
:
"Sim Card Configuration"
,
"description"
:
"
EPC
Sim Card Configuration"
,
"software-type"
:
"epc"
,
"software-type"
:
"epc"
,
"request"
:
"instance-epc-slave-input-schema.json"
,
"request"
:
"instance-epc-slave-input-schema.json"
,
"response"
:
"instance-epc-slave-schema.json"
,
"response"
:
"instance-epc-slave-schema.json"
,
...
...
software/ors-amarisoft/software.cfg.jinja2.json
View file @
b7d638e3
...
@@ -44,8 +44,8 @@
...
@@ -44,8 +44,8 @@
"index"
:
4
"index"
:
4
},
},
"gnb-epc-slave"
:
{
"gnb-epc-slave"
:
{
"title"
:
"Sim Card"
,
"title"
:
"
gNB-EPC
Sim Card"
,
"description"
:
"Sim Card Configuration"
,
"description"
:
"
gNB-EPC
Sim Card Configuration"
,
"software-type"
:
"gnb-epc"
,
"software-type"
:
"gnb-epc"
,
"request"
:
"instance-gnb-epc-slave-input-schema.json"
,
"request"
:
"instance-gnb-epc-slave-input-schema.json"
,
"response"
:
"instance-gnb-epc-slave-schema.json"
,
"response"
:
"instance-gnb-epc-slave-schema.json"
,
...
@@ -53,8 +53,8 @@
...
@@ -53,8 +53,8 @@
"index"
:
5
"index"
:
5
},
},
"enb-epc-slave"
:
{
"enb-epc-slave"
:
{
"title"
:
"Sim Card"
,
"title"
:
"
eNB-EPC
Sim Card"
,
"description"
:
"Sim Card Configuration"
,
"description"
:
"
eNB-EPC
Sim Card Configuration"
,
"software-type"
:
"enb-epc"
,
"software-type"
:
"enb-epc"
,
"request"
:
"instance-enb-epc-slave-input-schema.json"
,
"request"
:
"instance-enb-epc-slave-input-schema.json"
,
"response"
:
"instance-enb-epc-slave-schema.json"
,
"response"
:
"instance-enb-epc-slave-schema.json"
,
...
@@ -62,8 +62,8 @@
...
@@ -62,8 +62,8 @@
"index"
:
6
"index"
:
6
},
},
"epc-slave"
:
{
"epc-slave"
:
{
"title"
:
"Sim Card"
,
"title"
:
"
EPC
Sim Card"
,
"description"
:
"Sim Card Configuration"
,
"description"
:
"
EPC
Sim Card Configuration"
,
"software-type"
:
"epc"
,
"software-type"
:
"epc"
,
"request"
:
"instance-epc-slave-input-schema.json"
,
"request"
:
"instance-epc-slave-input-schema.json"
,
"response"
:
"instance-epc-slave-schema.json"
,
"response"
:
"instance-epc-slave-schema.json"
,
...
...
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