Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
cn5g
oai-cn5g-smf
Commits
c07e354c
Commit
c07e354c
authored
Jun 06, 2020
by
Tien-Thinh Nguyen
Browse files
fix CI test
parent
54c6f04b
Changes
1
Hide whitespace changes
Inline
Side-by-side
ci-scripts/generateConfigFiles.py
View file @
c07e354c
...
...
@@ -29,6 +29,7 @@ class smfConfigGen():
self
.
kind
=
''
self
.
sbi_name
=
''
self
.
sbi_port
=
'80'
self
.
sbi_http2_port
=
'9090'
self
.
n4_name
=
''
self
.
amf_ip_addr
=
''
self
.
amf_port
=
'80'
...
...
@@ -69,6 +70,7 @@ class smfConfigGen():
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_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[@DEFAULT_DNS_IPV4_ADDRESS@]=$MY_PRIMARY_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