Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/napalm-automation-community/napalm-fsos-ssh
SSH-based driver for FSOS (related products: see fs.com)
https://github.com/napalm-automation-community/napalm-fsos-ssh
Last synced: about 2 months ago
JSON representation
SSH-based driver for FSOS (related products: see fs.com)
- Host: GitHub
- URL: https://github.com/napalm-automation-community/napalm-fsos-ssh
- Owner: napalm-automation-community
- License: other
- Created: 2022-06-05T19:58:21.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-29T06:22:10.000Z (7 months ago)
- Last Synced: 2024-05-29T19:07:29.833Z (7 months ago)
- Language: Python
- Homepage:
- Size: 656 KB
- Stars: 1
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
Napalm driver for FSOS using SSH
[![PyPI](https://img.shields.io/pypi/v/napalm-fsos-ssh.svg)](https://pypi.python.org/pypi/napalm-fsos-ssh)
[![PyPI versions](https://img.shields.io/pypi/pyversions/napalm-fsos-ssh.svg)](https://pypi.python.org/pypi/napalm-fsos-ssh)
[![Python test](https://github.com/napalm-automation-community/napalm-fsos-ssh/actions/workflows/test.yml/badge.svg)](https://github.com/napalm-automation-community/napalm-fsos-ssh/actions/workflows/test.yml)
[![Code Style](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)# 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 [uv](https://docs.astral.sh/uv/getting-started/installation/)Install and setup dependencies with `uv sync`
### Run unit test
```
uv run pytest --cov
```### Run ruff
```
uv run ruff format .
uv 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 password 0
username privilege 15
```# Contributing
We welcome and encourage contributions to this project! Please read the [Contributing guide](CONTRIBUTING.md). Also make sure to check the [Code of Conduct](CODE_OF_CONDUCT.md) and adhere to its guidelines
# Security
See [SECURITY.md](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]