Installation
Install with pip
Note At least Python3.6 is needed (Dependencies constrains)
pip3.6 install FlexibleNetwork
☝️ Download a sample config file
& inventory file
mkdir /etc/flexible_network
# Download a sample hosts file
wget -O /etc/flexible_network/hosts https://raw.githubusercontent.com/eslam-gomaa/Flexible-Network/develop/user/hosts
# Download a sample config file
wget -O /etc/flexible_network/flexible_network.cfg https://raw.githubusercontent.com/eslam-gomaa/Flexible-Network/develop/user/flexible_network.cfg
Build from source
Run unit tests
# Do NOT use it, deprecated (Will be updated)
export PYTHONPATH=Flexible_Network/
python3.6 -m pytest tests/ -v
Build & Install
git clone https://github.com/eslam-gomaa/Flexible-Network.git
cd Flexible-Network
# Build
python3.6 setup.py bdist_wheel
# Install
pip3.6 install dist/FlexibleNetwork-*.whl
After you have the library installed, you’re ready to use it Usage