Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-AUSF
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-AUSF
Commits
bc948407
Commit
bc948407
authored
Jul 19, 2021
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Code cleanup
parent
8280e28c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
+7
-8
src/ausf_app/ausf_config.cpp
src/ausf_app/ausf_config.cpp
+7
-7
src/ausf_app/ausf_config.hpp
src/ausf_app/ausf_config.hpp
+0
-1
No files found.
src/ausf_app/ausf_config.cpp
View file @
bc948407
...
@@ -161,22 +161,22 @@ int ausf_config::load(const std::string& config_file) {
...
@@ -161,22 +161,22 @@ int ausf_config::load(const std::string& config_file) {
void
ausf_config
::
display
()
{
void
ausf_config
::
display
()
{
Logger
::
config
().
info
(
"================= AUSF ================="
);
Logger
::
config
().
info
(
"================= AUSF ================="
);
Logger
::
config
().
info
(
"Configuration AUSF:"
);
Logger
::
config
().
info
(
"Configuration AUSF:"
);
Logger
::
config
().
info
(
"- Instance
.
...............: %d"
,
instance
);
Logger
::
config
().
info
(
"- Instance
...............: %d"
,
instance
);
Logger
::
config
().
info
(
"- PID dir
.
................: %s"
,
pid_dir
.
c_str
());
Logger
::
config
().
info
(
"- PID dir
................: %s"
,
pid_dir
.
c_str
());
Logger
::
config
().
info
(
"- AUSF NAME
.
..............: %s"
,
ausf_name
.
c_str
());
Logger
::
config
().
info
(
"- AUSF NAME
..............: %s"
,
ausf_name
.
c_str
());
Logger
::
config
().
info
(
"- SBI Networking:"
);
Logger
::
config
().
info
(
"- SBI Networking:"
);
Logger
::
config
().
info
(
" Iface ................: %s"
,
sbi
.
if_name
.
c_str
());
Logger
::
config
().
info
(
" Iface ................: %s"
,
sbi
.
if_name
.
c_str
());
Logger
::
config
().
info
(
" IP
.......
............: %s"
,
inet_ntoa
(
sbi
.
addr4
));
Logger
::
config
().
info
(
" IP
v4 Addr
............: %s"
,
inet_ntoa
(
sbi
.
addr4
));
Logger
::
config
().
info
(
" Port .................: %d"
,
sbi
.
port
);
Logger
::
config
().
info
(
" Port .................: %d"
,
sbi
.
port
);
Logger
::
config
().
info
(
"- UDM:"
);
Logger
::
config
().
info
(
"- UDM:"
);
Logger
::
config
().
info
(
Logger
::
config
().
info
(
" IPv4 Addr
.
............: %s"
,
" IPv4 Addr
............: %s"
,
inet_ntoa
(
*
((
struct
in_addr
*
)
&
udm_addr
.
ipv4_addr
)));
inet_ntoa
(
*
((
struct
in_addr
*
)
&
udm_addr
.
ipv4_addr
)));
Logger
::
config
().
info
(
" Port
.
.................: %lu "
,
udm_addr
.
port
);
Logger
::
config
().
info
(
" Port
.................: %lu "
,
udm_addr
.
port
);
Logger
::
config
().
info
(
Logger
::
config
().
info
(
" API version
.
..........: %s"
,
udm_addr
.
api_version
.
c_str
());
" API version
..........: %s"
,
udm_addr
.
api_version
.
c_str
());
}
}
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
...
...
src/ausf_app/ausf_config.hpp
View file @
bc948407
...
@@ -54,7 +54,6 @@
...
@@ -54,7 +54,6 @@
#define AUSF_CONFIG_STRING_INTERFACE_NAME "INTERFACE_NAME"
#define AUSF_CONFIG_STRING_INTERFACE_NAME "INTERFACE_NAME"
#define AUSF_CONFIG_STRING_IPV4_ADDRESS "IPV4_ADDRESS"
#define AUSF_CONFIG_STRING_IPV4_ADDRESS "IPV4_ADDRESS"
#define AUSF_CONFIG_STRING_PORT "PORT"
#define AUSF_CONFIG_STRING_PORT "PORT"
#define AUSF_CONFIG_STRING_PPID "PPID"
#define AUSF_CONFIG_STRING_API_VERSION "API_VERSION"
#define AUSF_CONFIG_STRING_API_VERSION "API_VERSION"
#define AUSF_CONFIG_STRING_UDM "UDM"
#define AUSF_CONFIG_STRING_UDM "UDM"
...
...
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