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
a635a7ad
Commit
a635a7ad
authored
Jul 22, 2021
by
Niuhaiwen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set heart-timer to 1
parent
2f7d42e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/ausf_app/ausf_app.cpp
src/ausf_app/ausf_app.cpp
+2
-2
No files found.
src/ausf_app/ausf_app.cpp
View file @
a635a7ad
...
@@ -98,7 +98,7 @@ ausf_app::ausf_app()
...
@@ -98,7 +98,7 @@ ausf_app::ausf_app()
register_to_nrf
();
register_to_nrf
();
}
}
timer_id_t
tid
=
itti_inst
->
timer_setup
(
20
,
0
,
TASK_AUSF_APP
,
TASK_AUSF_APP_PERIODIC_GETINFO
,
0
);
timer_id_t
tid
=
itti_inst
->
timer_setup
(
20
,
0
,
TASK_AUSF_APP
,
TASK_AUSF_APP_PERIODIC_GETINFO
,
0
);
timer_nrf_heartbeat
=
itti_inst
->
timer_setup
(
1
0
,
0
,
TASK_AUSF_APP
,
TASK_AUSF_APP_TIMEOUT_NRF_HEARTBEAT
,
0
);
timer_nrf_heartbeat
=
itti_inst
->
timer_setup
(
1
,
0
,
TASK_AUSF_APP
,
TASK_AUSF_APP_TIMEOUT_NRF_HEARTBEAT
,
0
);
Logger
::
ausf_app
().
startup
(
"Started"
);
Logger
::
ausf_app
().
startup
(
"Started"
);
}
}
void
ausf_app
::
register_to_nrf
(){
void
ausf_app
::
register_to_nrf
(){
...
@@ -114,7 +114,7 @@ void ausf_app::generate_ausf_profile(){
...
@@ -114,7 +114,7 @@ void ausf_app::generate_ausf_profile(){
nf_instance_profile
.
set_nf_instance_name
(
"bupt-ausf"
);
nf_instance_profile
.
set_nf_instance_name
(
"bupt-ausf"
);
nf_instance_profile
.
set_nf_type
(
"AUSF"
);
nf_instance_profile
.
set_nf_type
(
"AUSF"
);
nf_instance_profile
.
set_nf_status
(
"REGISTERED"
);
nf_instance_profile
.
set_nf_status
(
"REGISTERED"
);
nf_instance_profile
.
set_nf_heartBeat_timer
(
1
0
);
nf_instance_profile
.
set_nf_heartBeat_timer
(
1
);
nf_instance_profile
.
set_nf_priority
(
1
);
nf_instance_profile
.
set_nf_priority
(
1
);
nf_instance_profile
.
set_nf_capacity
(
100
);
nf_instance_profile
.
set_nf_capacity
(
100
);
nf_instance_profile
.
add_nf_ipv4_addresses
(
ausf_cfg
.
sbi
.
addr4
);
nf_instance_profile
.
add_nf_ipv4_addresses
(
ausf_cfg
.
sbi
.
addr4
);
...
...
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