[ovs-git] [openvswitch/ovs] 2372c1: rstp: shift learned MAC addresses to new Root port...

GitHub noreply at github.com
Wed Nov 19 17:38:14 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 2372c146f7afa2b12e7b60375c728796ff985038
      https://github.com/openvswitch/ovs/commit/2372c146f7afa2b12e7b60375c728796ff985038
  Author: Jarno Rajahalme <jrajahalme at nicira.com>
  Date:   2014-11-19 (Wed, 19 Nov 2014)

  Changed paths:
    M lib/rstp-common.h
    M lib/rstp-state-machines.c
    M lib/rstp.c
    M lib/rstp.h
    M ofproto/ofproto-dpif.c

  Log Message:
  -----------
  rstp: shift learned MAC addresses to new Root port.

All MAC addresses previously learned on a Root Port can be moved to an
Alternate Port that becomes the new Root Port; i.e., Dynamic Filtering
Entries for those addresses may be modified to show the new Root Port as
their source, reducing the need to flood frames when recovering from
some component failures.

Signed-off-by: Daniele Venturino <daniele.venturino at m3s.it>
Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme at nicira.com>


  Commit: 6448df944262ea6d07136dc6ce7b0ce8f4b02a60
      https://github.com/openvswitch/ovs/commit/6448df944262ea6d07136dc6ce7b0ce8f4b02a60
  Author: Jarno Rajahalme <jrajahalme at nicira.com>
  Date:   2014-11-19 (Wed, 19 Nov 2014)

  Changed paths:
    M lib/rstp-state-machines.c

  Log Message:
  -----------
  rstp: Fix global transitions.

Global transitions are highest priority transitions.  When the
condition associated with a global transition is met, it supersedes
all other exit conditions including UCT.

Extracted from 802.1D-2004 standard (17.16):

A transition that is global in nature (i.e., a transition that occurs
from any of the possible states if the condition attached to the arrow
is met) is denoted by an open arrow, i.e., no specific state is
identified as the origin of the transition.  When the condition
associated with a global transition is met, it supersedes all other
exit conditions including UCT.  The special global condition BEGIN
supersedes all other global conditions, and once asserted remains
asserted until all state blocks have executed to the point that
variable assignments and other consequences of their execution remain
unchanged.

Signed-off-by: Daniele Venturino <daniele.venturino at m3s.it>
Acked-by: Jarno Rajahalme <jrajahalme at nicira.com>


  Commit: b5ba2490e37c7fdcff6cffabaa330987b194d741
      https://github.com/openvswitch/ovs/commit/b5ba2490e37c7fdcff6cffabaa330987b194d741
  Author: Jarno Rajahalme <jrajahalme at nicira.com>
  Date:   2014-11-19 (Wed, 19 Nov 2014)

  Changed paths:
    M lib/rstp-state-machines.c

  Log Message:
  -----------
  rstp-state-machines: fix proposal reception behaviour.

Other ports should stop forwarding and learning when a port receives a
superior BPDU carrying a Proposal flag.
Without this patch this does not happen and other ports keep executing
the learning and forwarding processes.
This patch contains some fixes reported in the 802.1q-2008 standard.

Signed-off-by: Daniele Venturino <daniele.venturino at m3s.it>
Acked-by: Jarno Rajahalme <jrajahalme at nicira.com>


  Commit: 036dc96539c146786d762db68ae07e18fa919cb6
      https://github.com/openvswitch/ovs/commit/036dc96539c146786d762db68ae07e18fa919cb6
  Author: Daniele Venturino <daniele.venturino at m3s.it>
  Date:   2014-11-19 (Wed, 19 Nov 2014)

  Changed paths:
    M lib/rstp.c

  Log Message:
  -----------
  rstp: refactor RSTP setters.

With this patch setters invoke procedures only if values have changed.
Also rstp_set_bridge_address__() keeps the existing priority in the
bridge_identifier.

Signed-off-by: Daniele Venturino <daniele.venturino at m3s.it>
Acked-by: Jarno Rajahalme <jrajahalme at nicira.com>


Compare: https://github.com/openvswitch/ovs/compare/802f84ffd71a...036dc96539c1


More information about the git mailing list