Skip to content

System: High Availability: Status MVC/API conversion #7899

Closed

Description

@fichtner

Important notices

Before you add a new report, we ask you kindly to acknowledge the following:

Is your feature request related to a problem? Please describe.

We want an API for everything.

Describe the solution you like

Port the HA Status page to MVC.

Describe alternatives you considered

N/A

Additional context

N/A

Activity

  1. added this to the 25.1 milestone on Sep 24, 2024
  2. fichtner commented on Dec 16, 2024

    @fichtner
    MemberAuthor

    Almost ;)

    % git grep status_habackup
    src/opnsense/mvc/app/controllers/OPNsense/Core/forms/hasyncSettings.xml:        <label><![CDATA[Configuration Synchronization Settings (XMLRPC Sync) <a href="/status_habackup.php">Perform synchronization </a>]]></label>
    src/opnsense/mvc/app/models/OPNsense/Core/ACL/ACL.xml:            <pattern>status_habackup.php</pattern>
    src/www/guiconfig.inc:            $lnk_start = '<a href="status_habackup.php">';
    
  3. AdSchellevis commented on Dec 17, 2024

    @AdSchellevis
    Member

    @fichtner got it (2448570), thanks!

  4. lug-gh commented on Feb 12, 2025

    @lug-gh

    Hi @fichtner
    I noticed in the API documentation that the command is “restartAll”. However, “restart_all” is called in the OPNsense web GUI. Both seem to work. The question now is, which is correct, or which of the two commands will remain in the future? This may also affect other commands.

  5. fichtner commented on Feb 12, 2025

    @fichtner
    MemberAuthor

    as per calling convention "restart_all" is the correct one. mileage may vary on the other for obscure reasons :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

featureAdding new functionalityroadmapMajor roadmap item

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions