System
- async OPNsenseClient.get_device_unique_id(expected_id=None)
Get the OPNsense Unique ID.
- async OPNsenseClient.get_system_info()
Return the system info from OPNsense.
- async OPNsenseClient.get_carp()
Fetch one CARP snapshot and return both interfaces and aggregate summary.
- async OPNsenseClient.system_reboot()
Reboot OPNsense.
- Returns:
True when the operation succeeds; otherwise, False.
- Return type:
- async OPNsenseClient.system_halt()
Shutdown OPNsense.
- Return type:
None
- async OPNsenseClient.send_wol(interface, mac)
Send a wake on lan packet to the specified MAC address.
- async OPNsenseClient.get_notices()
Get active OPNsense notices.
- async OPNsenseClient.close_notice(id)
Close selected notices.
- async OPNsenseClient.reload_interface(if_name)
Reload the specified interface.