Skip to content

free5gmano/free5gmano-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

free5gmano CLI

Dependencies

The following packages are required:

  • git
  • python3
  • pip3
  • service-mapping-plugin-framework

Install service-mapping-plugin-framework

Please refer to service-mapping-plugin-framework Installation Guide to install service-mapping-plugin-framework.

Installation Guide

git clone https://github.com/free5gmano/free5gmano-cli.git
cd free5gmano-cli
git checkout v2.0.0
pip3 install -e .

User Guide

Setup free5gmano host and port

cd free5gmano-cli/nm
vim setting.py
  1. register plugin
nmctl register plugin <plugin_name> -f <your plugin folder>
  1. create template
nmctl create template -n <plugin_name> -t <VNF or NSD or NRM>
  1. onboard template
nmctl onboard template <template_id> -f <your template folder>
  1. create NSST
nmctl create nsst -n <plugin_name> <VNF template_id> <NSD template_id> <NRM template_id>
  1. Allocate NSSI
nmctl allocate nssi <NSST template_id>

Other Operation

  1. get plugin
nmctl get plugin
nmctl get plugin <plugin_name>
  1. update plugin
nmctl update plugin <plugin_name> -f <your plugin folder>
  1. delete plugin
nmctl delete plugin <plugin_name>
  1. get template
nmctl get template
nmctl get template <template_id>
  1. delete template
nmctl delete template <template_id>
  1. get NSST
nmctl get nsst
nmctl get nsst <NSST template_id>
  1. delete NSST
nmctl delete nsst <NSST template_id>
  1. subscribe NSSI (Fault Management)
nmctl create subscriptions <NSS_INSTANCE_ID>
  1. unsubscribe NSSI (Fault Management)
nmctl delete subscriptions <NSS_INSTANCE_ID>

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages