Skip to content

Latest commit

 

History

History
75 lines (53 loc) · 2.01 KB

README.md

File metadata and controls

75 lines (53 loc) · 2.01 KB

Napalm driver for FSOS using SSH

PyPI PyPI versions Python test Code Style

Warning

This driver has been tested only on S3900 24T4S with version 1.7.3

Install

pip install napalm-fsos-ssh

Dev

Devcontainer

A devcontainer is available

Standard

Install Poetry

Install and setup dependencies

poetry install
poetry shell
pre-commit install

Run unit test

poetry run pytest

Run linter & formatter

poetry run ruff format . 
poetry run ruff check .

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 You can change privilege level regarding driver capability you needs

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

Contributing

We welcome and encourage contributions to this project! Please read the Contributing guide. Also make sure to check the Code of Conduct and adhere to its guidelines

Security

See SECURITY.md file for details.

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 - [email protected]