Service Function Chaining
Project description
Service Function Chaining
=========================
Service Function Chaining provides the ability to define an ordered list of a
network services (e.g. firewalls, load balancers). These service are then
"stitched" together in the network to create a service chain. This project
provides the infrastructure (chaining logic, APIs) needed for ODL to provision
a service chain in the network and an end-user application for defining such
chains.
Instalation
===========
The installation has been tested on Ubuntu Linux.
SFC needs to have Python 3.4 installed
Before you run installation from Pypi,
be sure you have installed libnetfilter-queue
To run installation of libnetfilter-queue:
sudo apt-get install libnetfilter-queue-dev
all other dependencies are handled in the SFC setup.
There is still possibility to download the sfc-xxx.tar.gz file from Pypi repository,
unzip it , locate setup.py file and use the python installer
python3 setup.py install
Usage
=======
python3.4 sfc_agent --rest --nfq-class --odl-get-sff --ovs-sff-cp-ip <local SFF IP dataplane address> --odl-ip-port=<ODL REST IP:port> --sff-name=<my SFF name>--sff-os=<agent os> --agent-port=<agent listening port>
note:
root privileges are required if `--nfq-class` flag is used
SFC Agent
optional arguments:
-h, --help show this help message and exit
--odl-get-sff Get SFF from ODL
--auto-sff-name Automatically get SFF name
--nfq-class Flag to use NFQ Classifier
-r, --rest Flag to use REST
--sff-name SFF_NAME Set SFF name
--odl-ip-port ODL_IP_PORT
Set ODL IP and port in form <IP>:<PORT>. Default is
localhost:8181
--ovs-sff-cp-ip OVS_SFF_CP_IP
Set local SFF Open vSwitch IP. Default is 0.0.0.0
--sff-os {XE,XR,OVS} Set SFF switch OS
--agent-port AGENT_PORT
Set SFC Agent port. Default is 5000
Example
=======
sudo python3.4 sfc_agent.py --rest --odl-ip-port 192.168.33.11:8181 --auto-sff-name --nfq-class
this command will run the sfc_agent using REST, trying to recognize its own SFF name and running
also NFQ classifier instance.
=========================
Service Function Chaining provides the ability to define an ordered list of a
network services (e.g. firewalls, load balancers). These service are then
"stitched" together in the network to create a service chain. This project
provides the infrastructure (chaining logic, APIs) needed for ODL to provision
a service chain in the network and an end-user application for defining such
chains.
Instalation
===========
The installation has been tested on Ubuntu Linux.
SFC needs to have Python 3.4 installed
Before you run installation from Pypi,
be sure you have installed libnetfilter-queue
To run installation of libnetfilter-queue:
sudo apt-get install libnetfilter-queue-dev
all other dependencies are handled in the SFC setup.
There is still possibility to download the sfc-xxx.tar.gz file from Pypi repository,
unzip it , locate setup.py file and use the python installer
python3 setup.py install
Usage
=======
python3.4 sfc_agent --rest --nfq-class --odl-get-sff --ovs-sff-cp-ip <local SFF IP dataplane address> --odl-ip-port=<ODL REST IP:port> --sff-name=<my SFF name>--sff-os=<agent os> --agent-port=<agent listening port>
note:
root privileges are required if `--nfq-class` flag is used
SFC Agent
optional arguments:
-h, --help show this help message and exit
--odl-get-sff Get SFF from ODL
--auto-sff-name Automatically get SFF name
--nfq-class Flag to use NFQ Classifier
-r, --rest Flag to use REST
--sff-name SFF_NAME Set SFF name
--odl-ip-port ODL_IP_PORT
Set ODL IP and port in form <IP>:<PORT>. Default is
localhost:8181
--ovs-sff-cp-ip OVS_SFF_CP_IP
Set local SFF Open vSwitch IP. Default is 0.0.0.0
--sff-os {XE,XR,OVS} Set SFF switch OS
--agent-port AGENT_PORT
Set SFC Agent port. Default is 5000
Example
=======
sudo python3.4 sfc_agent.py --rest --odl-ip-port 192.168.33.11:8181 --auto-sff-name --nfq-class
this command will run the sfc_agent using REST, trying to recognize its own SFF name and running
also NFQ classifier instance.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sfc-0.1.355.tar.gz
(136.9 kB
view details)
File details
Details for the file sfc-0.1.355.tar.gz
.
File metadata
- Download URL: sfc-0.1.355.tar.gz
- Upload date:
- Size: 136.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ea9911a6a8eb32c803a0bc321fe42642a3b15121e3b2505c41f2b756bfa68ad |
|
MD5 | 0012e1e20fa67a7b0ccc831ea6e07974 |
|
BLAKE2b-256 | 5303ead3ab623021b15f126d5e6f0652adc65797f73ab3bc3d2a1e6f0ac4dc65 |