socialwifi / RouterOS-api

Python API to RouterBoard devices produced by MikroTik.
MIT License
255 stars 98 forks source link

Support Login API V 6.43 #33

Closed oortega closed 6 years ago

oortega commented 6 years ago

Hi,

By default it initiates session with the previous login, if it fails then it tries with the new login v6.43 I did this to avoid sending version in def connect, because that way I would not change anything in my project

How Test? Upgrade your RB with 6.43rc21 https://download.mikrotik.com/routeros/6.43rc32/routeros-mipsbe-6.43rc21.npk

Issue #29

In new updates like v 6.43RC32 works with the previous login. Regards

jgoclawski commented 6 years ago

@oortega Thanks for your contribution. I'm going to close this PR in favour of another one - #32.

The other PR has more configuration options and is more in line with the expectations expressed in #29.