Commit ff5ac4da authored by LiBingxuan's avatar LiBingxuan

update NWDAF

parent b0674ee3
# OpenXG-NWDAF
<img src="README.assets/openxglogo.png" alt="OpenXG" style="zoom: 100;" />
# 1. Generals
OpenXG is a series of 5G/6G-oriented open source projects developed by Open Source Radio Access Network Community. Currently, the community has developed the project from five aspects, including:
* Core network projects, 3GPP R15/R16 specification compliant network functions have been developed, including AMF, SMF, NRF, UPF, AUSF, UDM, AUSF, NWDAF, etc. Message level stateless mechanism is introduced in to the core network to make it better adapted to the cloud environment.
* Open hardware reference design, the reference design of heterogeneous computing hardware, white-box radio frontend, and open source UE hardware are also opened to the community.
* Radio access network projects, currently CU, DU and UE protocol software are developed, which is mainly compliant with 3GPP R15/R16 specifications. The software is developed by a modular-design, and which is flexible to customize to different vertical scenarios.
* AI-enabled management projects, three kinds of projects are developed under this category, including the AIEngine, which is aimed to provide the core AI capability for the management, the network measurement, and computing network for cloud-edge-end collaborative.
* Uses cases and applications in verticals, some key use cases when applying OpenXG to vertical scenarios are also developed as a reference for the community.
# 2. License
The OpenXG series projects are distributed under OS-RAN license, which is derived from the Fair, Reasonable, and Non-Discriminatory principle. See [online version for details](http://www.openxg.org.cn/?falu_69.html).
OpenXG-NWDAF Arch
```
├── build: Build directory, contains targets and object files generated by compilation of network functions.
├── scripts: Directory containing scripts for building network functions.
├── ext: Directory containing Pistache and JSON library.
└── NWDAF: Directory containing object files generated by compilation of NWDAF network function.
├── etc: Directory containing the configuration file to be deployed for NWDAF.
└── yaml: The directory contains the YAML files needed to generate the API.
└── src: Source files of NWDAF.
├── nwdaf-app: NWDAF Procedures handling logic.
├── common: Common definitions for 3GPP specifications.
└── utils: Common utilities.
├── itti: Inter task interface.
├── nwdaf-client: NWDAF Client API handler.
└── nwdaf-server: NWDAF Server API handler.
├── model: NWDAF service.
├── api: NWDAF service.
└── impl: NWDAF service.
```
# 3. How to start
## Download source code from Gitlab
```
git clone http://git.opensource5g.org/openxg/openxg-nwdaf.git
cd openxg-nwdaf/
```
As master branch is usually the stable branch, so we would suggest you start from the master:
```
git checkout master
```
## install dependencies
OpenXG-NWDAF relies on some third-party software or libraries, please install the dependencies when you first build the project, run by:
```
cd ./build/scripts
sudo ./build_nwdaf -I
```
## build NWDAF
When you finish install the dependencies, you can finally build the NWDAF executables by:
```
sudo ./build_nwdaf -c -b Debug -j
```
## launch NWDAF
You can run NWDAF by:
```
sudo ./build/NWDAF/nwdaf -c etc/nwdaf.conf -o
```
etc/nwdaf.conf is the config file for NWDAF.
Customize the config file according to your environments.
Enjoy.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this
*file except in compliance with the License. You may obtain a copy of the
*License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
* Licensed to Open Source Radio Access Network(OS-RAN) Alliance and OAI
* Software Alliance under one or more contributor license agreements. The
* initial OpenXG series projects are derided from OAI projects, the files from
* OAI projects are all in compliance with OAI Public License, Version 1.1.
* codes and files developed from OpenXG projects and from OS-RAN Alliance
* are all under OS-RAN licenses; you may not use this file except in compliance
* with the license. You may get a copy of the license at:
* http://www.openxg.org.cn/?falu_69.html
* For more information about OpenXG, please contact:
* contact@openxg.org.cn
*/
/*! \file common_defs.h
......
This diff is collapsed.
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the
* License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
*/
/*! file
brief
author Jian Yang
date 2021
email: contact@openairinterface.org
*/
#ifndef _CONFIG_H_
#define _CONFIG_H_
#include <libconfig.h++>
#include <string>
#define CONFIG_STRING_NWDAF_CONFIG "NWDAF"
#define CONFIG_STRING_NF_NAME "NF_NAME"
#define CONFIG_STRING_API_VERSION "API_VERSION"
#define CONFIG_STRING_GETINFO_INTERVAL "GET_INFO_TIMER_INTERVAL"
#define CONFIG_STRING_INTERFACES "INTERFACES"
#define CONFIG_STRING_INTERFACE_SBI "SBI"
#define CONFIG_STRING_INTERFACE_NAME "INTERFACE_NAME"
#define CONFIG_STRING_IPV4_ADDRESS "IPV4_ADDRESS"
#define CONFIG_STRING_PORT "PORT"
#define CONFIG_STRING_INSTANCE_GNB_SELECTED "SELECTED"
#define CONFIG_STRING_INTERFACE_GNB "gNB"
#define CONFIG_STRING_INTERFACE_AMF "AMF"
#define CONFIG_STRING_INTERFACE_SMF "SMF"
#define CONFIG_STRING_INTERFACE_UDM "UDM"
#define CONFIG_STRING_UDSF_MYSQL "MYSQL_UDSF"
#define CONFIG_STRING_UDSF_MYSQL_SERVER "MYSQL_SERVER"
#define CONFIG_STRING_UDSF_MYSQL_USER "MYSQL_USER"
#define CONFIG_STRING_UDSF_MYSQL_PASS "MYSQL_PASS"
#define CONFIG_STRING_UDSF_MYSQL_DB "MYSQL_DB"
#define CONFIG_STRING_UDSF_MYSQL_PORT "MYSQL_PORT"
using namespace libconfig;
namespace config {
typedef struct interface_cfg_s {
std::string if_name;
std::string addr4;
unsigned int port;
} interface_cfg_t;
typedef struct {
std::string mysql_server = "127.0.0.1";
std::string mysql_user = "yunshou";
std::string mysql_pass = "123456";
std::string mysql_db = "amfdata";
unsigned int mysql_port = 0;
} mysql_conf_t;
class nwdaf_config {
public:
nwdaf_config();
~nwdaf_config();
int load(const std::string &config_file);
int getip(std::string &ip, std::string &ifname);
int load_interface(const Setting &if_cfg, interface_cfg_t &cfg);
void display();
std::string nf_name;
std::string api_version;
interface_cfg_t sbi;
interface_cfg_t gnb;
bool gnbIsSet;
interface_cfg_t amf;
interface_cfg_t smf;
interface_cfg_t udm;
mysql_conf_t mysql;
unsigned int getinfo_interval;
};
} // namespace config
#endif
/*
* Licensed to Open Source Radio Access Network(OS-RAN) Alliance and OAI
* Software Alliance under one or more contributor license agreements. The
* initial OpenXG series projects are derided from OAI projects, the files from
* OAI projects are all in compliance with OAI Public License, Version 1.1.
* codes and files developed from OpenXG projects and from OS-RAN Alliance
* are all under OS-RAN licenses; you may not use this file except in compliance
* with the license. You may get a copy of the license at:
* http://www.openxg.org.cn/?falu_69.html
* For more information about OpenXG, please contact:
* contact@openxg.org.cn
*/
/*! file
brief
author Jian Yang
date 2021
email: contact@openxg.org.cn
*/
#ifndef _CONFIG_H_
#define _CONFIG_H_
#include <libconfig.h++>
#include <string>
#define CONFIG_STRING_NWDAF_CONFIG "NWDAF"
#define CONFIG_STRING_NF_NAME "NF_NAME"
#define CONFIG_STRING_API_VERSION "API_VERSION"
#define CONFIG_STRING_GETINFO_INTERVAL "GET_INFO_TIMER_INTERVAL"
#define CONFIG_STRING_INTERFACES "INTERFACES"
#define CONFIG_STRING_INTERFACE_SBI "SBI"
#define CONFIG_STRING_INTERFACE_NAME "INTERFACE_NAME"
#define CONFIG_STRING_IPV4_ADDRESS "IPV4_ADDRESS"
#define CONFIG_STRING_PORT "PORT"
#define CONFIG_STRING_INSTANCE_GNB_SELECTED "SELECTED"
#define CONFIG_STRING_INTERFACE_GNB "gNB"
#define CONFIG_STRING_INTERFACE_AMF "AMF"
#define CONFIG_STRING_INTERFACE_SMF "SMF"
#define CONFIG_STRING_INTERFACE_UDM "UDM"
#define CONFIG_STRING_UDSF_MYSQL "MYSQL_UDSF"
#define CONFIG_STRING_UDSF_MYSQL_SERVER "MYSQL_SERVER"
#define CONFIG_STRING_UDSF_MYSQL_USER "MYSQL_USER"
#define CONFIG_STRING_UDSF_MYSQL_PASS "MYSQL_PASS"
#define CONFIG_STRING_UDSF_MYSQL_DB "MYSQL_DB"
#define CONFIG_STRING_UDSF_MYSQL_PORT "MYSQL_PORT"
using namespace libconfig;
namespace config {
typedef struct interface_cfg_s {
std::string if_name;
std::string addr4;
unsigned int port;
} interface_cfg_t;
typedef struct {
std::string mysql_server = "127.0.0.1";
std::string mysql_user = "yunshou";
std::string mysql_pass = "123456";
std::string mysql_db = "amfdata";
unsigned int mysql_port = 0;
} mysql_conf_t;
class nwdaf_config {
public:
nwdaf_config();
~nwdaf_config();
int load(const std::string &config_file);
int getip(std::string &ip, std::string &ifname);
int load_interface(const Setting &if_cfg, interface_cfg_t &cfg);
void display();
std::string nf_name;
std::string api_version;
interface_cfg_t sbi;
interface_cfg_t gnb;
bool gnbIsSet;
interface_cfg_t amf;
interface_cfg_t smf;
interface_cfg_t udm;
mysql_conf_t mysql;
unsigned int getinfo_interval;
};
} // namespace config
#endif
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this
*file except in compliance with the License. You may obtain a copy of the
*License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
*/
/*! \file logger.cpp
\brief
\date 2020
\email: contact@openairinterface.org
* Licensed to Open Source Radio Access Network(OS-RAN) Alliance and OAI
* Software Alliance under one or more contributor license agreements. The
* initial OpenXG series projects are derided from OAI projects, the files from
* OAI projects are all in compliance with OAI Public License, Version 1.1.
* codes and files developed from OpenXG projects and from OS-RAN Alliance
* are all under OS-RAN licenses; you may not use this file except in compliance
* with the license. You may get a copy of the license at:
* http://www.openxg.org.cn/?falu_69.html
* For more information about OpenXG, please contact:
* contact@openxg.org.cn
*/
#include "logger.hpp"
......
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this
*file except in compliance with the License. You may obtain a copy of the
*License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
*/
/*! \file logger.hpp
\brief
\date 2020
\email: contact@openairinterface.org
* Licensed to Open Source Radio Access Network(OS-RAN) Alliance and OAI
* Software Alliance under one or more contributor license agreements. The
* initial OpenXG series projects are derided from OAI projects, the files from
* OAI projects are all in compliance with OAI Public License, Version 1.1.
* codes and files developed from OpenXG projects and from OS-RAN Alliance
* are all under OS-RAN licenses; you may not use this file except in compliance
* with the license. You may get a copy of the license at:
* http://www.openxg.org.cn/?falu_69.html
* For more information about OpenXG, please contact:
* contact@openxg.org.cn
*/
#ifndef __LOGGER_H
......
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the
* License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
* Licensed to Open Source Radio Access Network(OS-RAN) Alliance and OAI
* Software Alliance under one or more contributor license agreements. The
* initial OpenXG series projects are derided from OAI projects, the files from
* OAI projects are all in compliance with OAI Public License, Version 1.1.
* codes and files developed from OpenXG projects and from OS-RAN Alliance
* are all under OS-RAN licenses; you may not use this file except in compliance
* with the license. You may get a copy of the license at:
* http://www.openxg.org.cn/?falu_69.html
* For more information about OpenXG, please contact:
* contact@openxg.org.cn
*/
/*! file
brief
author Jian Yang
date 2021
email: contact@openairinterface.org
email: contact@openxg.org.cn
*/
/*
......
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the
* License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
* Licensed to Open Source Radio Access Network(OS-RAN) Alliance and OAI
* Software Alliance under one or more contributor license agreements. The
* initial OpenXG series projects are derided from OAI projects, the files from
* OAI projects are all in compliance with OAI Public License, Version 1.1.
* codes and files developed from OpenXG projects and from OS-RAN Alliance
* are all under OS-RAN licenses; you may not use this file except in compliance
* with the license. You may get a copy of the license at:
* http://www.openxg.org.cn/?falu_69.html
* For more information about OpenXG, please contact:
* contact@openxg.org.cn
*/
/*! file
brief
author Jian Yang
date 2021
email: contact@openairinterface.org
email: contact@openxg.org.cn
*/
/*
......
This diff is collapsed.
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the
* License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
*/
/*! file
brief
author Jian Yang
date 2021
email: contact@openairinterface.org
*/
#ifndef _CURL_H_
#define _CURL_H_
#include <string>
class curl {
public:
curl();
~curl();
static long curl_http_client(std::string remoteUri, std::string Method,
std::string msgBody, std::string &Response);
private:
};
/*
* Licensed to Open Source Radio Access Network(OS-RAN) Alliance and OAI
* Software Alliance under one or more contributor license agreements. The
* initial OpenXG series projects are derided from OAI projects, the files from
* OAI projects are all in compliance with OAI Public License, Version 1.1.
* codes and files developed from OpenXG projects and from OS-RAN Alliance
* are all under OS-RAN licenses; you may not use this file except in compliance
* with the license. You may get a copy of the license at:
* http://www.openxg.org.cn/?falu_69.html
* For more information about OpenXG, please contact:
* contact@openxg.org.cn
*/
/*! file
brief
author Jian Yang
date 2021
email: contact@openxg.org.cn
*/
#ifndef _CURL_H_
#define _CURL_H_
#include <string>
class curl {
public:
curl();
~curl();
static long curl_http_client(std::string remoteUri, std::string Method,
std::string msgBody, std::string &Response);
private:
};
#endif
\ No newline at end of file
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this
*file except in compliance with the License. You may obtain a copy of the
*License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
* Licensed to Open Source Radio Access Network(OS-RAN) Alliance and OAI
* Software Alliance under one or more contributor license agreements. The
* initial OpenXG series projects are derided from OAI projects, the files from
* OAI projects are all in compliance with OAI Public License, Version 1.1.
* codes and files developed from OpenXG projects and from OS-RAN Alliance
* are all under OS-RAN licenses; you may not use this file except in compliance
* with the license. You may get a copy of the license at:
* http://www.openxg.org.cn/?falu_69.html
* For more information about OpenXG, please contact:
* contact@openxg.org.cn
*/
/*! \file thread_sched.cpp
......
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this
*file except in compliance with the License. You may obtain a copy of the
*License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
* Licensed to Open Source Radio Access Network(OS-RAN) Alliance and OAI
* Software Alliance under one or more contributor license agreements. The
* initial OpenXG series projects are derided from OAI projects, the files from
* OAI projects are all in compliance with OAI Public License, Version 1.1.
* codes and files developed from OpenXG projects and from OS-RAN Alliance
* are all under OS-RAN licenses; you may not use this file except in compliance
* with the license. You may get a copy of the license at:
* http://www.openxg.org.cn/?falu_69.html
* For more information about OpenXG, please contact:
* contact@openxg.org.cn
*/
/*! \file thread_sched.hpp
......
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this
*file except in compliance with the License. You may obtain a copy of the
*License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
* Licensed to Open Source Radio Access Network(OS-RAN) Alliance and OAI
* Software Alliance under one or more contributor license agreements. The
* initial OpenXG series projects are derided from OAI projects, the files from
* OAI projects are all in compliance with OAI Public License, Version 1.1.
* codes and files developed from OpenXG projects and from OS-RAN Alliance
* are all under OS-RAN licenses; you may not use this file except in compliance
* with the license. You may get a copy of the license at:
* http://www.openxg.org.cn/?falu_69.html
* For more information about OpenXG, please contact:
* contact@openxg.org.cn
*/
/*! \file itti.cpp
\brief
......
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this
*file except in compliance with the License. You may obtain a copy of the
*License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
* Licensed to Open Source Radio Access Network(OS-RAN) Alliance and OAI
* Software Alliance under one or more contributor license agreements. The
* initial OpenXG series projects are derided from OAI projects, the files from
* OAI projects are all in compliance with OAI Public License, Version 1.1.
* codes and files developed from OpenXG projects and from OS-RAN Alliance
* are all under OS-RAN licenses; you may not use this file except in compliance
* with the license. You may get a copy of the license at:
* http://www.openxg.org.cn/?falu_69.html
* For more information about OpenXG, please contact:
* contact@openxg.org.cn
*/
/*! \file itti.hpp
\brief
......
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this
*file except in compliance with the License. You may obtain a copy of the
*License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
* Licensed to Open Source Radio Access Network(OS-RAN) Alliance and OAI
* Software Alliance under one or more contributor license agreements. The
* initial OpenXG series projects are derided from OAI projects, the files from
* OAI projects are all in compliance with OAI Public License, Version 1.1.
* codes and files developed from OpenXG projects and from OS-RAN Alliance
* are all under OS-RAN licenses; you may not use this file except in compliance
* with the license. You may get a copy of the license at:
* http://www.openxg.org.cn/?falu_69.html
* For more information about OpenXG, please contact:
* contact@openxg.org.cn
*/
/*! \file itti_msg.cpp
......
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this
*file except in compliance with the License. You may obtain a copy of the
*License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
* Licensed to Open Source Radio Access Network(OS-RAN) Alliance and OAI
* Software Alliance under one or more contributor license agreements. The
* initial OpenXG series projects are derided from OAI projects, the files from
* OAI projects are all in compliance with OAI Public License, Version 1.1.
* codes and files developed from OpenXG projects and from OS-RAN Alliance
* are all under OS-RAN licenses; you may not use this file except in compliance
* with the license. You may get a copy of the license at:
* http://www.openxg.org.cn/?falu_69.html
* For more information about OpenXG, please contact:
* contact@openxg.org.cn
*/
/*! \file itti_msg.hpp
\brief
......
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the
* License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
*/
/*! file
brief
author Jian Yang
date 2021
email: contact@openairinterface.org
*/
#ifndef _3GPP_29_520_H_
#define _3GPP_29_520_H_
typedef enum nwdaf_event_id {
NWDAF_EVENT_ID_MIN = 0,
NWDAF_LOAD_LEVEL_INFORMATION = 1,
NWDAF_NETWORK_PERFORMANCE = 2,
NWDAF_NF_LOAD = 3,
NWDAF_QOS_SUSTAINABILITY = 4,
NWDAF_SERVICE_EXPERIENCE = 5,
NWDAF_UE_MOBILITY = 6,
NWDAF_UE_COMM = 7,
NWDAF_USER_DATA_CONGESTION = 8,
NWDAF_ABNORMAL_BEHAVIOUR = 9,
NWDAF_NSI_LOAD_LEVEL = 10,
NWDAF_EVENT_ID_MAX
} nwdaf_event_id_t;
/*
* Licensed to Open Source Radio Access Network(OS-RAN) Alliance and OAI
* Software Alliance under one or more contributor license agreements. The
* initial OpenXG series projects are derided from OAI projects, the files from
* OAI projects are all in compliance with OAI Public License, Version 1.1.
* codes and files developed from OpenXG projects and from OS-RAN Alliance
* are all under OS-RAN licenses; you may not use this file except in compliance
* with the license. You may get a copy of the license at:
* http://www.openxg.org.cn/?falu_69.html
* For more information about OpenXG, please contact:
* contact@openxg.org.cn
*/
/*! file
brief
author Jian Yang
date 2021
email: contact@openxg.org.cn
*/
#ifndef _3GPP_29_520_H_
#define _3GPP_29_520_H_
typedef enum nwdaf_event_id {
NWDAF_EVENT_ID_MIN = 0,
NWDAF_LOAD_LEVEL_INFORMATION = 1,
NWDAF_NETWORK_PERFORMANCE = 2,
NWDAF_NF_LOAD = 3,
NWDAF_QOS_SUSTAINABILITY = 4,
NWDAF_SERVICE_EXPERIENCE = 5,
NWDAF_UE_MOBILITY = 6,
NWDAF_UE_COMM = 7,
NWDAF_USER_DATA_CONGESTION = 8,
NWDAF_ABNORMAL_BEHAVIOUR = 9,
NWDAF_NSI_LOAD_LEVEL = 10,
NWDAF_EVENT_ID_MAX
} nwdaf_event_id_t;
#endif
\ No newline at end of file
This diff is collapsed.
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public License, Version 1.1 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the
* License at
*
* http://www.openairinterface.org/?page_id=698
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* contact@openairinterface.org
* Licensed to Open Source Radio Access Network(OS-RAN) Alliance and OAI
* Software Alliance under one or more contributor license agreements. The
* initial OpenXG series projects are derided from OAI projects, the files from
* OAI projects are all in compliance with OAI Public License, Version 1.1.
* codes and files developed from OpenXG projects and from OS-RAN Alliance
* are all under OS-RAN licenses; you may not use this file except in compliance
* with the license. You may get a copy of the license at:
* http://www.openxg.org.cn/?falu_69.html
* For more information about OpenXG, please contact:
* contact@openxg.org.cn
*/
/*! file
brief
author Jian Yang
date 2021
email: contact@openairinterface.org
email: contact@openxg.org.cn
*/
#include "config.hpp"
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment