Skip to content
This repository has been archived by the owner on Sep 13, 2020. It is now read-only.

Replace TC script with pyroute2 implementation #1

Open
1 of 4 tasks
ti-mo opened this issue Dec 7, 2015 · 1 comment
Open
1 of 4 tasks

Replace TC script with pyroute2 implementation #1

ti-mo opened this issue Dec 7, 2015 · 1 comment

Comments

@ti-mo
Copy link
Owner

ti-mo commented Dec 7, 2015

The current script for building up the hfsc/fq_codel hierarchy in lp-gw is garbage. The excellent pyroute2 library can be used to give this a proper implementation, maybe even create a stand-alone tool out of it.

  • Config file per interface w/ tc tree
  • Preferably atomic operations (rollbacks are supported by pyroute2-IPDB)
  • systemd unit file in lp-gw to treat it as a service
  • Ensure feature parity with our use case in pyroute2 (fq_codel and hfsc support was missing)
  • Port tc script to pure Python using pyroute2
  • Write generic declarative routing toolkit and publish on PyPI
  • Implement routing toolkit in ansible-lanparty
@ti-mo
Copy link
Owner Author

ti-mo commented Mar 17, 2016

fq_codel and hfsc support was contributed to pyroute2, slowly porting tc script to Python w/ Consul support.

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

No branches or pull requests

1 participant