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

Route discovery #16

Open
ewan-carree opened this issue Jun 28, 2022 · 0 comments
Open

Route discovery #16

ewan-carree opened this issue Jun 28, 2022 · 0 comments

Comments

@ewan-carree
Copy link
Member

ewan-carree commented Jun 28, 2022

Steps :

  • Create a protocol to save route between two communicating Shosets

This protocol will be run when the TLS doubleWay is up and will be saved for future message. If the route isn't possible at some point, the protocol will be able to find another route.

This protocol must for a Shoset :

  • send an event in the network
  • identify logical name that the event went through in each layer
  • save the logical name and its layer number in the map for the first event received
  • update the map if another event arrives and has a route with less layer to go through

The route will look like this : RouteTable map[string] (struct{string, int}) map[destination]struct{neighbour, nb_steps}

routing_shoset_legend

routing_shoset

@ewan-carree ewan-carree changed the title Routing Route discovery Jun 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant