All plugins

hybridops

Inspect, export and import Containerlab recovery sets through an existing HybridOps runtime. Export and import are disabled by default and require Hermes approval when enabled; input and execution-contract digests prevent an approved operation from running after its files or target settings change. Disclosure - Linux only; reads operator-configured input files and HybridOps module state, then runs the configured local hyops executable with fixed argument lists and no shell. HybridOps and Ansible may connect to the configured target, run Containerlab save or snapshot commands, and write recovery data on the target and controller; import may replace the declared native lab directory after validation. The plugin makes no direct network calls, starts no background process, sends no telemetry, does not update itself, and does not install HybridOps or its Ansible collections.

hybridops-tech1Automationv0.1.0Updated 2 days ago

About

Inspect, export and import Containerlab recovery sets through an existing HybridOps runtime. Export and import are disabled by default and require Hermes approval when enabled; input and execution-contract digests prevent an approved operation from running after its files or target settings change. Disclosure - Linux only; reads operator-configured input files and HybridOps module state, then runs the configured local hyops executable with fixed argument lists and no shell. HybridOps and Ansible may connect to the configured target, run Containerlab save or snapshot commands, and write recovery data on the target and controller; import may replace the declared native lab directory after validation. The plugin makes no direct network calls, starts no background process, sends no telemetry, does not update itself, and does not install HybridOps or its Ansible collections.

HybridOps for Hermes

This standalone plugin connects Hermes to the HybridOps
platform/linux/containerlab-recovery module. It provides three tools:

  • hybridops_recovery_inspect validates a configured target and reads its
    current HybridOps state;
  • hybridops_recovery_export creates and retains a recovery set; and
  • hybridops_recovery_import restores a retained recovery set.

Archive creation, verification and restore remain in HybridOps and its
Containerlab recovery role. The plugin does not define another backup format.
Export and import are disabled by default and pass through the Hermes approval
gate when enabled.

See Design and Threat Model.

Requirements

  • Linux
  • Hermes Agent 0.23.3 or later
  • HybridOps Core 0.1.6 or later
  • hybridops.app collection 0.1.14 or later

The plugin does not install HybridOps or its Ansible collections.

Configuration

Add targets under plugins.entries.hybridops.settings in the active Hermes
profile:

plugins:
  entries:
    hybridops:
      settings:
        hyops_executable: /usr/local/bin/hyops
        mutations_enabled: false
        timeout_seconds: 1800
        targets:
          lab:
            root: /srv/hybridops/runtime/lab
            module_root: /opt/hybridops/modules
            state_instance: containerlab_recovery
            export_inputs: /etc/hybridops/containerlab-export.yml
            import_inputs: /etc/hybridops/containerlab-import.yml

root is the HybridOps runtime root. The input files are chosen by the
operator. They must be regular files owned by root or the Hermes user and must
not be writable by group or others.

Inspection returns an input digest and an execution-contract digest. Export and
import require both values. The second digest covers the executable, runtime
root, module root, state instance, input path, operation and timeout, so a
configuration change invalidates an earlier inspection.

Input files may contain only inputs declared by the Containerlab recovery
module. Unknown keys and private Ansible variables are rejected. Imports also
require an absolute containerlab_recovery_archive_path and a lowercase
containerlab_recovery_expected_sha256. Additional recovery paths are not
accepted.

Side Effects

  • The plugin reads the configured input files and HybridOps module state.
  • It runs the configured local hyops executable with fixed argument lists and
    never invokes a shell.
  • HybridOps and Ansible may connect to the configured target, run Containerlab
    save or snapshot commands, and write recovery data on the target and
    controller. Import may replace the declared native lab directory after
    validation.
  • The child process receives an allowlisted environment. HybridOps remains
    responsible for credentials selected by its runtime configuration.
  • The plugin makes no direct network calls, starts no background process, sends
    no telemetry and does not update itself.

License

MIT-0

README from the reviewed commit f49a023; it updates when the author re-pins.

Developer Mode

Explore built-in Hermes toolsets and actions.

HermesAgent

Developer?

Create a Hermes extension for Desktop or agent workflows.

Developer Section