Arbitrary command implementation
Closed this issue · 1 comments
NikolayDachev commented
I'm working on ansible module for routeros api, so far everything work as expected however I have specific question about arbitrary command
If is used for path like /system script run number=0 is ok however I'm not sure how to implement it for situation like
/ip service disable telent which lead to
script = api.path('ip', 'service')
tuple(script('disable', **{'telent': ???????}))
let me know if I did not explain my question well
luqasz commented
tuple(script('disable', name=telnet))
MikroTik always has a key value pair.
ip service print detail
(or any other print with detail) reveals this "secret"