Hi all,
I’m a system analizer and I’m interesting in agregate some functions on my software to control the Mikrotik, like create queues, add access list entries, etc.
Are there an api to control mikrotik? If not, are there some idea to create an api?
Regards
Fabrício F. Kammer
MT has indicated that they will be releasing an API at some point, probably with version 2.10.
Until that time, it is rather easy to remotely script the command line. You can do it with either an Expect-like system (Expect/Tcl itself, Python, Perl, Ruby, or whatever), or you can setup SSH keys and issue one-liners directly.
–Eric