Skip to content

Add support for discovery from within a docker container #517

@pdumais

Description

@pdumais

Since broadcasting a discovery packet won't work within a docker container (or kubernetes), I'd like to propose the following option:
A new discover_from_range(start,end) function that would send a UDP packet to each endpoints within the range and then listen for incomming responses.
This is different than doing a whole bunch of of discover_single and using asyncio.gather because it would create less overhead with tasks creation. I'd like it if we could simply send a whole bunch of UDP packets (a kind of manual broadcast) and then just wait for responses.

Is there an interest from the community in having such functionality? If yes, then I am willing to create a PR for this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions