Page 1 of 1

get allowed value with api

Posted: Sun Oct 07, 2018 2:03 pm
by fs0c13ty
Hi,
i am developing a program with mikoritk api but i am having an issue.
in some RouterBoard under /system/routerboard/settings we can set the following values to 'boot-devices'
flash-boot, flash-boot-once, nand-if..., nand-only, try-ether..
but in some other we can set
etherboot-ide, etherboot-only, ide-only, try-ether-once

and we can retrieve this allowed values by double tab after 'set boot-device=' command.
my problem is how can i get value list by api and change it grammatically.

Re: get allowed value with api

Posted: Mon Oct 08, 2018 1:11 pm
by mrz
You can't..
You should check what router you have and then based on type of router set parameters.