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

Klaus Darilion klaus.darilion at nic.at
Tue May 8 09:51:14 UTC 2018


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.

Thanks
Klaus

PS: The same probably applies to STP too


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20180508/e1e908cb/attachment.html>


More information about the discuss mailing list