=========================
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.
1.- SFC needs to have Python 3.4 installed
2.- openssl-devel MUST BE INSTALLED as it is pip dependency
sudo apt-get install libssl-dev openssl
3.- 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
4.- be sure you have installed pip3
to run installation of pip3 :
sudo apt-get install python3-pip
5.- Finally the installation of the SFC package:
sudo pip3 install sfc
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-ip-port=<ODL REST IP:port> --auto-sff-name
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.
Metadata
Release files for sfc 0.1.365
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sfc-0.1.365.tar.gz | 137.6 kB | Without provenance | Details for sfc-0.1.365.tar.gz |
Release files / sfc-0.1.365.tar.gz
| Download URL | sfc-0.1.365.tar.gz |
|---|---|
| Size | 137.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3c279c3f4b3e7dab655b658901eae1569d0b79d90ac866e4720b3a345e850ddd
|
|
BLAKE2b-256 checksum How to use checksums |
8acf10e390a24c1a4188fd913a5602be7ef31427013d8ea21411c6029d05b48f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for sfc 0.1.365
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.