On Wed, Apr 03, 2013 at 06:59:40PM -0700, Shivaram Mysore wrote:
> Hello,
Hi.
> I am trying to use of_config with Ryu against LINC switch and I get the below
> error. I tried to ssh to localhost and stored the fingerprint so that I can
> use it against the same, but, no luck.
I'd like to make it sure before further investigation.
ssh localhost without port number will access to sshd of localhost.
The key of LINC needs to be added, not sshd.
While LINC is working, try
ssh localhost:<port LINC is listening. 1830?>
Then it adds the host key of LINC to ~/.ssh/known_hosts.
thanks,
>
> linux-acls:/usr/local/src/ryu # bin/ryu-manager ryu/lib/of_config/
> capable_switch.py ryu/tests/integrated/test_of_config.py
> loading app ryu/lib/of_config/capable_switch.py
> loading app ryu/tests/integrated/test_of_config.py
> loading app ryu.controller.ofp_handler
> instantiating app ryu/tests/integrated/test_of_config.py
> Connected (version 2.0, client Erlang)
> Traceback (most recent call last):
> File "bin/ryu-manager", line 87, in <module>
> main()
> File "bin/ryu-manager", line 67, in main
> app_mgr.instantiate_apps(**contexts)
> File "/usr/local/lib/python2.7/site-packages/ryu-1.7-py2.7.egg/ryu/base/
> app_manager.py", line 197, in instantiate_apps
> app = cls(*args, **kwargs)
> File "/usr/local/src/ryu/ryu/tests/integrated/test_of_config.py", line 123,
> in __init__
> host=HOST, port=PORT, username=USERNAME, password=PASSWORD)
> File "/usr/local/lib/python2.7/site-packages/ryu-1.7-py2.7.egg/ryu/lib/
> of_config/capable_switch.py", line 49, in __init__
> self.netconf = connect(*self._connect_args, **self._connect_kwargs)
> File "/usr/local/lib/python2.7/site-packages/ryu-1.7-py2.7.egg/ryu/contrib/
> ncclient/manager.py", line 67, in connect_ssh
> session.connect(*args, **kwds)
> File "/usr/local/lib/python2.7/site-packages/ryu-1.7-py2.7.egg/ryu/contrib/
> ncclient/transport/ssh.py", line 193, in connect
> raise SSHUnknownHostError(host, fingerprint)
> ncclient.transport.errors.SSHUnknownHostError: Unknown host key
> [63:c2:19:95:97:29:84:f6:86:41:1a:15:17:d7:90:0d] for [127.0.0.1]
> linux-acls:/usr/local/src/ryu #
>
> Thanks & Regards
>
> /Shivaram
> ------------------------------------------------------------------------------
> Minimize network downtime and maximize team effectiveness.
> Reduce network management and security costs.Learn how to hire
> the most talented Cisco Certified professionals. Visit the
> Employer Resources Portal
> http://www.cisco.com/web/learning/employer_resources/index.html
> _______________________________________________
> Ryu-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
--
yamahata
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel