]> git.ipfire.org Git - people/ms/mstpd.git/log
people/ms/mstpd.git
12 years agoEnsure port role selection occurs when some port was deleted
dv1tas [Mon, 3 Jun 2013 08:44:00 +0000 (08:44 +0000)] 
Ensure port role selection occurs when some port was deleted

Reported-by: Satish Ashok <sashok@cumulusnetworks.com>
Signed-off-by: Vitalii Demianets <dvitasgs@gmail.com>
Reviewed-by: Satish Ashok <sashok@cumulusnetworks.com>
git-svn-id: svn://svn.code.sf.net/p/mstpd/code/trunk@41 fbe50366-0c72-4402-a84b-5d246361dba7

12 years agoIf unknown port role is received in RSTP version, treat the RSTP BPDU as a STP Config...
dv1tas [Wed, 29 May 2013 12:29:03 +0000 (12:29 +0000)] 
If unknown port role is received in RSTP version, treat the RSTP BPDU as a STP Config BPDU instead and set the role to be designated role

Ixia RSTP ANVL Failure:

>> RSTP-1.2
Tue Apr 30 13:28:03 2013: TEST_DESCRIPTION
Quick test to verify that DUT transmits RST BPDU from each port.
The Unknown value of Port Role cannot be generated by a valid
implementation; however, this value is accepted on receipt.
(NOTE: The DUT will treat this RST-BPDU as a Configuration BPDU)
(Test to verify that the incoming RST BPDU with Unknown Port role
plays a role in the calculation of Active Spanning Tree)

Tue Apr 30 13:28:03 2013: TEST_REFERENCE
NEGATIVE
IEEE Std 802.1D-2004 S9.2.9 Page 61

Verification:

  DUT: Treat the received RST BPDU as CONFIG BPDU
  DUT: Select <bestBridgeID> B1 as Root Bridge
  ANVL: Listen (for upto 3 * <configBridgeHelloTime> seconds) on <DIface-1>
  DUT: Send RST BPDU
  Root Identifier field set to <bestBridgeID> B1

  Failure:
  ! Received RST BPDU doesn't contain expected
  ! Root Indentifier : 0 / 02:02:00:00:00:01Tue Apr 30 13:28:13 2013:

Signed-off-by: Satish Ashok <sashok@cumulusnetworks.com>
Signed-off-by: Vitalii Demianets <dvitasgs@gmail.com>
git-svn-id: svn://svn.code.sf.net/p/mstpd/code/trunk@40 fbe50366-0c72-4402-a84b-5d246361dba7

12 years agoAdd support for setting ageing time
dv1tas [Wed, 29 May 2013 10:35:41 +0000 (10:35 +0000)] 
Add support for setting ageing time

Signed-off-by: Satish Ashok <sashok@cumulusnetworks.com>
Signed-off-by: Vitalii Demianets <dvitasgs@gmail.com>
git-svn-id: svn://svn.code.sf.net/p/mstpd/code/trunk@39 fbe50366-0c72-4402-a84b-5d246361dba7

12 years agoConfiguration for bridge hello time
dv1tas [Wed, 29 May 2013 09:49:55 +0000 (09:49 +0000)] 
Configuration for bridge hello time

Signed-off-by: Satish Ashok <sashok@cumulusnetworks.com>
Signed-off-by: Vitalii Demianets <dvitasgs@gmail.com>
git-svn-id: svn://svn.code.sf.net/p/mstpd/code/trunk@38 fbe50366-0c72-4402-a84b-5d246361dba7

12 years agoRun state machines in loops until their state stabilized.
dv1tas [Mon, 10 Dec 2012 09:59:32 +0000 (09:59 +0000)] 
Run state machines in loops until their state stabilized.
Without this fix some transitions do not happen as fast as they could - sometimes mstpd waits for next one-second event to complete all state machines transitions.
Reported-by: Rodolfo Giometti <giometti@enneenne.com>
Tested-by: Rodolfo Giometti <giometti@enneenne.com>
git-svn-id: svn://svn.code.sf.net/p/mstpd/code/trunk@37 fbe50366-0c72-4402-a84b-5d246361dba7

12 years agoBugFix: Use designatedTimes in comparisons with portTimes
dv1tas [Tue, 30 Oct 2012 10:22:49 +0000 (10:22 +0000)] 
BugFix: Use designatedTimes in comparisons with portTimes

