Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-SMF
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
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-SMF
Commits
c07e354c
Commit
c07e354c
authored
Jun 06, 2020
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix CI test
parent
54c6f04b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
ci-scripts/generateConfigFiles.py
ci-scripts/generateConfigFiles.py
+2
-0
No files found.
ci-scripts/generateConfigFiles.py
View file @
c07e354c
...
@@ -29,6 +29,7 @@ class smfConfigGen():
...
@@ -29,6 +29,7 @@ class smfConfigGen():
self
.
kind
=
''
self
.
kind
=
''
self
.
sbi_name
=
''
self
.
sbi_name
=
''
self
.
sbi_port
=
'80'
self
.
sbi_port
=
'80'
self
.
sbi_http2_port
=
'9090'
self
.
n4_name
=
''
self
.
n4_name
=
''
self
.
amf_ip_addr
=
''
self
.
amf_ip_addr
=
''
self
.
amf_port
=
'80'
self
.
amf_port
=
'80'
...
@@ -69,6 +70,7 @@ class smfConfigGen():
...
@@ -69,6 +70,7 @@ class smfConfigGen():
smfFile
.
write
(
'SMF_CONF[@PID_DIRECTORY@]=
\'
/var/run
\'\n
'
)
smfFile
.
write
(
'SMF_CONF[@PID_DIRECTORY@]=
\'
/var/run
\'\n
'
)
smfFile
.
write
(
'SMF_CONF[@SMF_INTERFACE_NAME_FOR_SBI@]=
\'
'
+
self
.
sbi_name
+
'
\'\n
'
)
smfFile
.
write
(
'SMF_CONF[@SMF_INTERFACE_NAME_FOR_SBI@]=
\'
'
+
self
.
sbi_name
+
'
\'\n
'
)
smfFile
.
write
(
'SMF_CONF[@SMF_INTERFACE_PORT_FOR_SBI@]='
+
self
.
sbi_port
+
'
\n
'
)
smfFile
.
write
(
'SMF_CONF[@SMF_INTERFACE_PORT_FOR_SBI@]='
+
self
.
sbi_port
+
'
\n
'
)
smfFile
.
write
(
'SMF_CONF[@SMF_INTERFACE_HTTP2_PORT_FOR_SBI@]='
+
self
.
sbi_http2_port
+
'
\n
'
)
smfFile
.
write
(
'SMF_CONF[@SMF_INTERFACE_NAME_FOR_N4@]=
\'
'
+
self
.
n4_name
+
'
\'\n
'
)
smfFile
.
write
(
'SMF_CONF[@SMF_INTERFACE_NAME_FOR_N4@]=
\'
'
+
self
.
n4_name
+
'
\'\n
'
)
smfFile
.
write
(
'SMF_CONF[@DEFAULT_DNS_IPV4_ADDRESS@]=$MY_PRIMARY_DNS
\n
'
)
smfFile
.
write
(
'SMF_CONF[@DEFAULT_DNS_IPV4_ADDRESS@]=$MY_PRIMARY_DNS
\n
'
)
smfFile
.
write
(
'SMF_CONF[@DEFAULT_DNS_SEC_IPV4_ADDRESS@]=$MY_SECONDARY_DNS
\n
'
)
smfFile
.
write
(
'SMF_CONF[@DEFAULT_DNS_SEC_IPV4_ADDRESS@]=$MY_SECONDARY_DNS
\n
'
)
...
...
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