Skip to content

NF Module

Youssouf Drif edited this page Dec 4, 2020 · 3 revisions

This module is used to manage the CN Network Functions and also interact with the database. I mostly use is to fix the bug of free5gc-compose which doesn't drop the URI List of the NFs when shutting down.

Requirements

  • Free5gc running and more specifically mongo service

Configuration file

nf.yaml holds the configuration of the module

info:
  version: 1.0.0
  description: "Freecli - NF module"

configuration:
  mongodb:
    name: free5gc
    url: mongodb://172.16.100.30:27018

You can reload the module configuration files with the command network-function# configuration reload

Commands

Database

Drop a specific collection of the database

network-function# database drop-collection --collection <collection_name>

example

network-function# database drop-collection --collection subscriptionData.provisionedData.amData

Flush all the collections of the database

network-function# database flush

Network Functions - UNDER DEVELOPEMENT