Signed-off-by: WATANABE Fumitaka <[email protected]>
---
 ryu/lib/packet/bpdu.py |    9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/ryu/lib/packet/bpdu.py b/ryu/lib/packet/bpdu.py
index 0c293cd..91aefa2 100644
--- a/ryu/lib/packet/bpdu.py
+++ b/ryu/lib/packet/bpdu.py
@@ -145,6 +145,15 @@ TYPE_TOPOLOGY_CHANGE_BPDU = 128
 TYPE_RSTBPDU = 2
 DEFAULT_BRIDGE_PRIORITY = 32768
 DEFAULT_PORT_PRIORITY = 128
+PORT_PATH_COST_100KB = 200000000
+PORT_PATH_COST_1MB = 20000000
+PORT_PATH_COST_10MB = 2000000
+PORT_PATH_COST_100MB = 200000
+PORT_PATH_COST_1GB = 20000
+PORT_PATH_COST_10GB = 2000
+PORT_PATH_COST_100GB = 200
+PORT_PATH_COST_1TB = 20
+PORT_PATH_COST_10TB = 2
 DEFAULT_MAX_AGE = 20
 DEFAULT_HELLO_TIME = 2
 DEFAULT_FORWARD_DELAY = 15
-- 1.7.10.4


------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to