Reported-by: Rajani Ankaiah <rajania@tataelxsi.co.in>
Signed-off-by: Vitalii Demianets <dvitasgs@gmail.com>
Reviewed-by: Rajani Ankaiah <rajania@tataelxsi.co.in>
git-svn-id: svn://svn.code.sf.net/p/mstpd/code/trunk@36 fbe50366-0c72-4402-a84b-5d246361dba7

12 years agoBugFix: Port toggles between learning and blocking states permanently
dv1tas [Wed, 12 Sep 2012 12:46:28 +0000 (12:46 +0000)] 
BugFix: Port toggles between learning and blocking states permanently

Reported-by: Rajani Ankaiah <rajania@tataelxsi.co.in>
Signed-off-by: Vitalii Demianets <dvitasgs@gmail.com>
Reviewed-by: Rajani Ankaiah <rajania@tataelxsi.co.in>
git-svn-id: svn://svn.code.sf.net/p/mstpd/code/trunk@35 fbe50366-0c72-4402-a84b-5d246361dba7

13 years agoBroadcom Xstrata support
dv1tas [Wed, 1 Aug 2012 08:37:42 +0000 (08:37 +0000)] 
Broadcom Xstrata support

Signed-off-by: Vladimir Cotfas <unix_router@yahoo.com>
git-svn-id: svn://svn.code.sf.net/p/mstpd/code/trunk@34 fbe50366-0c72-4402-a84b-5d246361dba7

13 years agobridge-stp script must always be installed in /sbin/
dv1tas [Thu, 19 Jul 2012 13:34:06 +0000 (13:34 +0000)] 
bridge-stp script must always be installed in /sbin/

git-svn-id: svn://svn.code.sf.net/p/mstpd/code/trunk@33 fbe50366-0c72-4402-a84b-5d246361dba7

13 years agoRapid ageing on per-port basis, as required by standard
dv1tas [Tue, 3 Jul 2012 10:05:24 +0000 (10:05 +0000)] 
Rapid ageing on per-port basis, as required by standard

git-svn-id: svn://svn.code.sf.net/p/mstpd/code/trunk@32 fbe50366-0c72-4402-a84b-5d246361dba7

13 years agoFix calculation of root path cost
dv1tas [Wed, 6 Jun 2012 12:08:15 +0000 (12:08 +0000)] 
Fix calculation of root path cost

git-svn-id: svn://svn.code.sf.net/p/mstpd/code/trunk@31 fbe50366-0c72-4402-a84b-5d246361dba7

13 years agoFix bug: MSTI role not changed on boundary ports
dv1tas [Wed, 18 Apr 2012 09:20:27 +0000 (09:20 +0000)] 
Fix bug: MSTI role not changed on boundary ports

git-svn-id: svn://svn.code.sf.net/p/mstpd/code/trunk@30 fbe50366-0c72-4402-a84b-5d246361dba7

13 years agoUse CIST's infoIs when changing MSTI role for the boundary port
dv1tas [Wed, 18 Apr 2012 09:19:21 +0000 (09:19 +0000)] 
Use CIST's infoIs when changing MSTI role for the boundary port

git-svn-id: svn://svn.code.sf.net/p/mstpd/code/trunk@29 fbe50366-0c72-4402-a84b-5d246361dba7

13 years agoEnhance setvid2fid & setfid2mstid commands
dv1tas [Mon, 16 Jan 2012 17:09:11 +0000 (17:09 +0000)] 
Enhance setvid2fid & setfid2mstid commands

git-svn-id: svn://svn.code.sf.net/p/mstpd/code/trunk@28 fbe50366-0c72-4402-a84b-5d246361dba7

13 years agoremove superfluous call, bridge is always disabled here
dv1tas [Sat, 17 Dec 2011 19:54:08 +0000 (19:54 +0000)] 
remove superfluous call, bridge is always disabled here

git-svn-id: svn://svn.code.sf.net/p/mstpd/code/trunk@27 fbe50366-0c72-4402-a84b-5d246361dba7

13 years agorun {add|del}bridge commands from bridge-stp script
dv1tas [Sat, 17 Dec 2011 19:53:11 +0000 (19:53 +0000)] 
run {add|del}bridge commands from bridge-stp script

git-svn-id: svn://svn.code.sf.net/p/mstpd/code/trunk@26 fbe50366-0c72-4402-a84b-5d246361dba7

