Macros list
A list of predefined Macros variables that can be used as templates for substituting attributes in the Preset configuration.
Last updated
A list of predefined Macros variables that can be used as templates for substituting attributes in the Preset configuration.
Last updated
While creating or editing Preset or Action, it is possible to click on a macros field with the left mouse button to add it to the Code field while editing Preset in the Preset or Action form.
Below is a macro variables description along with examples to help you understand how it works.
Clicking on the view icon opposite a specific Macros opens a modal window with Macros details. The following fields are available:
Name - Macros title
Example - an example value
Description - Description of Macros.
You can Close the Macros view modal window after review.
The macros substitute the ONU serial number. Example:
The number of the port on which the ONU is located is substituted. Example:
Finds a free q-in-q vlan and substitutes its number.
Example for the rule above:
Substitutes the name of the ONU interface. Example:
Finds a free ONU number on the port and substitute it. For example, there is a configured port
There is no ONU with the number 2. EasyPON will determine that the number 2 is free and substitutes it in the configuration.
Substitutes the type selected by the user during registration. Example:
Substitutes the Mac address of the ONU. Example:
Request the user to input a value that will be inserted into the ONU configuration code before its registration. For example:
During registration, the user will be requested for the name, which will be placed while applying the onu.name
configuration.