Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-AMF
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
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-AMF
Commits
48d0f866
Commit
48d0f866
authored
Jul 05, 2021
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update AMF config info
parent
357763e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
11 deletions
+14
-11
src/amf-app/amf_config.cpp
src/amf-app/amf_config.cpp
+14
-11
No files found.
src/amf-app/amf_config.cpp
View file @
48d0f866
...
@@ -406,6 +406,7 @@ int amf_config::load(const std::string& config_file) {
...
@@ -406,6 +406,7 @@ int amf_config::load(const std::string& config_file) {
}
}
// AUSF
// AUSF
// TODO: add FQDN option
const
Setting
&
ausf_cfg
=
new_if_cfg
[
AMF_CONFIG_STRING_AUSF
];
const
Setting
&
ausf_cfg
=
new_if_cfg
[
AMF_CONFIG_STRING_AUSF
];
struct
in_addr
ausf_ipv4_addr
=
{};
struct
in_addr
ausf_ipv4_addr
=
{};
unsigned
int
ausf_port
=
{};
unsigned
int
ausf_port
=
{};
...
@@ -591,17 +592,19 @@ void amf_config::display() {
...
@@ -591,17 +592,19 @@ void amf_config::display() {
" API version ...........: %s"
,
ausf_addr
.
api_version
.
c_str
());
" API version ...........: %s"
,
ausf_addr
.
api_version
.
c_str
());
}
}
Logger
::
config
().
info
(
"- Remote SMF Pool.........: "
);
if
(
!
enable_smf_selection
)
{
for
(
int
i
=
0
;
i
<
smf_pool
.
size
();
i
++
)
{
Logger
::
config
().
info
(
"- SMF Pool.........: "
);
std
::
string
selected
;
for
(
int
i
=
0
;
i
<
smf_pool
.
size
();
i
++
)
{
if
(
smf_pool
[
i
].
selected
)
std
::
string
selected
;
selected
=
"true"
;
if
(
smf_pool
[
i
].
selected
)
else
selected
=
"true"
;
selected
=
"false"
;
else
Logger
::
config
().
info
(
selected
=
"false"
;
" SMF_INSTANCE_ID %d (%s:%s, version %s) is selected: %s"
,
Logger
::
config
().
info
(
smf_pool
[
i
].
id
,
smf_pool
[
i
].
ipv4
.
c_str
(),
smf_pool
[
i
].
port
.
c_str
(),
" SMF_INSTANCE_ID %d (%s:%s, version %s) is selected: %s"
,
smf_pool
[
i
].
version
.
c_str
(),
selected
.
c_str
());
smf_pool
[
i
].
id
,
smf_pool
[
i
].
ipv4
.
c_str
(),
smf_pool
[
i
].
port
.
c_str
(),
smf_pool
[
i
].
version
.
c_str
(),
selected
.
c_str
());
}
}
}
Logger
::
config
().
info
(
"- Supported Features:"
);
Logger
::
config
().
info
(
"- Supported Features:"
);
...
...
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