-
Notifications
You must be signed in to change notification settings - Fork 619
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ACS payload message can send a list of network interface devices and a list of ipv4 addresses per network interface to the agent. The current implementation considers a message with where there's a plurality of interfaces and ipv4 addresses to be invalid messages. This might not always be the case. This commit introduces modifications to this logic where such messages are gracefully handled. This commit also refactors the `ecscni` package, where all of the config generation logic is moved out of `plugin.go` into `netconfig.go`. This ensures that all of the logic that deals with various CNI plugins gets centralized in the same place instead of being spread out over different files.
- Loading branch information
Showing
14 changed files
with
456 additions
and
488 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.