Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-SMF
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-SMF
Commits
4ec246e4
Commit
4ec246e4
authored
Jan 06, 2021
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add messages for NF Register/Update
parent
9a72671d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
47 additions
and
0 deletions
+47
-0
src/common/msg/itti_msg_n11.hpp
src/common/msg/itti_msg_n11.hpp
+44
-0
src/itti/itti_msg.hpp
src/itti/itti_msg.hpp
+3
-0
No files found.
src/common/msg/itti_msg_n11.hpp
View file @
4ec246e4
...
@@ -32,6 +32,8 @@
...
@@ -32,6 +32,8 @@
#include "itti_msg.hpp"
#include "itti_msg.hpp"
#include "smf_msg.hpp"
#include "smf_msg.hpp"
#include "pistache/http.h"
#include "pistache/http.h"
#include "smf_profile.hpp"
#include "PatchItem.h"
class
itti_n11_msg
:
public
itti_msg
{
class
itti_n11_msg
:
public
itti_msg
{
public:
public:
...
@@ -551,5 +553,47 @@ class itti_n11_notify_subscribed_event : public itti_n11_msg {
...
@@ -551,5 +553,47 @@ class itti_n11_notify_subscribed_event : public itti_n11_msg {
uint8_t
http_version
;
uint8_t
http_version
;
};
};
//-----------------------------------------------------------------------------
class
itti_n11_register_nf_instance_request
:
public
itti_n11_msg
{
public:
itti_n11_register_nf_instance_request
(
const
task_id_t
orig
,
const
task_id_t
dest
)
:
itti_n11_msg
(
N11_REGISTER_NF_INSTANCE_REQUEST
,
orig
,
dest
),
http_version
(
1
)
{}
const
char
*
get_msg_name
()
{
return
"N11_REGISTER_NF_INSTANCE_REQUEST"
;
};
smf
::
smf_profile
profile
;
uint8_t
http_version
;
};
//-----------------------------------------------------------------------------
class
itti_n11_register_nf_instance_response
:
public
itti_n11_msg
{
public:
itti_n11_register_nf_instance_response
(
const
task_id_t
orig
,
const
task_id_t
dest
)
:
itti_n11_msg
(
N11_REGISTER_NF_INSTANCE_RESPONSE
,
orig
,
dest
),
http_version
(
1
)
{}
const
char
*
get_msg_name
()
{
return
"N11_REGISTER_NF_INSTANCE_RESPONSE"
;
};
smf
::
smf_profile
profile
;
uint8_t
http_version
;
uint8_t
http_response_code
;
};
//-----------------------------------------------------------------------------
class
itti_n11_update_nf_instance_request
:
public
itti_n11_msg
{
public:
itti_n11_update_nf_instance_request
(
const
task_id_t
orig
,
const
task_id_t
dest
)
:
itti_n11_msg
(
N11_UPDATE_NF_INSTANCE_REQUEST
,
orig
,
dest
),
http_version
(
1
)
{}
const
char
*
get_msg_name
()
{
return
"N11_UPDATE_NF_INSTANCE_REQUEST"
;
};
std
::
vector
<
oai
::
smf_server
::
model
::
PatchItem
>
patch_items
;
uint8_t
http_version
;
std
::
string
smf_instance_id
;
};
#endif
/* ITTI_MSG_N11_HPP_INCLUDED_ */
#endif
/* ITTI_MSG_N11_HPP_INCLUDED_ */
src/itti/itti_msg.hpp
View file @
4ec246e4
...
@@ -116,6 +116,9 @@ typedef enum {
...
@@ -116,6 +116,9 @@ typedef enum {
N11_SESSION_REPORT_RESPONSE
,
N11_SESSION_REPORT_RESPONSE
,
N11_SESSION_NOTIFY_SM_CONTEXT_STATUS
,
N11_SESSION_NOTIFY_SM_CONTEXT_STATUS
,
N11_NOTIFY_SUBSCRIBED_EVENT
,
N11_NOTIFY_SUBSCRIBED_EVENT
,
N11_REGISTER_NF_INSTANCE_REQUEST
,
N11_REGISTER_NF_INSTANCE_RESPONSE
,
N11_UPDATE_NF_INSTANCE_REQUEST
,
NX_TRIGGER_SESSION_MODIFICATION
,
NX_TRIGGER_SESSION_MODIFICATION
,
SBI_EVENT_EXPOSURE_REQUEST
,
SBI_EVENT_EXPOSURE_REQUEST
,
UDP_INIT
,
UDP_INIT
,
...
...
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