13 years ago{add|del}bridge commands on server side (mstpd)
dv1tas [Sat, 17 Dec 2011 19:51:57 +0000 (19:51 +0000)] 
{add|del}bridge commands on server side (mstpd)

git-svn-id: svn://svn.code.sf.net/p/mstpd/code/trunk@25 fbe50366-0c72-4402-a84b-5d246361dba7

13 years ago{add|del}bridge commands on client side (mstpctl)
dv1tas [Sat, 17 Dec 2011 19:50:41 +0000 (19:50 +0000)] 
{add|del}bridge commands on client side (mstpctl)

git-svn-id: svn://svn.code.sf.net/p/mstpd/code/trunk@24 fbe50366-0c72-4402-a84b-5d246361dba7

13 years agoremove notification commands
dv1tas [Sat, 17 Dec 2011 19:48:34 +0000 (19:48 +0000)] 
remove notification commands

git-svn-id: svn://svn.code.sf.net/p/mstpd/code/trunk@23 fbe50366-0c72-4402-a84b-5d246361dba7

13 years agoMisc typos
dv1tas [Mon, 28 Nov 2011 15:07:01 +0000 (15:07 +0000)] 
Misc typos

git-svn-id: svn://svn.code.sf.net/p/mstpd/code/trunk@22 fbe50366-0c72-4402-a84b-5d246361dba7

13 years agoCommands to return short values for use in scripts
dv1tas [Mon, 28 Nov 2011 15:02:22 +0000 (15:02 +0000)] 
Commands to return short values for use in scripts

git-svn-id: svn://svn.code.sf.net/p/mstpd/code/trunk@21 fbe50366-0c72-4402-a84b-5d246361dba7

13 years agoshould check argc
dv1tas [Fri, 25 Nov 2011 12:05:17 +0000 (12:05 +0000)] 
should check argc

git-svn-id: svn://svn.code.sf.net/p/mstpd/code/trunk@20 fbe50366-0c72-4402-a84b-5d246361dba7

13 years agoNotify mstpd about stp mode change via bridge-stp
dv1tas [Thu, 24 Nov 2011 19:02:20 +0000 (19:02 +0000)] 
Notify mstpd about stp mode change via bridge-stp

git-svn-id: svn://svn.code.sf.net/p/mstpd/code/trunk@19 fbe50366-0c72-4402-a84b-5d246361dba7

13 years agoWrong flags were tested
dv1tas [Thu, 24 Nov 2011 17:43:40 +0000 (17:43 +0000)] 
Wrong flags were tested

git-svn-id: svn://svn.code.sf.net/p/mstpd/code/trunk@18 fbe50366-0c72-4402-a84b-5d246361dba7

13 years agoIgnore carrier state on bridge device
dv1tas [Mon, 21 Nov 2011 10:14:03 +0000 (10:14 +0000)] 
Ignore carrier state on bridge device

git-svn-id: svn://svn.code.sf.net/p/mstpd/code/trunk@17 fbe50366-0c72-4402-a84b-5d246361dba7

13 years agoAdd devel/release mode switch to the Makefile
dv1tas [Sat, 12 Nov 2011 19:22:50 +0000 (19:22 +0000)] 
Add devel/release mode switch to the Makefile

git-svn-id: svn://svn.code.sf.net/p/mstpd/code/trunk@16 fbe50366-0c72-4402-a84b-5d246361dba7

13 years ago[by Michael Tremer] Add .gitignore file.
dv1tas [Sat, 12 Nov 2011 19:12:00 +0000 (19:12 +0000)] 
[by Michael Tremer] Add .gitignore file.

git-svn-id: svn://svn.code.sf.net/p/mstpd/code/trunk@15 fbe50366-0c72-4402-a84b-5d246361dba7

13 years ago[by Michael Tremer] Add install target to Makefile.
dv1tas [Sat, 12 Nov 2011 19:10:47 +0000 (19:10 +0000)] 
[by Michael Tremer] Add install target to Makefile.

git-svn-id: svn://svn.code.sf.net/p/mstpd/code/trunk@14 fbe50366-0c72-4402-a84b-5d246361dba7

13 years agodriver hooks for creating/deleting new MSTI
dv1tas [Mon, 3 Oct 2011 16:01:43 +0000 (16:01 +0000)] 
driver hooks for creating/deleting new MSTI

