Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add support for discovery from within a docker container #517

Copy link
Copy link
@pdumais

Description

@pdumais
Issue body actions

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.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.