Closed egernst closed 6 years ago
Functioning network gRPC calls dependent on https://github.com/kata-containers/agent/pull/126
This is dependent on the gRPC changes landing in kata-containers/agent and being re-vendorded.
Tested with latest agent and this PR now includes revendoring for latest gRPC changes. @sboeuf @jodh-intel can you take a look? Would be good to get working networking in...
@egernst I'll review it today !
Yep - would be great to get networking in, once we have tests for it.
@jodh-intel I ended up doing some refactoring to help make it a bit more testable and then added some basic unit tests. This has also been verified with latest agent. The final looping over the resulting routes (and perhaps interfaces) will likely not be necessary in the future once we move to updating all the routes in a single shot.
PTAL, and thanks for the feedback.
@sboeuf -- updated.
waiting for kata-containers/agent#148 to land so I can update the revendoring.
In the meantime, addressed feedback from @sameo and @jodh-intel and @sboeuf .
@sboeuf PTAL?
@jodh-intel @sboeuf - updated based on updated pod structure. PTAL
@sboeuf @egernst Thanks for the PR. Let's merge it once CI passes.
Introduce support for setting up interface and routes when working with Kata agent.
Signed-off-by: Eric Ernst eric.ernst@intel.com