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

feat(network): Add multinode capabilities #82

Draft
wants to merge 2 commits into
base: project-demo-202208
Choose a base branch
from

Conversation

RedbeanGit
Copy link
Contributor

This PR defines multinode support.

It allows :

  • Setting up NAT/PAT rules to redirect traffic between nodes of the same cluster
  • Cleaning up useless iptables when a node leave the cluster

The documentation has also been updated.

- Add NodeRequest struct to represent a new node joining the cluster
- Add NodeIp struct to represent cluster and external node ip
- Add new_node_in_cluster, delete_node_in_cluster and add_other_nodes fn
- Make bridge_name from utils public
- Update lib.rs

Signed-off-by: RedbeanGit <[email protected]>
Signed-off-by: RedbeanGit <[email protected]>
@RedbeanGit RedbeanGit marked this pull request as draft August 31, 2022 07:07
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

Successfully merging this pull request may close these issues.

1 participant