community.routeros icon indicating copy to clipboard operation
community.routeros copied to clipboard

Support for routing table?

Open itrack opened this issue 1 year ago • 1 comments

SUMMARY

The "routing table" is not supported by api_modify

ISSUE TYPE
  • Feature Idea
COMPONENT NAME

routing table

ADDITIONAL INFORMATION

https://help.mikrotik.com/docs/display/ROS/Policy+Routing

    - name: Add routing tables
      community.routeros.api_modify:
        path: routing table
        data: 
          - "name='to_wan' fib=''"

/routing table add name=myTable fib

itrack avatar Mar 27 '23 09:03 itrack

The support for routing table was added in back in PR #215 . I now only added routing rule. @felixfontein Could you please verify?

In the PR #246 the path routing rule was added additionally.

Somewhere in the depths of the MikroTik documentation I read that routing table would only make limited sense without routing rule but I cannot find it anymore.

derdeagle avatar Dec 28 '23 13:12 derdeagle