ofnet icon indicating copy to clipboard operation
ofnet copied to clipboard

Handle vswitch reconnect gracefully (vxlan + bridge fwd mode)

Open kahou82 opened this issue 7 years ago • 5 comments

With vxlan bridge fwd mode, vxlanBridge will start the ovs switch object in two of the vlan flooding objects (localFlood and allFlood). The switch object is being populated when the first vxlan is assigned.

When user restart ovs switch, ofnet handle the reconnect which pass down the notification to vxlanBridge object but it doesn't refresh the existing vlans to save the new switch object. This causes netplugin stuck to talk to an unbuffered channel.

This patchset is to refresh vxlan entry to store new switch object when ofnet handle ovs switch reconnection

Signed-off-by: Kahou Lei [email protected]

kahou82 avatar Nov 22 '17 07:11 kahou82

build PR

unclejack avatar Nov 22 '17 18:11 unclejack

build PR

unclejack avatar Nov 23 '17 20:11 unclejack

build pr

dseevr avatar Nov 27 '17 19:11 dseevr

Is this good to go?

unclejack avatar Nov 29 '17 21:11 unclejack

@kahou82 feel free to squash merge if this is all set

dseevr avatar Nov 29 '17 22:11 dseevr