Actions for ONU

In the EasyPON web application, an Action for an ONU (Optical Network Unit) could be a specific operation or function that you want to perform on an ONU device.

Action is a feature, that helps you to apply custom code to the ONU, that otherwise you have to perform manually step by step. This simplifies any interaction with ONU and helps you automate your daily routine. This could include tasks like provisioning, configuring, or troubleshooting the ONU.

The main difference between Preset and Action is that Ppreset is used for registering new ONUs instead of creating custom actions with registered ONUs in the EasyPON web application. You may access the Action submenu by clicking on Settings -> Action in the Main Menu.

Action list

Displaying added Actions at the Action for ONU list in the Action for ONU section.

You can select items in the list to open an action on the specific page for viewing the selected Action detailed information.

Also, the Add Action button is available in the section, which allows you to add new Actions. You can also find the Docs button to get to this manual section.

Action for ONU page

You can also Edit, Delete, and view event logs of documentation by clicking the Docs icon.

It is also possible to view the event logs of selected actions by pressing the Event Logs quick actions menu button. You will be redirected to Event Logs filtered by specific action

Add Action for ONU

To add a new Action click on the button Add Action. After that, you can set the Action Name, Code, Description, and ONU types on the Action form. You can use the Macros list for your convenience to fill the required ONU parameters in the code field by clicking on the macros.

On the Add Action for ONU form, you can add the following preset information:

  • Action title - the title of the action

  • Code - Action configuration script with Macros

  • ONU Type - selected ONU types to which the action corresponds

  • Description - a detailed description of the action

  • Macros list - select macros which will be used in the action

Edit Action for ONU

You can change the preset data by pressing the Edit button modifying the Action Name, Description, and Code with selected Macroses, and assigning ONU types.

Run Actions

Actions can be run from a specific ONU page by clicking Action on the Quick Actions Bar. On the modal window, you can Apply or Cancel the action.

After the run, the action will be executed in the configuration console with the execution output. Action can be re-run by using the up key on the keyboard

Macros list

There is a Macros list available on the right side. Macro variables can be used as the template for substituting standard parameters into a Preset configuration in the Code input field while adding or editing the preset.

Last updated