Giter Site home page Giter Site logo

5gcore-1's Introduction

5GCORE

删去了源代码中UPF的网桥配置部分, 对UDM数据库连接部分做了微调

运行方法

  1. 注意5GCORE文件夹须放在用户根目录 ~/

  2. 环境: python 3.6+, 用virtualenv创建虚拟环境后执行 pip install -r requirements.txt 安装所有依赖

  3. 配置数据库: mysql5.7, 修改下面两个文件中的连接配置, 然后执行users.py的 create()add() 函数建表并写入一行数据, 之后可以用 query() 测试是否生效

    ~/5GCORE/UDM/Nudm_UEAuthentication/v1/users.py
    ~/5GCORE/UDM/Nudm_UEAuthentication/v1/api/UE_Auth.py
    
  4. 开两个终端, 第一个运行核心网代码, 第二个当做UE, 执行完成后应当能看到完整的log信息

# 第一个终端执行
./run5gCore
# 第二个执行
cd ~/5GCORE/UE
python AN2.py
  1. 如果使用Windows, 需要自己写.bat脚本, 可参考fork版代码的.bat文件

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.