As I mentioned, I would store it in the database and pull it using the OVSDB 
protocol.  Your controller would need to support OVSDB, which is defined here:

        http://tools.ietf.org/html/draft-pfaff-ovsdb-proto

Alternatively, you could use one of the OVSDB utilities (e.g., ovs-vsctl or 
ovsdb-client) to pull the data over a TCP/SSL socket onto the system running 
your controller.

--Justin


On Feb 13, 2013, at 7:05 PM, vis reddy <[email protected]> wrote:

> Thanks Justin i think i will go with locally storing the information and have 
> the controller get the information.
> I am trying to figure out from the code how the  controller  will get the 
> information,
> could you please point to the code and what type of message it will be,
> , from the openflow spec there is no such  messaging that supports this.
> Thanks
> Vishnu
> 
> From: Justin Pettit <[email protected]>
> To: vis reddy <[email protected]> 
> Cc: "[email protected]" <[email protected]> 
> Sent: Wednesday, 13 February 2013 6:25 PM
> Subject: Re: [ovs-discuss] how to report the links
> 
> As I mentioned, you could just send the LLDP packets to the controller 
> itself.  If you wanted to process them locally, you could store the 
> information in the configuration database and have your controller get the 
> information using the OVSDB protocol.
> 
> --Justin
> 
> 
> On Feb 13, 2013, at 6:21 PM, vis reddy <[email protected]> wrote:
> 
> > Thanks Justin,
> > How do we report a link connected to another switch, the switch has 
> > detected all the neighbors by lldp. How should i send this info to the 
> > controller.
> > Thanks
> > Vishnu
> > 
> > From: Justin Pettit <[email protected]>
> > To: vis reddy <[email protected]> 
> > Cc: "[email protected]" <[email protected]> 
> > Sent: Wednesday, 13 February 2013 6:16 PM
> > Subject: Re: [ovs-discuss] how to report the links
> > 
> > There's nothing built into OVS that will do this for you.  I've seen 
> > solutions like running LLDP in the end-host and sending those packets to 
> > the controller, or having the controller generate and handle probes itself.
> > 
> > --Justin
> > 
> > 
> > On Feb 13, 2013, at 6:02 PM, vis reddy <[email protected]> wrote:
> > 
> > > Hello All,
> > > Could you please help to understand the following,
> > > I am trying to figure out  how to report the links to the controller,
> > > for example the switch has a physical connection to another switch on 
> > > port P1 and a host on port P2
> > > how should i report this to the controller, i do not see any message of 
> > > this kinds.
> > > This is required as the controller will know the topology based on this.
> > > if there is already such a mechanism if some one point to the code it 
> > > will be very helpful.
> > > Thanks lot
> > > 
> > > _______________________________________________
> > > discuss mailing list
> > > [email protected]
> > > http://openvswitch.org/mailman/listinfo/discuss
> > 
> > 
> > 
> 
> 
> 

_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to