]>
git.ipfire.org Git - people/ms/mstpd.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
dv1tas [Tue, 2 Jul 2013 09:04:15 +0000 (09:04 +0000)]
man pages update
1) MSTP is fully supported by mstpd/mstpctl, it is not supported only by interface extension scripts (ifupdown). I have stated this point clearly;
2) Priority description reflects current status: priorities are in range 0-15. in natural units. When/if I'll be convinced that priorities should be in multiplies of 16/4096, we'll change the man pages accordingly. Perhaps, they'll be generated differently based on the conditional variable from the makefile. For now, they should describe things as they are;
3) Style, wording and other trivia.
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@54
fbe50366 -0c72-4402-a84b-
5d246361dba7
dv1tas [Thu, 27 Jun 2013 09:42:36 +0000 (09:42 +0000)]
Refactoring: rename ifc -> prt
git-svn-id: svn://svn.code.sf.net/p/mstpd/code/trunk@53
fbe50366 -0c72-4402-a84b-
5d246361dba7
dv1tas [Thu, 27 Jun 2013 09:20:45 +0000 (09:20 +0000)]
Check bpdu->flags only when this field is valid, i.e. not STP-TCN BPDU
git-svn-id: svn://svn.code.sf.net/p/mstpd/code/trunk@52
fbe50366 -0c72-4402-a84b-
5d246361dba7
dv1tas [Thu, 27 Jun 2013 08:54:57 +0000 (08:54 +0000)]
Add some statistics and logging to aid in better debugging
That additional statistics is present in most of the bridge vendors:
- Num TX and RX BPDU/TCN;
- Num of transition to forwarding/blocking;
- last 2 ports which caused topology change on the tree;
- logged if TCN was sent/received in BPDU.
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@51
fbe50366 -0c72-4402-a84b-
5d246361dba7
dv1tas [Wed, 26 Jun 2013 14:46:17 +0000 (14:46 +0000)]
Add debian utils & mans
Signed-off-by: Satish Ashok <sashok@cumulusnetworks.com>
git-svn-id: svn://svn.code.sf.net/p/mstpd/code/trunk@50
fbe50366 -0c72-4402-a84b-
5d246361dba7
dv1tas [Fri, 21 Jun 2013 09:04:20 +0000 (09:04 +0000)]
Don't send BPDUs when in Disabled state
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@49
fbe50366 -0c72-4402-a84b-
5d246361dba7
dv1tas [Thu, 20 Jun 2013 09:36:18 +0000 (09:36 +0000)]
Support bridge disable (ifconfig br0 down)
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@48
fbe50366 -0c72-4402-a84b-
5d246361dba7
dv1tas [Thu, 20 Jun 2013 08:36:24 +0000 (08:36 +0000)]
Transition operEdge to not-Edge when AutoEdge is cleared and AdminEdge is not-Edge
This was obviously a flaw in 802.1Q-2005 inherited from 802.1D, fixed in 802.1Q-2011
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@47
fbe50366 -0c72-4402-a84b-
5d246361dba7
dv1tas [Wed, 19 Jun 2013 07:49:36 +0000 (07:49 +0000)]
Bridge Assurance functionality.
1. Port type network ("setportnetwork" command) needs to be configured on ports on which bridge assurance functionality needs to be enforced. The functionality is enforced only for Operation Point-to-Point links and only when the operational version is RSTP/MSTP.
2. BPDU's are sent only on designated ports normally. For a network port type, BPDU's will be sent always and the port expects to receive BPDU's every hello time interval.
3. When a network port does not receive BPDU's in 3*hello_timer seconds from peer, the port is put in discarding state (with Bridge assurance inconsistency error in syslog), but BPDU's need to be sent out from the port every hello interval, though.
4. When an inconsistent bridge assurance port receives a BPDU later, the inconsistency is cleared and the port is transitioned to learning/forwarding as usual now.
5. Added hidden command "setdonttxmt" to not transmit BPDU's on demand, to test the functionality.
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@46
fbe50366 -0c72-4402-a84b-
5d246361dba7
dv1tas [Fri, 14 Jun 2013 08:54:49 +0000 (08:54 +0000)]
Fix jitter in computing one-second interval
Signed-off-by: Jorge Gastón
Signed-off-by: Vitalii Demianets
git-svn-id: svn://svn.code.sf.net/p/mstpd/code/trunk@45
fbe50366 -0c72-4402-a84b-
5d246361dba7
dv1tas [Thu, 13 Jun 2013 10:27:18 +0000 (10:27 +0000)]
Fix bug: mstpd goes crazy after date change
Signed-off-by: Jorge Gastón
Signed-off-by: Vitalii Demianets
git-svn-id: svn://svn.code.sf.net/p/mstpd/code/trunk@44
fbe50366 -0c72-4402-a84b-
5d246361dba7
dv1tas [Tue, 11 Jun 2013 07:59:32 +0000 (07:59 +0000)]
Get only link netlink messages
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@43
fbe50366 -0c72-4402-a84b-
5d246361dba7
dv1tas [Thu, 6 Jun 2013 16:04:39 +0000 (16:04 +0000)]
Add support for the BPDU Guard functionality
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@42
fbe50366 -0c72-4402-a84b-
5d246361dba7
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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