driver / standard (pull_request) Successful in 20s
driver / lint (pull_request) Successful in 23s
driver / types (pull_request) Successful in 1m16s
driver / test (3.13) (pull_request) Successful in 1m18s
driver / test (3.12) (pull_request) Successful in 1m27s
driver / lowest (pull_request) Successful in 46s
driver / build (pull_request) Successful in 43s
driver / security (pull_request) Successful in 1m27s
CI / driver (pull_request) Successful in 3m11s
driver / publish (pull_request) Skipped
What a host runs on its own schedule as one shape: cron lines, run-parts scripts, anacron, systemd timers, periodic, a platform's own jobs, Windows tasks. Every job says who owns its definition and what the driver can do to it; every write names the digest the caller saw and is refused when the host's definition changed since. PosixScheduledJobsMixin reads everything in one framed report as root, switches a cron line behind #napalm-disabled:, a timer by systemctl and a run-parts script by its execute bit, runs a job now bounded by timeout, and writes an application's job as a timer where systemd runs, else in /etc/cron.d or the user's crontab. napalm_device_types.cron parses cron expressions, gives their next runs and writes them as OnCalendar lines. get_cron_jobs and CronJobDict go: nothing called them. Version 4.26.0, so drivers can require it before the release is tagged. Closes #86
39 lines
1.8 KiB
JSON
39 lines
1.8 KiB
JSON
{
|
|
"coverage_floor": 95.0,
|
|
"function_complexity": {
|
|
"napalm_device_types/_ucd_metrics.py::build_if_metrics": 20,
|
|
"napalm_device_types/_ucd_metrics.py::collect_ucd_metrics": 17,
|
|
"napalm_device_types/host_firewall.py::_iptables_rule": 11,
|
|
"napalm_device_types/host_firewall.py::_module_match": 13,
|
|
"napalm_device_types/host_firewall.py::_module_options": 14,
|
|
"napalm_device_types/host_firewall.py::_nft_field": 15,
|
|
"napalm_device_types/host_firewall.py::_nft_match": 12,
|
|
"napalm_device_types/host_firewall.py::_nft_rule": 16,
|
|
"napalm_device_types/host_firewall.py::_parse_nft": 14,
|
|
"napalm_device_types/host_firewall.py::rule_text": 14,
|
|
"napalm_device_types/host_status.py::_reboot": 12,
|
|
"napalm_device_types/lag.py::add_lag_interfaces": 11,
|
|
"napalm_device_types/listening.py::parse_listening_sockets": 13,
|
|
"napalm_device_types/service_clusters.py::_patroni": 11,
|
|
"napalm_device_types/ssh_server.py::plan_ssh_hardening": 38,
|
|
"napalm_device_types/virtual_ips.py::_keepalived": 12
|
|
},
|
|
"function_lines": {
|
|
"napalm_device_types/_ucd_metrics.py::collect_ucd_metrics": 119,
|
|
"napalm_device_types/dhcp.py::DhcpServerMixin.diff_dhcp_reservations": 54,
|
|
"napalm_device_types/dhcp.py::DhcpServerMixin.diff_dhcp_subnets": 60,
|
|
"napalm_device_types/firewall_rules.py::FirewallRuleMixin.diff_firewall_rules": 56,
|
|
"napalm_device_types/hypervisor.py::HypervisorDriver.create_vm_from_cloud_init": 84,
|
|
"napalm_device_types/hypervisor.py::HypervisorDriver.get_vm_config": 77,
|
|
"napalm_device_types/ssh_server.py::plan_ssh_hardening": 60,
|
|
"napalm_device_types/storage.py::StorageDriver.get_volumes": 52,
|
|
"napalm_device_types/switch.py::SwitchDriver.get_dot1x_ports": 51,
|
|
"napalm_device_types/switch.py::SwitchDriver.get_poe_status": 63
|
|
},
|
|
"mypy_relaxed": [],
|
|
"python_file_lines": {
|
|
"napalm_device_types/models.py": 1454
|
|
},
|
|
"untyped_public": []
|
|
}
|