Sun Aug 22, 2021 8:03 pm
You can get all parameters by passing a list of parameter names.
You can find the parameter names (in general) by entering the get command at the command prompt, and using TAB to show the options:
/system routerboard get TAB
board-name factory-firmware model routerboard upgrade-firmware
current-firmware firmware-type revision serial-number value-name
So now you can pass those value names (not the name "value-name" of course) in a list to the 2nd parameter of the MikroTik::mtik_query function.
(A comma separated list like {'board-name','current-firmware'} )
Or, in fact, you can just pass an empty list {} and you will get all available values returned in the hash.