Good afternoon, I've solved my previous problem (01-10-2020). It turns out '--columns=options' is not an available option in the OVSDB library in Ryu and I was not aware of that. I apolagize.
However, I think I've found a bug coming from vsctl.py, in /ryu/lib/ovs (but I hope I'm wrong). I'm trying to do a simple task: list all ports of an OVS or list all ports associated with a bridge. The following commands were executed in the same order as shown and their outputs are below each one: _______________________________________________________ c = vsctl.VSCtlCommand('list-br') print(c) >> "br0" c = vsctl.VSCtlCommand('br-exists', "br0") print(c) >> [False] c = vsctl.VSCtlCommand('list-ifaces', "br0") print(c) >> "no bridge named b" ________________________________________________________ Now, using only "ryu.lib.ovs.bridge": _____________________________________________ result = br.get_port_name_list() >> "no bridge named None" result = br.get_port_name_list("br0") >> get_port_name_list() takes 1 positional argument but 2 were given _________________________________________________________ As anyone experienced this problem before? It's like the string of the name of the bridge, "br0", never reaches as a whole to the function "find_bridge(self, name, must_exist)" of vsctl.py. It's important to note that when I print the "self.bridges" variable inside the "find_bridge" function, a dictionary with a "br0" key is displayed. Could the problem be the fact that I'm using openflow13? Regards, Inês
_______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel