[ovs-discuss] RSTP Path Costs can not be retrieved

Ben Pfaff blp at ovn.org
Tue May 8 15:25:45 UTC 2018


On Tue, May 08, 2018 at 09:51:14AM +0000, Klaus Darilion wrote:
> Hi!
> 
> I consider this as bug as it it makes spanning tree debugging quite complicated.
> 
> Problem: It is not possible to retrieve the current path costs (default value or manually configured) of a Port.
> 
> There is information available with:
> vs-vsctl get Port $i rstp_status, eg:
> {rstp_designated_bridge_id="2.000.98f2b325b4f3", rstp_designated_path_cost="20000", rstp_designated_port_id="8001", rstp_port_id="8001", rstp_port_role=Root, rstp_port_state=Forwarding}
> 
> There is the field "rstp_designated_path_cost", but this is the total path costs from the port to the root bridge WITHOUT the Port's own path cost. Hence a field "rstp-path-cost" would be needed in the rstp_status output to support tree debugging.

It seems like a reasonable feature.  I guess that we would accept a
patch to add this feature.


More information about the discuss mailing list