Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add a route by referencing a table id? #9

Open
jkoorts opened this issue Aug 9, 2024 · 0 comments
Open

How to add a route by referencing a table id? #9

jkoorts opened this issue Aug 9, 2024 · 0 comments

Comments

@jkoorts
Copy link

jkoorts commented Aug 9, 2024

How to add a route by referencing a table id?

Pyroute2 does this,
ipr.rule('add',
table=self.table_id,
priority=priority,
src='100.66.2.224',
src_len=29,
action='FR_ACT_TO_TBL')

How to do the same with Vyos API or pyvos?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant