---
tags: Study Notes
title: Network Slicing Call Flow
---
# Network Slicing Call Flow
[TOC]
------------------------------------------------
#### Goal
:::info
The goal of this project is to find the network slicing procedure in the open source "free5Gc".
The following are the questions I want to be able to answer through this project:
- How is slicing configured in free5Gc, specifically in the NSSF?
- How are parameters such as latency, bandwidth, traffic, and other QoS, configured through out free5Gc?
- Is slicing in free5Gc only avaiable if the UE requests it?
:::
------------------------------------------------
#### Testing Enviroment
:::info
i7-8550U | 8GB 2400Mhz | Windows 10
Oracle VirtualBox 6.1.26
Ubuntu Server 20.04.2 LTS
Kernel 5.4.0-81-generic
free5Gc v3.0.5
Go v1.17
:::
------------------------------------------------
#### Procedure
:::info
Following the goal of finding the network slicing protocol in free5gc, the project will be to flag the sub-functions in the core network and trace the flags to eventually make a call flow. Since free5gc is coded mostly using Go, I will add a print command to each sub-function in the core network. The Go line that will be used is: fmt.Println(""). Using the format of "Kenny.[functionname]", I can then filter for sub-functions and then compile it into a document. After compiling, I will examine and create a call flow using this data.
:::
:::info
How will I edit each file?
From my test environment (Ubuntu), I will use the nano command and edit each file manually. After editing the files, I will have to run the commands:
cd ~/free5gc
make
To rebuild free5gc with the edited code.
:::
:::info
Tracking and Managing
There are a lot of code files in free5gc and I will have to make a create a checklist for every code that I edited. I have done this by putting the free5gc source code through SourceInsight, which gave me a list of all the source codes. I will put this list in a spreadsheet for a checklist.
:::
------------------------------------------------
#### Source Code Checklist
<iframe src="https://docs.google.com/spreadsheets/d/e/2PACX-1vTf9GlA1nSrWwiHYUooPcBU0mbkITI6hB0sHPTa3qIzODBh4WnaT62QxgfC5BSX67B287NglMVawy8G/pubhtml?gid=0&single=true&widget=true&headers=false" width = 100% height = 600 ></iframe>
------------------------------------------------
#### Result
coming soon