Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openairinterface5G
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Bin He
openairinterface5G
Commits
92811568
Commit
92811568
authored
5 years ago
by
Gabriele Perrone
Browse files
Options
Downloads
Patches
Plain Diff
rework of the help from embedded Usage() function to external helpreadme.py file
parent
3f546cb4
No related branches found
No related tags found
No related merge requests found
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
ci-scripts/epc.py
+25
-0
25 additions, 0 deletions
ci-scripts/epc.py
ci-scripts/helpreadme.py
+1
-1
1 addition, 1 deletion
ci-scripts/helpreadme.py
ci-scripts/main.py
+145
-467
145 additions, 467 deletions
ci-scripts/main.py
with
171 additions
and
468 deletions
ci-scripts/epc.py
+
25
−
0
View file @
92811568
...
...
@@ -28,6 +28,31 @@ class EPCManagement():
self
.
EPCType
=
''
self
.
EPC_PcapFileName
=
''
def
SetIPAddress
(
self
,
ipaddress
):
self
.
EPCIPAddress
=
ipaddress
def
GetIPAddress
(
self
):
return
self
.
EPCIPAddress
def
SetUserName
(
self
,
username
):
self
.
EPCUserName
=
username
def
GetUserName
(
self
):
return
self
.
EPCUserName
def
SetPassword
(
self
,
password
):
self
.
EPCPassword
=
password
def
GetPassword
(
self
):
return
self
.
EPCPassword
def
SetSourceCodePath
(
self
,
sourcecodepath
):
self
.
EPCSourceCodePath
=
sourcecodepath
def
GetSourceCodePath
(
self
):
return
self
.
EPCSourceCodePath
def
SetType
(
self
,
typ
):
self
.
EPCType
=
typ
def
GetType
(
self
):
return
self
.
EPCType
def
Set_PcapFileName
(
self
,
pcapfn
):
self
.
PcapFileName
=
pcapfn
def
Get_PcapFileName
(
self
):
return
self
.
PcapFileName
def
InitializeHSS
(
self
):
if
self
.
EPCIPAddress
==
''
or
self
.
EPCUserName
==
''
or
self
.
EPCPassword
==
''
or
self
.
EPCSourceCodePath
==
''
or
self
.
EPCType
==
''
:
HELP
.
GenericHelp
(
Version
)
...
...
This diff is collapsed.
Click to expand it.
ci-scripts/helpreadme.py
+
1
−
1
View file @
92811568
...
...
@@ -6,7 +6,7 @@ def GenericHelp(vers):
print
(
'
----------------------------------------------------------------------------------------------------------------------
'
)
print
(
'
main.py Ver:
'
+
vers
)
print
(
'
----------------------------------------------------------------------------------------------------------------------
'
)
print
(
'
Usage:
python main.py [options]
'
)
print
(
'
python main.py [options]
'
)
print
(
'
--help Show this help.
'
)
print
(
'
--mode=[Mode]
'
)
print
(
'
TesteNB
'
)
...
...
This diff is collapsed.
Click to expand it.
ci-scripts/main.py
+
145
−
467
View file @
92811568
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment