Re: [controller-dev] ovs related queries: ofport_request purpose and range
Venkata Siva Vijayendra Bhamidipati
Hi Madhu!
Thanks a lot for the info! Indeed I am able to see the ofport_request info in the ovs-vsctl list interface output. Also, ovs-vsctl errors out with the range in case I attempt to add a value larger than 65279 for ofport_request.
In this context, I have a few queries – I see in the GUI, an HTTP GET controller/web/devices/nodesLearnt request being sent to the controller when I go to the Connection Manager page. In the controller code, this leads to the getNodesLearnt() method for
GET /nodesLearnt in Devices.java, and onward in that code path, when it retrieves all the name/port info etc of the devices (switches) it knows of, it looks like the switches’ info is already discovered and filled in, but I can’t find the exact path/point
where this info is pushed to the controller. Since I set the controller for the bridge I create, as the ODL controller-ip:6633, evidently ovs is pushing it to the controller, but not sure where that code is in the controller. Any idea where I should look at
for that? Thought I’d ask right away before I dug deeper into it, so it would save time in case I get the answer from you.. Also, is there a database that the controller writes this info to? If so, how can I view it? Or is the controller stateless?
Thanks again!
Regards,
Vijay
From: Madhu Venguopal <mavenugo@...>
Date: Wednesday, January 15, 2014 at 3:19 PM To: "Bhamidipati, Vijay" <vbhamidipati@...>, "controller-dev@..." <controller-dev@...>, "ovsdb-dev@..." <ovsdb-dev@...> Subject: Re: [controller-dev] ovs related queries: ofport_request purpose and range Hi Vijay, The port number that you see in ovs-dpctl is NOT the openflow assigned port number. Rather it is the datapath port identifier used purely for the forwarding purposes. Please use the command : "sudo ovs-vsctl list interface" to know the requested openflow port number and the assigned port number. In most of the cases, it will be the same unless the requested number is unavailable. Please let us know if you have any questions. Thanks, Madhu On 1/15/14, 2:59 PM, ebaysf, vbhamidipati wrote:
|