napalm-device-types' lldp_neighbors now carries the chassis MAC as mac when the chassis id is a MAC address, the rule this driver applied itself. The getter uses the projection, so linux and openwrt report neighbours the same way.
28 lines
999 B
JSON
28 lines
999 B
JSON
{
|
|
"coverage_floor": 57.0,
|
|
"function_complexity": {
|
|
"napalm_linux/linux.py::LinuxDriver._collect_platform_info": 24,
|
|
"napalm_linux/linux.py::LinuxDriver._parse_cron_line": 12,
|
|
"napalm_linux/linux.py::LinuxDriver.get_networks": 13,
|
|
"napalm_linux/linux.py::LinuxDriver.get_route_to": 14,
|
|
"napalm_linux/linux.py::LinuxDriver.get_snmp_config": 13,
|
|
"napalm_linux/linux.py::LinuxDriver.get_vpn_tunnels": 28,
|
|
"napalm_linux/linux.py::LinuxDriver.search_packages": 26
|
|
},
|
|
"function_lines": {
|
|
"napalm_linux/linux.py::LinuxDriver._collect_platform_info": 106,
|
|
"napalm_linux/linux.py::LinuxDriver.get_networks": 52,
|
|
"napalm_linux/linux.py::LinuxDriver.get_route_to": 103,
|
|
"napalm_linux/linux.py::LinuxDriver.get_vpn_tunnels": 152,
|
|
"napalm_linux/linux.py::LinuxDriver.search_packages": 106,
|
|
"napalm_linux/linux.py::LinuxDriver.uninstall_package": 51
|
|
},
|
|
"mypy_relaxed": [
|
|
"napalm_linux.linux"
|
|
],
|
|
"python_file_lines": {
|
|
"napalm_linux/linux.py": 2122
|
|
},
|
|
"untyped_public": []
|
|
}
|