Hi,
The ofport->may_enable flag is set in the run_port() function of ofproto-dpif.
I was looking at this code below:
if (ofport->bundle) {
enable = enable && lacp_slave_may_enable(ofport->bundle->lacp, ofport);
if (carrier_changed) {
lacp_slave_carrier_changed(ofport->bundle->lacp, ofport);
}
}
The lacp_slave_may_enable() function may return true even if
ofport->bundle->lacp is NULL.
So if the port is up and lacp is not set then ofport->may_enable could be set
to true. Is this correct?
Best regards,
Zoltán
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss