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

Create a simple go-libp2p based P2P proxy cluster to bridge between ONOS and Atomix. #4

Open
askquestions opened this issue May 8, 2021 · 0 comments

Comments

@askquestions
Copy link

I want to find a solution for a simple test case to allow a pair of ONOS and Atomix to be communicated with each other through a P2P cluster. The simplest setting is that the pair of client and server interact with each other through 2 intermediate P2P proxies. Thus, the network topology is ONOS <--> peer1 <--> peer2 <--> Atomix

It is relatively easy to implement the partial path of ONOS <--> peer1 <--> peer2 by making use of go-libp2p/http_proxy/proxy.go. However, it is unclear how to implement peer2 <--> Atomix. The difficulty lies in the fact that the server is not a p2p host. Thus, peer2 cannot connect to a non-p2p peer if a multiaddr cannot be correctly created for the non-p2p server. Essentially, I want peer2 to act as an egress gateway to bridge between a P2P network and a non-P2P host.

Meanwhile, I have found libp2p/go-libp2p-raft project in github (https://github.com/libp2p/go-libp2p-raft). I can curious to know the way of enabling Atomix to become a p2p host. Is there any suggestion for making Atomix to be reachable from a P2P host? Thanks.

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