You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge pull request #18418 from danwinship/sdn-out-of-process-cleanups
Automatic merge from submit-queue (batch tested with PRs 18737, 18418).
Minor cleanups to sdn-cni-plugin
Based on belated comments on #18355:
> So what if we just stuff the PodIP into external-ids? Then we don't need to dump and parse flows all the time.
I had thought about that, but then we'd have to change ovs.Find() to return multiple columns (`ofport` and `external-ids`) and we'd have to parse the external-ids to separate out the sandboxID from the podIP. Though, admittedly, there's already code to parse external-ids in fake_ovs now anyway...
Also, we're only parsing a single flow now, because we request "in_port=%d" in the dump-flows.
> Any reason to do [hostVeth] in the environment rather than just stuff it into the JSON by extending CNIRequest?
I actually did do it that way first, and then changed it. Something about adding a field to CNIRequest had weird unexpected side effects. IIRC, it would have required a whole bunch of changes to the unit tests or something like that.
But I can change it if you prefer.
0 commit comments