drugforge.data.util.execution_utils.guess_network_interface
- drugforge.data.util.execution_utils.guess_network_interface(exclude: list[str] = []) str | None[source]
Guess a network interface to use, possibly excluding some interfaces.
- Parameters:
exclude (list) – List of interfaces to exclude from the list of interfaces with dual IP addresses.
- Returns:
Name of the best interface to use
- Return type:
Optional[str]