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
8c2b356c
Commit
8c2b356c
authored
Aug 06, 2025
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused function
parent
14389235
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
35 deletions
+0
-35
ci-scripts/ran.py
ci-scripts/ran.py
+0
-35
No files found.
ci-scripts/ran.py
View file @
8c2b356c
...
@@ -248,41 +248,6 @@ class RANManagement():
...
@@ -248,41 +248,6 @@ class RANManagement():
logging
.
debug
(
'
\u001B
[1m Initialize eNB/gNB Completed
\u001B
[0m'
)
logging
.
debug
(
'
\u001B
[1m Initialize eNB/gNB Completed
\u001B
[0m'
)
return
enbDidSync
return
enbDidSync
def
CheckeNBProcess
(
self
,
status_queue
):
# At least the instance 0 SHALL be on!
if
self
.
eNBstatuses
[
0
]
==
0
:
lIpAddr
=
self
.
eNBIPAddress
lUserName
=
self
.
eNBUserName
lPassWord
=
self
.
eNBPassword
elif
self
.
eNBstatuses
[
0
]
==
1
:
lIpAddr
=
self
.
eNB1IPAddress
lUserName
=
self
.
eNB1UserName
lPassWord
=
self
.
eNB1Password
elif
self
.
eNBstatuses
[
0
]
==
2
:
lIpAddr
=
self
.
eNB2IPAddress
lUserName
=
self
.
eNB2UserName
lPassWord
=
self
.
eNB2Password
else
:
lIpAddr
=
self
.
eNBIPAddress
lUserName
=
self
.
eNBUserName
lPassWord
=
self
.
eNBPassword
mySSH
=
SSH
.
SSHConnection
()
mySSH
.
open
(
lIpAddr
,
lUserName
,
lPassWord
)
if
self
.
air_interface
[
self
.
eNB_instance
]
==
''
:
pattern
=
'softmodem'
else
:
pattern
=
self
.
air_interface
[
self
.
eNB_instance
]
mySSH
.
command
(
'stdbuf -o0 ps -aux | grep --color=never '
+
pattern
+
' | grep -v grep'
,
'\$'
,
5
)
result
=
re
.
search
(
pattern
,
mySSH
.
getBefore
())
success
=
result
is
not
None
if
not
success
:
logging
.
debug
(
'
\u001B
[1;37;41m eNB Process Not Found!
\u001B
[0m'
)
status_queue
.
put
(
CONST
.
ENB_PROCESS_FAILED
)
else
:
status_queue
.
put
(
CONST
.
ENB_PROCESS_OK
)
mySSH
.
close
()
return
success
def
TerminateeNB
(
self
,
HTML
):
def
TerminateeNB
(
self
,
HTML
):
if
self
.
eNB_serverId
[
self
.
eNB_instance
]
==
'0'
:
if
self
.
eNB_serverId
[
self
.
eNB_instance
]
==
'0'
:
lIpAddr
=
self
.
eNBIPAddress
lIpAddr
=
self
.
eNBIPAddress
...
...
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