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
e6edca22
Commit
e6edca22
authored
Jun 01, 2022
by
Stefan Spettel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(pcf): Fixed missing PCF default values in entrypoint.sh
Signed-off-by:
Stefan Spettel
<
stefan.spettel@eurecom.fr
>
parent
81c19388
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
etc/smf.conf
etc/smf.conf
+1
-1
scripts/entrypoint.sh
scripts/entrypoint.sh
+9
-0
No files found.
etc/smf.conf
View file @
e6edca22
...
...
@@ -115,7 +115,7 @@ SMF =
PCF
:
{
IPV4_ADDRESS
=
"@PCF_IPV4_ADDRESS@"
;
# YOUR PCF CONFIG HERE
PORT
= @
N
PCF_PORT
@;
# YOUR PCF CONFIG HERE (default: 80)
PORT
= @
PCF_PORT
@;
# YOUR PCF CONFIG HERE (default: 80)
API_VERSION
=
"@PCF_API_VERSION@"
;
# YOUR PCF API VERSION FOR SBI CONFIG HERE
FQDN
=
"@PCF_FQDN@"
# YOUR PCF FQDN CONFIG HERE
};
...
...
scripts/entrypoint.sh
View file @
e6edca22
...
...
@@ -27,11 +27,20 @@ SESSION_AMBR_DL1=${SESSION_AMBR_DL1:-22Mbps}
SESSION_AMBR_UL2
=
${
SESSION_AMBR_UL2
:-
20Mbps
}
SESSION_AMBR_DL2
=
${
SESSION_AMBR_DL2
:-
22Mbps
}
PCF_IPV4_ADDRESS
=
${
PCF_IPV4_ADDRESS
:-
0
.0.0.0
}
PCF_PORT
=
${
PCF_PORT
:-
80
}
PCF_API_VERSION
=
${
PCF_API_VERSION
:-
"v1"
}
PCF_FQDN
=
${
PCF_FQDN
:-
"oai-pcf"
}
DISCOVER_PCF
=
${
DISCOVER_PCF
:-
"no"
}
USE_LOCAL_PCC_RULES
=
${
USE_LOCAL_PCC_RULES
:-
"yes"
}
if
[[
${
USE_FQDN_DNS
}
==
"yes"
]]
;
then
AMF_IPV4_ADDRESS
=
${
AMF_IPV4_ADDRESS
:-
0
.0.0.0
}
NRF_IPV4_ADDRESS
=
${
NRF_IPV4_ADDRESS
:-
0
.0.0.0
}
UPF_IPV4_ADDRESS
=
${
UPF_IPV4_ADDRESS
:-
0
.0.0.0
}
UDM_IPV4_ADDRESS
=
${
UDM_IPV4_ADDRESS
:-
0
.0.0.0
}
PCF_IPV4_ADDRESS
=
${
PCF_IPV4_ADDRESS
:-
0
.0.0.0
}
fi
DEFAULT_CSCF_IPV4_ADDRESS
=
${
DEFAULT_CSCF_IPV4_ADDRESS
:-
127
.0.0.1
}
...
...
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