Skip to content
This repository has been archived by the owner on Jul 31, 2021. It is now read-only.
/ vnf Public archive

Deployment VNFs and NSs descriptors of 5G-Mobility for OSM

Notifications You must be signed in to change notification settings

5g-mobility/vnf

Repository files navigation

Components

There are 2 NSs, one for the static services i.e, the services that will always be up, and another one for the non-static services, the ones that will go down and up when needed.

How to Run

To prepare the system, OSM client must be installed and updated and have a VIM and OSM configured.

That said, the steps are as follows:

  1. If you do not have the tar.gz of each NS and VNF configuration directory, you need to do the following

    • For each NS and VNF configuration:
    $ tar -czvf <name_of_NS_or_VNF_configuration_directory>.tar.gz <name_of_NS_or_VNF_configuration_directory>/
    

    This will create a single file with the collection of configuration files wrapped up in it

  2. Do the onboarding of each VNF. To do this, do the following for each tar.gz of the VNFs configuration files:

    $ osm vnfpkg-create <name_of_VNF_file_with_the_configuration>.tar.gz
    
  3. Do the onboarding of each NS. To do this, do the following for each tar.gz of the NSs configuration files:

    $ osm nsd-create <name_of_NS_file_with_the_configuration>.tar.gz
    

The NSs and VNFs should be onboarded on the OSM, now you can instanciate the NS through the user interface.

Change configurations inside tar.gz

Just do tar -xf <name_of_file_to_unpack_.tar.gz to unpack the content, change what you need, and repeat the process above.