Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
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
wangjie
OpenXG-RAN
Commits
9b903ea2
Commit
9b903ea2
authored
May 06, 2021
by
rmagueta
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop' into develop-NR_SA_F1AP_5GRECORDS
parents
6222463f
3dc9e3d1
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
20 deletions
+35
-20
ci-scripts/cls_containerize.py
ci-scripts/cls_containerize.py
+1
-1
ci-scripts/conf_files/gnb.band78.tm1.fr1.106PRB.usrpn310.conf
...cripts/conf_files/gnb.band78.tm1.fr1.106PRB.usrpn310.conf
+6
-15
ci-scripts/ran_dashboard.py
ci-scripts/ran_dashboard.py
+28
-4
No files found.
ci-scripts/cls_containerize.py
View file @
9b903ea2
...
@@ -343,7 +343,7 @@ class Containerize():
...
@@ -343,7 +343,7 @@ class Containerize():
startOfTargetImageCreation
=
False
startOfTargetImageCreation
=
False
buildStatus
=
False
buildStatus
=
False
for
line
in
inputfile
:
for
line
in
inputfile
:
result
=
re
.
search
(
'FROM .*
as
'
+
image
+
'$'
,
str
(
line
))
result
=
re
.
search
(
'FROM .*
[aA][sS]
'
+
image
+
'$'
,
str
(
line
))
if
result
is
not
None
:
if
result
is
not
None
:
startOfTargetImageCreation
=
True
startOfTargetImageCreation
=
True
if
startOfTargetImageCreation
:
if
startOfTargetImageCreation
:
...
...
ci-scripts/conf_files/gnb.band78.tm1.fr1.106PRB.usrpn310.conf
View file @
9b903ea2
...
@@ -61,24 +61,15 @@ gNBs =
...
@@ -61,24 +61,15 @@ gNBs =
initialDLBWPk0_0
=
0
;
initialDLBWPk0_0
=
0
;
#initialULBWPmappingType
#initialULBWPmappingType
#0=typeA,1=typeB
#0=typeA,1=typeB
initialDLBWPmappingType_0
=
0
;
initialDLBWPmappingType_0
=
0
;
#for DL slot
#this is SS=1,L=13
#this is SS=1,L=13
initialDLBWPstartSymbolAndLength_0
=
40
;
initialDLBWPstartSymbolAndLength_0
=
40
;
initialDLBWPk0_1
=
0
;
initialDLBWPk0_1
=
0
;
#for mixed slot
initialDLBWPmappingType_1
=
0
;
initialDLBWPmappingType_1
=
0
;
#this is SS=2,L=12
#this is SS=1,L=5
initialDLBWPstartSymbolAndLength_1
=
53
;
initialDLBWPstartSymbolAndLength_1
=
57
;
initialDLBWPk0_2
=
0
;
initialDLBWPmappingType_2
=
0
;
#this is SS=1,L=12
initialDLBWPstartSymbolAndLength_2
=
54
;
initialDLBWPk0_3
=
0
;
initialDLBWPmappingType_3
=
0
;
#this is SS=1,L=4 //5 (4 is for 43, 5 is for 57)
initialDLBWPstartSymbolAndLength_3
=
57
; //
43
; //
57
;
#uplinkConfigCommon
#uplinkConfigCommon
#frequencyInfoUL
#frequencyInfoUL
ul_frequencyBand
=
78
;
ul_frequencyBand
=
78
;
...
@@ -103,7 +94,7 @@ gNBs =
...
@@ -103,7 +94,7 @@ gNBs =
prach_msg1_FDM
=
0
;
prach_msg1_FDM
=
0
;
prach_msg1_FrequencyStart
=
0
;
prach_msg1_FrequencyStart
=
0
;
zeroCorrelationZoneConfig
=
13
;
zeroCorrelationZoneConfig
=
13
;
preambleReceivedTargetPower
= -
10
0
;
preambleReceivedTargetPower
= -
9
0
;
#preamblTransMax (0...10) = (3,4,5,6,7,8,10,20,50,100,200)
#preamblTransMax (0...10) = (3,4,5,6,7,8,10,20,50,100,200)
preambleTransMax
=
6
;
preambleTransMax
=
6
;
#powerRampingStep
#powerRampingStep
...
...
ci-scripts/ran_dashboard.py
View file @
9b903ea2
...
@@ -40,6 +40,8 @@ import shlex #lexical analysis
...
@@ -40,6 +40,8 @@ import shlex #lexical analysis
import
json
#json structures
import
json
#json structures
import
datetime
#now() and date formating
import
datetime
#now() and date formating
from
datetime
import
datetime
from
datetime
import
datetime
import
re
import
gitlab
#-----------------------------------------------------------
#-----------------------------------------------------------
# Class Declaration
# Class Declaration
...
@@ -79,7 +81,7 @@ class gDashboard:
...
@@ -79,7 +81,7 @@ class gDashboard:
#line 2 empty
#line 2 empty
#line 3 is for the column names
#line 3 is for the column names
i
=
3
i
=
3
row
=
[
"MR"
,
"Created_at"
,
"Author"
,
"Title"
,
"Assignee"
,
"Reviewer"
,
"CAN START"
,
"IN PROGRESS"
,
"COMPLETED"
,
"OK MERGE"
,
"Merge conflicts"
]
row
=
[
"MR"
,
"Created_at"
,
"Author"
,
"Title"
,
"Assignee"
,
"Reviewer"
,
"CAN START"
,
"IN PROGRESS"
,
"COMPLETED"
,
"
Review Form"
,
"
OK MERGE"
,
"Merge conflicts"
]
self
.
sheet
.
insert_row
(
row
,
index
=
i
,
value_input_option
=
'RAW'
)
self
.
sheet
.
insert_row
(
row
,
index
=
i
,
value_input_option
=
'RAW'
)
#line 4 onward, MR data lines
#line 4 onward, MR data lines
...
@@ -120,10 +122,32 @@ class gDashboard:
...
@@ -120,10 +122,32 @@ class gDashboard:
else
:
else
:
conflicts
=
""
conflicts
=
""
#add a column flagging that the review form is present
#we use gitlab API to parse the MR notes
gl
=
gitlab
.
Gitlab
.
from_config
(
'OAI'
)
project_id
=
223
project
=
gl
.
projects
.
get
(
project_id
)
#get the opened MR in the project
mrs
=
project
.
mergerequests
.
list
(
state
=
'opened'
)
for
m
in
range
(
0
,
len
(
mrs
)):
if
mrs
[
m
].
iid
==
self
.
d
[
x
][
'iid'
]:
#check the iid is the one we are on
mr_notes
=
mrs
[
m
].
notes
.
list
(
all
=
True
)
n
=
0
found
=
False
review_form
=
""
while
found
==
False
and
n
<
len
(
mr_notes
):
res
=
re
.
search
(
'Code Review by'
,
mr_notes
[
n
].
body
)
#this is the marker we are looking for in all notes
if
res
!=
None
:
review_form
=
"X"
found
=
True
n
+=
1
#build final row to be inserted, the first column is left empty for now, will be filled afterward with hyperlinks to gitlab MR
#build final row to be inserted, the first column is left empty for now, will be filled afterward with hyperlinks to gitlab MR
row
=
[
""
,
str
(
date_time_obj
.
date
()),
str
(
self
.
d
[
x
][
'author'
][
'name'
]),
str
(
self
.
d
[
x
][
'title'
]),
\
row
=
[
""
,
str
(
date_time_obj
.
date
()),
str
(
self
.
d
[
x
][
'author'
][
'name'
]),
str
(
self
.
d
[
x
][
'title'
]),
\
assignee
,
reviewer
,
\
assignee
,
reviewer
,
\
milestone1
,
milestone2
,
milestone3
,
milestone4
,
conflicts
]
milestone1
,
milestone2
,
milestone3
,
review_form
,
milestone4
,
conflicts
]
#insert the row to worksheet
#insert the row to worksheet
self
.
sheet
.
insert_row
(
row
,
index
=
i
,
value_input_option
=
'RAW'
)
self
.
sheet
.
insert_row
(
row
,
index
=
i
,
value_input_option
=
'RAW'
)
...
@@ -246,10 +270,10 @@ class gDashboard:
...
@@ -246,10 +270,10 @@ class gDashboard:
"sheetId"
:
sheetId
,
"sheetId"
:
sheetId
,
"dimension"
:
"COLUMNS"
,
"dimension"
:
"COLUMNS"
,
"startIndex"
:
6
,
"startIndex"
:
6
,
"endIndex"
:
1
0
"endIndex"
:
1
1
},
},
"properties"
:
{
"properties"
:
{
"pixelSize"
:
1
35
"pixelSize"
:
1
20
},
},
"fields"
:
"pixelSize"
"fields"
:
"pixelSize"
}
}
...
...
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