Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/napalm-automation-community/napalm-ciena-saos
Napalm Community driver for Ciena SAOS
https://github.com/napalm-automation-community/napalm-ciena-saos
Last synced: about 2 months ago
JSON representation
Napalm Community driver for Ciena SAOS
- Host: GitHub
- URL: https://github.com/napalm-automation-community/napalm-ciena-saos
- Owner: napalm-automation-community
- License: apache-2.0
- Created: 2020-02-28T10:13:53.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-25T10:07:50.000Z (almost 5 years ago)
- Last Synced: 2024-11-07T10:55:16.996Z (about 2 months ago)
- Language: Python
- Size: 30.3 KB
- Stars: 5
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING
- License: LICENSE
Awesome Lists containing this project
README
# NAPALM COMMUNITY DRIVER FOR CIENA SAOS DEVICES
This Napalm driver connects to Ciena devices running SAOS operating system. It has been tested on multiple platforms.
It is only possible to connect using ```SSH``` so telnet will not work.
## INSTALLING THE DRIVER
```
git clone https://github.com/napalm-automation-community/napalm-ciena-saos.git
cd napalm-ciena-saos
python setup.py
```> Installation with PIP will be available soon.
## HOW TO USE
Use driver name ```ciena_saos``` and
```
driver = napalm.get_network_driver("ciena_saos")
device = driver(hostname=, username=, password=, optional_args={ })
device.open()
device.get_config()
device.get_facts()
device.get_virtual_switch()
device.close()
```## AVAILABLE FUNCTIONS
The standard commands are implememented: get_facts, get_cli, get_config, save_config
### get_facts()
The default get_facts() function returns the following info:
```
facts = {
"vendor": "Ciena",
"uptime": None,
"os_version": None,
"os_version_installed": None,
"boot_version": None,
"application_build": None,
"serial_number": None,
"device_id": None,
"device_type": None,
"model": None,
"description": None,
"hostname": None,
"fqdn": None,
"domain_name": None,
"loopback_ipv4": None,
"remote_ipv4": None,
"chassis_mac": None
}
```### get_virtual_switch()
This returns all the virtual switches.
For each vswitch the following facts are found:
```
vswitch = {
"name": None,
"id": None,
"description": None,
"active_vlan": None,
"vc": None
}
```## AUTHOR
This driver is currently work in progress. Please feel free to contact me via GIT.
Maarten Wallraf (https://github.com/mwallraf)