The instructions that describe a custom wizard consist of the following sections:
- String tables with the necessary texts in English and German.
- A definition of the wizard.
- Any number of sections describing the HTML pages that the wizard is to display.
- An initialization section, which defines the actions when you start the wizard.
- A concluding section, which defines the actions when you stop the wizard.
Note the following conventions for the instructions that describe the wizard:
- The elements of the instructions exactly follow the structure given above.
- The text file with the instructions is encoded in ISO 8859-1.
- Comments start with a semicolon and serve only to improve the readability of the instructions.
- Internal variables begin with the key word wizard. (Including the dot) and store information for the internal processing of the wizard.
- Configuration variables begin with the keyword config. (including the
dot) and read out information from the current device configuration, or they write them to
the current configuration. Enter the configuration variables in one of the following
forms:
- Dedicated parameters in the configuration are referenced via
config.1.<SNMP-ID>, for example config.1.2.1
to access the device name (to be found in the menu under Note: One way to find the SNMP-ID for a parameter in the configuration is to enter the command ls -a at the command line in the corresponding submenu.
).
- You can reference the values in a table
with:
config.^.<SNMP-ID>.<Line>.ID:<Column>
Example for finding the value in the first line and the column with ID '2' in the routing table '1.2.8.2':config.1.2.8.2.1.ID:2
- If you do not know the ID of the column, an alternative for you to reference the
values in a table is to enter:
config.1.<SNMP-ID>.<Line>.<Column>
Example for finding the value in the first line and second column:config.1.2.8.2.1.2
- If you do not know which line in the table you need, you can reference the values in
a table via a known value in the first
column:
config.<SNMP-ID>."<Known-Value>".ID:<Column>
Example for finding the value in the column with ID '2' on the line with the value of the default route in its first column:config.1.2.8.2."255.255.255.0".ID:2
If the table contains multiple rows with the same value in the first column, then the configuration variable references the first of these lines. - If the required line in the table is only defined after the user has entered input
into the wizard, you can reference the value in the table by using a variable
with:
config.<SNMP-ID>.\"<Internal-Variable>\".ID:<Column>
Example for finding the line whose first column contains a value that agrees with the current value of the internal variable wizard.target_network:config.1.2.8.2."\wizard.target_network"\.ID:2
- Dedicated parameters in the configuration are referenced via
config.1.<SNMP-ID>, for example config.1.2.1
to access the device name (to be found in the menu under
- Device-property variables begin with the key word device. (including the dot) and are used to read-out specific properties from the device. For more information about the device variables, see the section Using device properties as variables.