napalm-sros
napalm-sros copied to clipboard
NAPALM driver for Nokia SR OS
### Steps to reproduce While napalm-sros 1.0.1 works with napalm 3.4.1/netmiko 3.4.0/textfsm 1.1.3, it doesn't work with Napalm 4.0.0 Install napalm-sros with pip with napalm 4.0.0 pip install git+https://github.com/napalm-automation-community/napalm-sros.git ###...
https://github.com/napalm-automation-community/napalm-sros/blob/287ed784399eefddd9aad5f32692b6161bbdcfaf/napalm_sros/nc_filters.py#L927 In 21.10 it's power-shelf: https://github.com/nokia/7x50_YangModels/blob/master/latest_sros_21.10/nokia-state-chassis.yang#L1460 however for some reason on VSR there is only (emulated) power-supply Consequently, get_environment fails completely, even though other information like CPU/memory utilization is available
When showing the diff for a port admin-state change on an SR-7s, the diff does shows port numbers which cannot be correlated to any port: ``` [ "change", [ "configure",...
The previous fix does not work for Python 3.6
The generate timestamp in the get_interface unittest does not match the mock data when running on Windows devices. It does match when running on MacOS, GitHub and Linux.
pytest raises warnings about these obsolete expressions, all cases of '\' replaced by '\\'
Proposing to create either creating labels(git tags) or release branchs. Impact 1. Possiblity of Version pinning 2. No unexpected changes in different envs when installing from requirements.txt 3. General benifit...
Inspecting the [sros.py](https://github.com/napalm-automation-community/napalm-sros/blob/master/napalm_sros/sros.py) code I can see that in multiple places the exception is caught for logging the exception into log. But the exception is not re-raised, so it's logged...
- dict keys must be strings, not int - fix power usage parsing - fix available memory calculation
Added additional information for installation as a dependency in python environment using requirements.txt