Community discussions

MikroTik App
User avatar
just joined
Topic Author
Posts: 18
Joined: Fri Jun 09, 2017 8:33 am

get allowed value with api

Sun Oct 07, 2018 2:03 pm

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.
User avatar
MikroTik Support
MikroTik Support
Posts: 6149
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia

Re: get allowed value with api

Mon Oct 08, 2018 1:11 pm

You can't..
You should check what router you have and then based on type of router set parameters.

Who is online

Users browsing this forum: No registered users and 48 guests