Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-NRF
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-NRF
Commits
a15b6408
Commit
a15b6408
authored
Jul 15, 2021
by
Niuhaiwen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix some bug
parent
0e877cb5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
etc/nrf.conf
etc/nrf.conf
+6
-6
src/nrf_app/nrf_app.cpp
src/nrf_app/nrf_app.cpp
+1
-0
No files found.
etc/nrf.conf
View file @
a15b6408
...
@@ -21,18 +21,18 @@
...
@@ -21,18 +21,18 @@
NRF
=
NRF
=
{
{
INSTANCE
=
@
INSTANCE
@
;
# 0 is the default
INSTANCE
=
0
;
# 0 is the default
PID_DIRECTORY
=
"
@PID_DIRECTORY@
"
;
# /var/run is the default
PID_DIRECTORY
=
"
/var/run
"
;
# /var/run is the default
SBI_INTERFACE
:
SBI_INTERFACE
:
{
{
# NRF binded interface for SBI interface (e.g., communication with other NFs e.g., AMF, SMF, UDM)
# NRF binded interface for SBI interface (e.g., communication with other NFs e.g., AMF, SMF, UDM)
INTERFACE_NAME
=
"
@NRF_INTERFACE_NAME_FOR_SBI@
"
;
# YOUR NETWORK CONFIG HERE
INTERFACE_NAME
=
"
ens33
"
;
# YOUR NETWORK CONFIG HERE
IPV4_ADDRESS
=
"read"
;
IPV4_ADDRESS
=
"read"
;
PORT
=
@
NRF_INTERFACE_PORT_FOR_SBI
@
;
# YOUR NETWORK CONFIG HERE (default: 80)
PORT
=
80
;
# YOUR NETWORK CONFIG HERE (default: 80)
HTTP2_PORT
=
@
NRF_INTERFACE_HTTP2_PORT_FOR_SBI
@
;
# YOUR NETWORK CONFIG HERE
HTTP2_PORT
=
9090
;
# YOUR NETWORK CONFIG HERE
API_VERSION
=
"
@NRF_API_VERSION@
"
;
# YOUR NRF API VERSION CONFIG HERE
API_VERSION
=
"
v1
"
;
# YOUR NRF API VERSION CONFIG HERE
};
};
};
};
...
...
src/nrf_app/nrf_app.cpp
View file @
a15b6408
...
@@ -1062,6 +1062,7 @@ void nrf_app::get_subscription_list(
...
@@ -1062,6 +1062,7 @@ void nrf_app::get_subscription_list(
s
.
second
.
get
()
->
get_sub_condition
(
condition
);
s
.
second
.
get
()
->
get_sub_condition
(
condition
);
switch
(
condition
.
type
)
{
switch
(
condition
.
type
)
{
Logger
::
nrf_app
().
debug
(
"
\t
the condition,type is %d"
,
condition
.
type
);
case
NF_INSTANCE_ID_COND
:
{
case
NF_INSTANCE_ID_COND
:
{
if
(
profile_id
.
compare
(
condition
.
nf_instance_id
)
==
0
)
{
if
(
profile_id
.
compare
(
condition
.
nf_instance_id
)
==
0
)
{
uris
.
push_back
(
uri
);
uris
.
push_back
(
uri
);
...
...
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