Skip to content

design: "Seed" routers and "Bridge" routers #52

@jamesmunns

Description

@jamesmunns

Currently, all router implementations assume they are the One and Only router, which means they all assign net-ids as they feel.

For the near term, we can probably get to the next slate of functionality by requiring the existence of a single Seed Router (to borrow the AppleTalk term), which is responsible for the allocation of net ids.

This probably requires defining well_known endpoints/topics for net id negotiation.

I could see:

  • topic broadcast: "who is the seed router? tell X"
  • topic broadcast: "X is the seed router"
  • endpoint request: "to SEED, BRIDGE wants a net-id"
  • endpoint response: "to BRIDGE, SEED is granted NET_ID for DURATION/request rejected"
  • endpoint request: "to SEED, BRIDGE wants to retain NET_ID"
  • endpoint response: "to BRIDGE, NET ID extended for DURATION/request rejected"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions