I've applied the following fix:

=
>From 5b9ad7f459e07a9b32f1db455ba2843c1aab2b09 Mon Sep 17 00:00:00 2001
From: FUJITA Tomonori <fujita.tomon...@lab.ntt.co.jp>
Date: Fri, 1 Jun 2012 06:12:19 +0900
Subject: [PATCH] app/simple_switch: fix commit 
e5e4b844250d36788f9b1bf71cfd36a6e14d5315 regression

Traceback (most recent call last):
  File "bin/ryu-manager", line 71, in <module>
    main()
  File "bin/ryu-manager", line 53, in main
    app_mgr.instantiate_apps(**contexts)
  File "/Users/fujita/git/ryu/ryu/base/app_manager.py", line 102, in 
instantiate_apps
    app = cls(*args, **kwargs)
  File "/Users/fujita/git/ryu/ryu/app/simple_switch.py", line 44, in __init__
    self.mac2port = kwargs['mac2port']
KeyError: 'mac2port'

Signed-off-by: FUJITA Tomonori <fujita.tomon...@lab.ntt.co.jp>
---
 ryu/app/simple_switch.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ryu/app/simple_switch.py b/ryu/app/simple_switch.py
index ed664c6..dce8fd7 100644
--- a/ryu/app/simple_switch.py
+++ b/ryu/app/simple_switch.py
@@ -36,7 +36,7 @@ LOG = logging.getLogger('ryu.app.simple_switch')
 
 
 class SimpleSwitch(app_manager.RyuApp):
-    _CONTEXETS = {
+    _CONTEXTS = {
         'mac2port': mac_to_port.MacToPortTable,
         }
     def __init__(self, *args, **kwargs):
-- 
1.7.4.4


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to