Scheduled jobs: OPNsense #43

Closed
opened 2026-11-02 23:39:22 +00:00 by christianmanivong · 1 comment
Owner

Part of NetOrk/netork#1933; builds on NAPALM/napalm-device-types#86. Priority: P3 — important, not urgent (the NAPALM org has no labels, so it is stated here).

  • Read and write through the cron API: cron/settings/searchJobs, getJob, addJob, setJob, delJob, toggleJob, then cron/service/reconfigure. key = opnsense:<uuid>.
  • A job's command is a configd action, not a shell line — the editor offers the actions configd lists, not free text.
  • The entries OPNsense generates itself (periodic, plugins' system jobs in the generated crontab) are platform, read-only.
  • Run now: only if the API offers running the job's configd action; otherwise refused explicitly.

Done when the driver reports every job of the host with managed_by, and offers or explicitly refuses each verb of the contract.

Part of NetOrk/netork#1933; builds on NAPALM/napalm-device-types#86. **Priority:** P3 — important, not urgent (the NAPALM org has no labels, so it is stated here). - Read and write through the cron API: `cron/settings/searchJobs`, `getJob`, `addJob`, `setJob`, `delJob`, `toggleJob`, then `cron/service/reconfigure`. `key = opnsense:<uuid>`. - A job's command is a **configd action**, not a shell line — the editor offers the actions configd lists, not free text. - The entries OPNsense generates itself (periodic, plugins' system jobs in the generated crontab) are `platform`, read-only. - Run now: only if the API offers running the job's configd action; otherwise refused explicitly. Done when the driver reports every job of the host with `managed_by`, and offers or explicitly refuses each verb of the contract.
Author
Owner

Merged with #44.

Merged with #44.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Blocks
You do not have permission to read 1 dependency
Depends on
Reference: NAPALM/napalm-opnsense#43