Hi,

Maybe python libraries "ecdsa" or "PyCrypto" are missing.
 (http://paramiko-www.readthedocs.org/en/latest/installing.html)

Thanks,
Iwase

On 2015年04月18日 23:46, 許洋銘 wrote:
> *hi,
> I just encountered the problem with connecting the switch, pica 8 3290,
> with ryu's of-config library.
> *
> 
> *I've googled the problem, paramiko.ssh_exception.SSHException: Channel
> closed,
> however, there isn't any appropriate solution to my problem.
> 
> Thus, I wanna to seek for the help of connecting to the physical SDN switch
> using of-config protocol/library.
> 
> Anyone can give me some instructions of solving this problem?
> Truly appreciate your help*
> 
> *here's the traceback msg.
> ==================================================================
> xdn41o71:ryu Mac$ sudo ryu-manager ryu/app/of_config.py
> Password:
> loading app ryu/app/of_config.py
> Connected (version 2.0, client OpenSSH_6.0p1)
> Authentication (password) successful!
> Traceback (most recent call last):
>   File "/Library/Frameworks/Python.framework/Versions/2.7/bin/ryu-manager",
> line 9, in <module>
>     load_entry_point('ryu==3.20.1', 'console_scripts', 'ryu-manager')()
>   File
> "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ryu/cmd/manager.py",
> line 88, in main
>     app_mgr.load_apps(app_lists)
>   File
> "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ryu/base/app_manager.py",
> line 390, in load_apps
>     cls = self.load_app(app_cls_name)
>   File
> "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ryu/base/app_manager.py",
> line 366, in load_app
>     mod = utils.import_module(name)
>   File
> "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ryu/utils.py",
> line 91, in import_module
>     __import__(name)
>   File "/Users/Mac/ryu/ryu/app/of_config.py", line 9, in <module>
>     unknown_host_cb=lambda host, fingeprint: True)
>   File
> "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ryu/lib/of_config/capable_switch.py",
> line 50, in __init__
>     self.netconf = connect(*self._connect_args, **self._connect_kwargs)
>   File
> "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ryu/contrib/ncclient/manager.py",
> line 67, in connect_ssh
>     session.connect(*args, **kwds)
>   File
> "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ryu/contrib/ncclient/transport/ssh.py",
> line 208, in connect
>     c.invoke_subsystem("netconf")
>   File
> "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/paramiko/channel.py",
> line 60, in _check
>     return func(self, *args, **kwds)
>   File
> "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/paramiko/channel.py",
> line 254, in invoke_subsystem
>     self._wait_for_event()
>   File
> "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/paramiko/channel.py",
> line 1086, in _wait_for_event
>     raise e
> *paramiko.ssh_exception.SSHException: Channel closed.*
> ==================================================================
> *
> 
> 
> 
> ------------------------------------------------------------------------------
> BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
> Develop your own process in accordance with the BPMN 2 standard
> Learn Process modeling best practices with Bonita BPM through live exercises
> http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
> source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
> 
> 
> 
> _______________________________________________
> Ryu-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
> 

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to