OPNexusdocs

The flow

Centrally maintained rules (Policy › Rules) always follow the same path:

  1. Save draft. This changes no firewall.
  2. Preview: per target host the preview shows new, changed and unchanged rules with a field comparison. The basis is the state last saved by OPNexus, no live comparison. The comparison with the firewall is shown by the live view.
  3. Deploy (push): OPNexus writes the rule and applies it. It takes effect immediately, but only on probation.
  4. Confirm: within the window (default 180 seconds) you click Confirm. Then the change is permanent.
  5. Automatic rollback: if it is not confirmed, OPNexus reverts the change: a newly created rule is removed again, a changed one is set back to its previous state. Whoever locks themselves out with a rule only has to wait.

Further rules:

  • Pushing a confirmed rule again with unchanged content makes no firewall calls. While a deployment is open, pushing again and editing are blocked.
  • After an error while applying (configuration written, but applying not confirmed) you may deploy again. The way back remains the original state before the first attempt: a new rule is removed when the window expires, a changed one is reset to the confirmed state.
  • If the rollback itself fails (host not reachable), the rule is shown with the status "Rollback failed" and needs attention. In the preview it can be retried specifically. A notification reports this as well.
  • Deleting is a deliberate, immediately effective action without automatic rollback.
  • If someone changes the draft, the targets or a deployment between preview and push, OPNexus rejects the push and demands a new preview. Simultaneous editing of the same rule is detected (409).
  • Every rule has a history: every change is an immutable state that can be loaded into the form and saved as a new draft. The history dialog starts with two blocks: the draft against what is deployed (which fields would change on which firewall, the same table as in the preview; or the note that nothing is to roll out) and what happened to this rule (the last operations from the audit: who, what, result, comment, with a link to the whole audit).