napalm-automation-community / napalm-ros

MikroTik RouterOS NAPALM driver

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enhance `get_arp_table` and `get_mac_address_table` with filtering arguments

mirceaulinic opened this issue · comments

See details in the parent issue napalm-automation/napalm-base#217

I ran into this myself not too long ago. Although the API change was approved for NAPALM, there's a limitation in librouteros: it doesn't accept any filter arguments with the print command. I modified librouteros to make it work, but the change broke compatibility with NAPALM, so I ended up just using librouteros by itself. =/ If you're interested, here's my fork with the changes:
brotherdust/librouteros@1aa8189

Currently librouteros does not have any "official" query support. I am planning to add this. For now I can implement a rather crude workaround.

I am confused. napalm-base have some pull requests but napalm-ros uses napalm which does not have this extended method. @mirceaulinic can you help explaining ?

Closing since napalm-base does not have any filtering.