Hi,

We are trying to manage openVswitch using ryu controller using OVSDB manager.
But we are facing an Attribute error while doing the same.

  File "/root/venv/lib/python3.4/site-packages/ovs/db/idl.py", line 266, in 
send_cond_change
    if table.cond_changed:
AttributeError: 'TableSchema' object has no attribute 'cond_changed'

Ryu  application  and the logs are attached.

Please help us in understanding why the error is coming, though the schema is 
received from the openVswitch.


Thanks and Regards,
Srujana.


The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. WARNING: Computer viruses can be transmitted via email. The 
recipient should check this email and any attachments for the presence of 
viruses. The company accepts no liability for any damage caused by any virus 
transmitted by this email. www.wipro.com

Attachment: ovs_test.py
Description: ovs_test.py

(venv) [root@CARBON ryu]# ryu-manager --verbose app/ovs_test.py
loading app app/ovs_test.py
loading app ryu.services.protocols.ovsdb.manager
instantiating app app/ovs_test.py of MyApp
instantiating app ryu.services.protocols.ovsdb.manager of OVSDB
BRICK MyApp
  CONSUMES EventNewOVSDBConnection
BRICK OVSDB
  PROVIDES EventModifyRequest TO {'OVSDB': set()}
  PROVIDES EventReadRequest TO {'OVSDB': set()}
  PROVIDES EventNewOVSDBConnection TO {'MyApp': set()}
  CONSUMES EventModifyRequest
  CONSUMES EventReadRequest
Listening on 0.0.0.0:6640 for clients
New connection from 127.0.0.1:45207
==SD:== reply.result in discover_schemas ['Open_vSwitch']
==SD:== schema.get_idl_schema
hub: uncaught exception: Traceback (most recent call last):
  File "/root/venv/lib/python3.4/site-packages/ryu/lib/hub.py", line 54, in 
_launch
    return func(*args, **kwargs)
  File 
"/root/venv/lib/python3.4/site-packages/ryu/services/protocols/ovsdb/manager.py",
 line 144, in _start_remote
    schema_exclude_columns=schema_ex_col)
  File 
"/root/venv/lib/python3.4/site-packages/ryu/services/protocols/ovsdb/client.py",
 line 322, in factory
    system_id = discover_system_id(idl)
  File 
"/root/venv/lib/python3.4/site-packages/ryu/services/protocols/ovsdb/client.py",
 line 128, in discover_system_id
    idl.run()
  File "/root/venv/lib/python3.4/site-packages/ovs/db/idl.py", line 178, in run
    self.send_cond_change()
  File "/root/venv/lib/python3.4/site-packages/ovs/db/idl.py", line 266, in 
send_cond_change
    if table.cond_changed:
AttributeError: 'TableSchema' object has no attribute 'cond_changed'

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to