gabrik / acquirer

VNF For UDP/RTP Restreaming

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Acquirer - VNF

General Info

This simple VNF (Virtual Network Function), provide a repeater for UDP/RTP Video Stream inside an SDN/NFV platform. Developed to be shown as part of a demo of a paper.


How it works

Simply listen to all interfaces on port 50040 and repeat all UDP message that receive to a fake ip address (the real destination is orchestrated by the SDN Controller)


How to build

Uses only standard libs, you can use makefile for build

user@unix:~/acquirer$ make

This will create a file named acquirer inside the repo directory. To run simply use

user@unix:~/acquirer$ ./acquirer <fake destination> <udp port> -d (optional for debug)

To build as unikernel

user@unix:~/acquirer$ make unikernel

Then you can edit vm.sh file for use the correct bridge interface, and the arguments, then you can start a unikernel by typing

user@unix:~/acquirer$ sudo ./vm.sh

This code as the possibility to be build as a unikernel, by using rumprun

About

VNF For UDP/RTP Restreaming

License:Apache License 2.0


Languages

Language:C 73.7%Language:Makefile 16.0%Language:Shell 10.3%