On Thu, Apr 04, 2013 at 06:48:12PM -0700, Shivaram Mysore wrote:
> Hello,

Hello.

> I did some real hack to get some version of OFConfig working with Ryu to get
> over the SSH Host Fingerprint issue as reported in the previous email.  But, I
> am not sure how to effectively use this ?

I sent the patch which modifies test_of_config.py not to check if the host
is known because it's just for test/sample.


> Delivering to <ncclient.operations.retrieve.Get object at 0x22afe10>
> Traceback (most recent call last):
>   File "/usr/local/lib64/python2.7/site-packages/gevent/greenlet.py", line 
> 390,
> in run
>     result = self._run(*self.args, **self.kwargs)
>   File "/usr/local/src/ryu/ryu/tests/integrated/test_of_config.py", line 212,
> in _do_of_config
>     self._do_get()
>   File "/usr/local/src/ryu/ryu/tests/integrated/test_of_config.py", line 138,
> in _do_get
>     self._validate(tree)
>   File "/usr/local/src/ryu/ryu/tests/integrated/test_of_config.py", line 127,
> in _validate
>     xmlschema = _get_schema()
>   File "/usr/local/src/ryu/ryu/tests/integrated/test_of_config.py", line 115,
> in _get_schema
>     file_name = of_config.OF_CONFIG_1_1_1_XSD
> AttributeError: 'module' object has no attribute 'OF_CONFIG_1_1_1_XSD'
> <Greenlet at 0x22a0848: <bound method OFConfigClient._do_of_config of
> <test_of_config.OFConfigClient object at 0x7f6eb8d10f90>>> failed with
> AttributeError

Did you install Ryu package? It seems schema files(.xsd) are missing.
I sent out the patch to address it. Can you please confirm it?


> I have not investigated the errors in the above, but, it roughly works.  It
> would be nice to have Ryu working in interactive mode so that from a
> configuration point of view, we can issue different commands.  Let me know if
> this is a possibility.

There is a patch floating around for debug console.

http://article.gmane.org/gmane.network.ryu.devel/2153/
http://article.gmane.org/gmane.network.ryu.devel/2449


> BTW, in order to get OFconfig working with LINC (Switch), Ryu (Controller) and
> LINC's enetconf (Configuration Point), please look at https://github.com/
> FlowForwarding/LINC-Switch/wiki/OF-Config-Demo 

Thank you for the procedure.
BTW I observed LINC showing stack trace several times during using
test_of_config. (But I didn't record it) It would be easy to reproduce it,
I hope.

thanks,
-- 
yamahata

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to