driver / lint (pull_request) Successful in 14s
driver / standard (pull_request) Successful in 17s
driver / types (pull_request) Successful in 59s
driver / test (3.13) (pull_request) Successful in 57s
driver / test (3.12) (pull_request) Successful in 1m2s
driver / lowest (pull_request) Successful in 40s
driver / build (pull_request) Successful in 37s
driver / security (pull_request) Successful in 1m17s
CI / driver (pull_request) Successful in 2m32s
driver / publish (pull_request) Skipped
configure_zabbix_agent(settings) installs zabbix-agent from the host's packages, and where they have none, from Zabbix's repository for the server's release line. It writes the caller's values into /etc/zabbix/zabbix_agentd.conf (the old file stays as .bak) and opens tcp/ListenPort for the allowed sources in firewalld, ufw or iptables. The firewall step of the SNMP agent is the shared _allow_sources(allowed, port, proto) now, in _open_port.py; the rules it writes for udp/161 are the same. Needs napalm-device-types 4.40.0.
27 lines
938 B
JSON
27 lines
938 B
JSON
{
|
|
"coverage_floor": 57.0,
|
|
"function_complexity": {
|
|
"napalm_linux/linux.py::LinuxDriver._collect_platform_info": 24,
|
|
"napalm_linux/linux.py::LinuxDriver.get_networks": 13,
|
|
"napalm_linux/linux.py::LinuxDriver.get_route_to": 13,
|
|
"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": 101,
|
|
"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": 1993
|
|
},
|
|
"untyped_public": []
|
|
}
|