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

Move config daemon system operations into their own plugin #345

Open
adrianchiris opened this issue Jul 26, 2022 · 1 comment
Open

Move config daemon system operations into their own plugin #345

adrianchiris opened this issue Jul 26, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@adrianchiris
Copy link
Collaborator

Sriov network config daemon currently performs some system operations like:

  1. loading some kernel modules
  2. enables rdma
  3. adds udev

the daemon itself should not directly perform system operations but it should rather delegate the task to a plugin.

these operations are performed once, and are not related to the nodeState CR spec or status

possible approaches that can be checked out:

  1. roll the logic into generic plugin (may not work as its invoked after vendor plugins)
  2. add new plugin which will run first during node state reconcile e.g "generic-plugin-pre" plugin
  3. add new plugin which will be used by config daemon outside the node state handling loop. it will be called once on start
@adrianchiris adrianchiris added the enhancement New feature or request label Jul 26, 2022
@adrianchiris
Copy link
Collaborator Author

This work may be required if/when we plan to move towards a systemd approach of configuring SR-IOV network for the node.

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

No branches or pull requests

1 participant