Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-UDR
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-UDR
Commits
82273252
Commit
82273252
authored
Jul 22, 2021
by
Niuhaiwen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set heart-timer to 1
parent
b0f9b6ba
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/udr_app/udr_app.cpp
src/udr_app/udr_app.cpp
+2
-2
No files found.
src/udr_app/udr_app.cpp
View file @
82273252
...
@@ -99,7 +99,7 @@ udr_app::udr_app()
...
@@ -99,7 +99,7 @@ udr_app::udr_app()
register_to_nrf
();
register_to_nrf
();
}
}
timer_id_t
tid
=
itti_inst
->
timer_setup
(
20
,
0
,
TASK_UDR_APP
,
TASK_UDR_APP_PERIODIC_GETINFO
,
0
);
timer_id_t
tid
=
itti_inst
->
timer_setup
(
20
,
0
,
TASK_UDR_APP
,
TASK_UDR_APP_PERIODIC_GETINFO
,
0
);
timer_nrf_heartbeat
=
itti_inst
->
timer_setup
(
1
0
,
0
,
TASK_UDR_APP
,
TASK_UDR_APP_TIMEOUT_NRF_HEARTBEAT
,
0
);
timer_nrf_heartbeat
=
itti_inst
->
timer_setup
(
1
,
0
,
TASK_UDR_APP
,
TASK_UDR_APP_TIMEOUT_NRF_HEARTBEAT
,
0
);
Logger
::
udr_app
().
startup
(
"Started"
);
Logger
::
udr_app
().
startup
(
"Started"
);
}
}
void
udr_app
::
register_to_nrf
(){
void
udr_app
::
register_to_nrf
(){
...
@@ -115,7 +115,7 @@ void udr_app::generate_udr_profile(){
...
@@ -115,7 +115,7 @@ void udr_app::generate_udr_profile(){
nf_instance_profile
.
set_nf_instance_name
(
"bupt-udr"
);
nf_instance_profile
.
set_nf_instance_name
(
"bupt-udr"
);
nf_instance_profile
.
set_nf_type
(
"UDR"
);
nf_instance_profile
.
set_nf_type
(
"UDR"
);
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
);
struct
in_addr
IP
;
struct
in_addr
IP
;
...
...
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