Ben Pfaff wrote:
Yes, this makes sense.  Please feel free to ask any questions.

Hi.

One of the main differences between STP and RSTP is that RSTP reacts quickly to link failures by checking the link physical status, without having to rely on long timeout expirations. So, we need an entry point from which we can signal the RSTP logic the status of a port (up and running or down). In particular:

- When a port goes up we have to set the RSTP mac_operational internal flag;

- When a port goes down we have to reset the RSTP mac_operational internal flag.

After code inspection out best guess is to use the ofport->may-enable flag after its setting inside inside port_run() function [ofproto/ofproto-dpif-xlate.c]. Is this ok or you can suggest a better one?

Regards, Martino Fornasa.




_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to