M0NsTeRRR / napalm-fsos-ssh

Napalm driver for FSOS using SSH

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Napalm driver for FSOS using SSH

PyPI PyPI versions Python test Code Style

Warning

This driver has been tested only on S3900 24T4S

Install

pip install napalm-fsos-ssh

Dev

Install Poetry with version >= 1.2.0a1

Install and setup dependencies

poetry install
poetry shell
pre-commit install

Run unit test

pytest

Run pre-commit

pre-commit run --all-files

Switch configuration

In order to use the driver you need to enable ssh:

ip ssh server enable

You also need to configure a username and password with ro permission to authenticate with ssh

username <your_username> privilege 0
username <your_username> password 0 <your_password>

Licence

The code is under CeCILL license.

You can find all details here: https://cecill.info/licences/Licence_CeCILL_V2.1-en.html

Credits

Copyright © Ludovic Ortega, 2022

Contributor(s):

-Ortega Ludovic - ludovic.ortega@adminafk.fr

About

Napalm driver for FSOS using SSH

License:Other


Languages

Language:Python 100.0%