On Fri, Dec 28, 2012 at 02:54:20PM +0800, ???? wrote:
> hi:
>    I want to use Ryu with Openstack Folsom , and I setup nova , quantum-2012.2
> and ryu1.5  in one server, when I started ryu-manage, it worked successfully.
> but when I start ryu_quantum_agent.py, it failed:
> Traceback (most recent call last):
>   File "./ryu_quantum_agent.py", line 29, in <module>
>     from ryu.app import conf_switch_key
> ImportError: cannot import name conf_switch_key

Patched ryu is needed in this case.
My latest public branch is
git://github.com/yamahata/ryu.git ryu-gre-tunnel-dec-03-2012
Or apply the patch that was posted on this ML.


> Then, I download a new quantum from the link in the ryu 1.5 documentation(git
> clone git://github.com/osrg/quantum.git),and start ryu_quantum_agent.py in new
> quantum, it still failed:
> INFO:root:Connecting to database "ovs_quantum" on 10.21.3.83
> DEBUG:root:checking db
> Traceback (most recent call last):
>   File "./ryu_quantum_agent.py", line 405, in <module>
>     plugin = OVSQuantumOFPRyuAgent(config, integ_br, db)
>   File "./ryu_quantum_agent.py", line 288, in __init__
>     assert ret
> AssertionError

You need to set the config variables, openflow-controller and
openflow-rest-api.

The easiest way to try Ryu and Openstack is use the pre-configured image.
-- 
yamahata

------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to