Hello All. 

I am currently working with rest_qos.py file, which I am using to create and 
delete queues in OVS. when I am setting the ovsdb_addr, which address should I 
use? 

The file I am using can be used here:
https://github.com/osrg/ryu/blob/master/ryu/app/rest_qos.py

if I use: 


addres='http://120.0.0.1:6633/ 
ofs.set_ovsdb_addr(dpid,addres) 


I will get an error like this: 


error Address family not supported by protocol 
hub: uncaught exception: Traceback (most recent call last): 
File "/usr/local/lib/python2.7/ dist-packages/ryu/lib/hub.py", line 52, in 
_launch 
func(*args, **kwargs) 
File "/usr/local/lib/python2.7/ dist-packages/ryu/base/app_ manager.py", line 
274, in _event_loop 
handler(ev) 
File "/home/mininet/RYU_Test/rest_ qos.py", line 372, in handler_datapath 
self.santiago_QoS(ev) 
File "/home/mininet/RYU_Test/rest_ qos.py", line 307, in santiago_QoS 
ofs.set_ovsdb_addr(dpid, addres) 
File "/home/mininet/RYU_Test/rest_ qos.py", line 656, in set_ovsdb_addr 
raise ValueError('ovsdb addr is not available.') 
ValueError: ovsdb addr is not available. 




Can someone guide me in which address should I use?? or in which format it 
should be?? 


Thank you very much in advance!! 



------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to