git-svn-id: svn://svn.code.sf.net/p/mstpd/code/trunk@13 fbe50366-0c72-4402-a84b-5d246361dba7

13 years agouse versionsort when available
dv1tas [Wed, 28 Sep 2011 13:05:02 +0000 (13:05 +0000)] 
use versionsort when available

git-svn-id: svn://svn.code.sf.net/p/mstpd/code/trunk@12 fbe50366-0c72-4402-a84b-5d246361dba7

13 years agoFix bug: rcvInvfo wrongly implied designated role on RST BPDUs
dv1tas [Wed, 28 Sep 2011 08:37:32 +0000 (08:37 +0000)] 
Fix bug: rcvInvfo wrongly implied designated role on RST BPDUs

git-svn-id: svn://svn.code.sf.net/p/mstpd/code/trunk@11 fbe50366-0c72-4402-a84b-5d246361dba7

13 years agoTranslate new ageing time to the kernel bridge code
dv1tas [Tue, 27 Sep 2011 15:26:11 +0000 (15:26 +0000)] 
Translate new ageing time to the kernel bridge code

git-svn-id: svn://svn.code.sf.net/p/mstpd/code/trunk@10 fbe50366-0c72-4402-a84b-5d246361dba7

13 years agoTranslate CIST flushing to the kernel bridge code
dv1tas [Tue, 27 Sep 2011 13:55:22 +0000 (13:55 +0000)] 
Translate CIST flushing to the kernel bridge code

git-svn-id: svn://svn.code.sf.net/p/mstpd/code/trunk@9 fbe50366-0c72-4402-a84b-5d246361dba7

13 years agoFix bug: infinite recursion in TCSM
dv1tas [Tue, 27 Sep 2011 10:21:00 +0000 (10:21 +0000)] 
Fix bug: infinite recursion in TCSM

git-svn-id: svn://svn.code.sf.net/p/mstpd/code/trunk@8 fbe50366-0c72-4402-a84b-5d246361dba7

13 years agoFix timers handling
dv1tas [Tue, 27 Sep 2011 07:37:12 +0000 (07:37 +0000)] 
Fix timers handling

git-svn-id: svn://svn.code.sf.net/p/mstpd/code/trunk@7 fbe50366-0c72-4402-a84b-5d246361dba7

13 years agoTranslate CIST states to the Linux bridge code
dv1tas [Tue, 27 Sep 2011 07:32:10 +0000 (07:32 +0000)] 
Translate CIST states to the Linux bridge code

git-svn-id: svn://svn.code.sf.net/p/mstpd/code/trunk@6 fbe50366-0c72-4402-a84b-5d246361dba7

13 years agoFix bug: rcvInvfo returned OtherInfo on STP-Config BPDUs
dv1tas [Tue, 27 Sep 2011 07:29:34 +0000 (07:29 +0000)] 
Fix bug: rcvInvfo returned OtherInfo on STP-Config BPDUs

git-svn-id: svn://svn.code.sf.net/p/mstpd/code/trunk@5 fbe50366-0c72-4402-a84b-5d246361dba7

13 years agoDon't use ugly assign macro for enums - it adds no value
dv1tas [Fri, 23 Sep 2011 12:51:00 +0000 (12:51 +0000)] 
Don't use ugly assign macro for enums - it adds no value

git-svn-id: svn://svn.code.sf.net/p/mstpd/code/trunk@4 fbe50366-0c72-4402-a84b-5d246361dba7

13 years agoMake sparse (mostly) happy
dv1tas [Fri, 23 Sep 2011 10:03:32 +0000 (10:03 +0000)] 
Make sparse (mostly) happy

git-svn-id: svn://svn.code.sf.net/p/mstpd/code/trunk@3 fbe50366-0c72-4402-a84b-5d246361dba7

13 years agoMove .depend into right dir
dv1tas [Thu, 22 Sep 2011 13:38:37 +0000 (13:38 +0000)] 
Move .depend into right dir

git-svn-id: svn://svn.code.sf.net/p/mstpd/code/trunk@2 fbe50366-0c72-4402-a84b-5d246361dba7

13 years agoInitial import
dv1tas [Thu, 22 Sep 2011 13:33:02 +0000 (13:33 +0000)] 
Initial import

git-svn-id: svn://svn.code.sf.net/p/mstpd/code/trunk@1 fbe50366-0c72-4402-a84b-5d246361dba7