Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CreateEndpoint touches many different parts of the codebase, so the refactors are surprisingly extensive. * Create a facade for Controller to try and shrink the Controller port interface. It's still WIP (needs to be done gradually when refactoring other handlers), but I belive it's a step in the right direction. * Refactor CreateEndpoint by simplifying the way it calls its collaborators. Move it to driver_core package. * Fixed fake controller implementation by using contrail-go-api Interceptors to mimic the actual API server behaviour of assigning Default GW, MAC and IPs. This accidentally fixed two controlelr_test.go tests. Oops. Change-Id: I8a4f9dbdd390f7167409689cd2ae6c204b0a3edb Partial-Bug: #1778671
- Loading branch information
Michal Kostrzewa
committed
Jul 16, 2018
1 parent
ab523a6
commit ad77e13
Showing
16 changed files
with
585 additions
and
194 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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.