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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
01f2b5a1
Commit
01f2b5a1
authored
Feb 02, 2022
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reset B200 device before a new run
parent
24653fe0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
ci-scripts/cls_containerize.py
ci-scripts/cls_containerize.py
+1
-0
No files found.
ci-scripts/cls_containerize.py
View file @
01f2b5a1
...
@@ -506,6 +506,7 @@ class Containerize():
...
@@ -506,6 +506,7 @@ class Containerize():
# mySSH.command('sed -i -e "s/FLEXRAN_ENABLED:.*$/FLEXRAN_ENABLED: \'no\'/" ci-docker-compose.yml', '\$', 2)
# mySSH.command('sed -i -e "s/FLEXRAN_ENABLED:.*$/FLEXRAN_ENABLED: \'no\'/" ci-docker-compose.yml', '\$', 2)
# mySSH.command('sed -i -e "s/CI_FLEXRAN_CTL_IP_ADDR/127.0.0.1/" ci-docker-compose.yml', '\$', 2)
# mySSH.command('sed -i -e "s/CI_FLEXRAN_CTL_IP_ADDR/127.0.0.1/" ci-docker-compose.yml', '\$', 2)
# Currently support only one
# Currently support only one
mySSH
.
command
(
'echo '
+
lPassWord
+
' | sudo -S b2xx_fx3_utils --reset-device'
,
'\$'
,
15
)
mySSH
.
command
(
'docker-compose --file ci-docker-compose.yml config --services | sed -e "s@^@service=@" 2>&1'
,
'\$'
,
10
)
mySSH
.
command
(
'docker-compose --file ci-docker-compose.yml config --services | sed -e "s@^@service=@" 2>&1'
,
'\$'
,
10
)
result
=
re
.
search
(
'service=(?P<svc_name>[a-zA-Z0-9\_]+)'
,
mySSH
.
getBefore
())
result
=
re
.
search
(
'service=(?P<svc_name>[a-zA-Z0-9\_]+)'
,
mySSH
.
getBefore
())
if
result
is
not
None
:
if
result
is
not
None
:
...
...
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