Network Automation and Programmability Abstraction Layer driver for Nokia SR Linux
Project description
Nokia napalm-srlinux
Community NAPALM driver for the Nokia SR Linux OS. https://www.nokia.com/networks/products/service-router-linux-NOS/
NAPALM
NAPALM (Network Automation and Programmability Abstraction Layer with Multivendor support) is a Python library that implements a set of functions to interact with different router vendor devices using a unified API.
NAPALM supports several methods to connect to the devices, to manipulate configurations or to retrieve data.
SR Linux OS
The driver leverages Nokia SRL YANG models for configuration and state trees for the SRL platform. NAPALM integration is validated with a minimum of Nokia Service Router Linux Operating System (SRL OS) version 21.3.1.
Releases beyond this have not been validated and should be by users before using the driver in labs and production on devices using different SRL OS versions. Please contact the Nokia owners of this repository for additional information with respect to additional release validation.
Documentation
- Please read the installation instruction in Install Document
- Mapping of various parameters of NAPALM output to Nokia SRL can be found in this Mapping Document
- For testing, please refer to Test Document
**Components **
- Python (3.7 or later)
- grpcio
- protobuf
Important Notes
-
Ports: The napalm-srlinux driver uses gNMI and JSON-RPC for various functions, Make sure to enable the ports at SR Linux Node (57400 and 443 respectively by default)
-
Certificates: The napalm-srlinux driver establishes secure connection only with the node, Hence make sure the appropriate CA/Certificates and Keys are in place. For testing purposes, 'insecure=True' can be used to accept any certificate presented by the device
-
Compare_Config: The
compare_commit
based on the previously called function performs the operation as below, Default is on-box differenceFunction compare_config LOAD_MERGE on-box difference LOAD_REPLACE out-box difference -
Proxy Setting: The driver establishes RPC connections with the nodes, Check proxy settings at local machine(where driver is running), Disable proxy if not needed when running locally.
License
This project is licensed under the Apache-2.0 license - see the LICENSE file.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for napalm_srl-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9852c1dc16c8ea3858d431a7a7d90ba8876f69ba7a04a20c6e04361a55d33b70 |
|
MD5 | 572cad33dc8561c7395558a86580f96e |
|
BLAKE2b-256 | 2f6605aa3b654ee0d93f0693eee2fdc1f8037e6c90a71e8faaa6f610758a676c |