[ovs-discuss] how to report the links

Justin Pettit jpettit at nicira.com
Thu Feb 14 03:09:51 UTC 2013


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 <badveli_vishnuus at yahoo.com> 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 <jpettit at nicira.com>
> To: vis reddy <badveli_vishnuus at yahoo.com> 
> Cc: "discuss at openvswitch.org" <discuss at openvswitch.org> 
> 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 <badveli_vishnuus at yahoo.com> 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 <jpettit at nicira.com>
> > To: vis reddy <badveli_vishnuus at yahoo.com> 
> > Cc: "discuss at openvswitch.org" <discuss at openvswitch.org> 
> > 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 <badveli_vishnuus at yahoo.com> 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
> > > discuss at openvswitch.org
> > > http://openvswitch.org/mailman/listinfo/discuss
> > 
> > 
> > 
> 
> 
> 




More information about the discuss mailing list