EVOLVED-5G / dummy-aef

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dummy-aef

Architecture

Container Folder Description
python_aef python_aef Python API Exposing Function (communication example with CAPIF)
redis_aef - DB to store info exchanged with CAPIF
capif_callback_aef capif_callback_aef Server implementing CAPIF callback endpoints

Development status

Development Task Subtask Status
Communication with CAPIF Register
Provider Management API
Publish Service API
Communication with dummy_netapp -
Use of CAPIF SDK libraries -
Callback server for CAPIF responses -
TLS Communication with CAPIF -

Container management

Pre-condition:

  • Deploy CAPIF (locally or on another server)
  • Define IPs* and ports of CAPIF and callback server (in files credentails.properties)

*If CAPIF is running on the same host as dummy_aef, then leave the IP properties as "host.docker.internal". Otherwise, add the IP of their host (e.g. "192.168.X.X").

**For communication with dummy_netapp, demo-network is created.

# Deploy and run containers
./run.sh

# Stop containers
./stop.sh

# Stop and Remove containers
./cleanup_docker_containers.sh

Use Python NetApp

# Access Python NetApp
./terminal_to_py_aef.sh

# Inside the container
# Test NetApp with CAPIF and dummy_aef
python3 1_provider_reg_onboard_pub.py
python3 5_aef_service_oauth.py
python3 6_aef_security.py
python3 7_aef_service_pki.py
python3 8_aef_logging.py
python3 9_aef_audit.py

# Outside container, for clean-up
(
 sudo rm ./python_aef/AEF_*
 sudo rm ./python_aef/APF_*
 sudo rm ./python_aef/AMF_*
 sudo rm ./python_aef/ca.crt
 sudo rm ./python_aef/domain.*
 sudo rm ./python_aef/cert_server.pem
 sudo rm ./python_aef/dummy*
 sudo rm ./python_aef/capif_cert_server.pem
)

About

License:Apache License 2.0


Languages

Language:Python 85.2%Language:Shell 11.9%Language:Dockerfile 3.0%