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

Change NNI manager IP detection method and remove netifaces dependency #3860

Merged
merged 1 commit into from Jun 23, 2021

Conversation

liuzhe-lz
Copy link
Contributor

@liuzhe-lz liuzhe-lz commented Jun 22, 2021

This method will get the IP address of default router, which means, when anyone creates connection and sends packets via standard library, it will use this address.
The method is platform independent and is irrelative to "eth0", so at Python side it does not need netifaces to do validation.

@liuzhe-lz liuzhe-lz merged commit 51c6afd into microsoft:master Jun 23, 2021
@liuzhe-lz liuzhe-lz deleted the detect-ip branch June 23, 2021 21:41
SparkSnail added a commit to SparkSnail/nni that referenced this pull request Jul 8, 2021
SparkSnail added a commit to SparkSnail/nni that referenced this pull request Jul 8, 2021
SparkSnail added a commit to SparkSnail/nni that referenced this pull request Jul 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants