[ovs-discuss] Connectivity between openvswitch and floodlight controller on two different VMs

Justin Pettit jpettit at nicira.com
Fri Nov 23 17:31:44 UTC 2012


The way you configured connecting to the controller is fine if Floodlight is listening at that address. If you have specific questions on configuring Floodlight, I'd recommend posting to the Floodlight mailing list, since I'm not familiar with configuring it. 

--Justin


On Nov 23, 2012, at 10:51 AM, Vikram Khatri <vicky28khatri at yahoo.co.uk> wrote:

> Hi Justin,
> 
> Thanks for clarification. I didn't know that ovs-controller is itself a controller, and used that command.
> 
> I want to use floodlight controller to connect with openvswitch. Can you share about their config connectivity i.e. how would openvswitch connect with controller (other than ovs-controller).
>  
> 
> -- Vicky
> From: Justin Pettit <jpettit at nicira.com>
> To: Vikram Khatri <vicky28khatri at yahoo.co.uk> 
> Cc: "discuss at openvswitch.org" <discuss at openvswitch.org> 
> Sent: Friday, 23 November 2012, 16:56
> Subject: Re: [ovs-discuss] Connectivity between openvswitch and floodlight controller on two different VMs
> 
> ovs-controller and Floodlight are two different OpenFlow controllers.  I didn't see any references to ovs-controller until the error message you showed at the end.  It appears to me it wasn't invoked properly and didn't have "ptcp:" or something similar as an argument.  However, it's not clear from your message that you really intended to run ovs-controller.
> 
> --Justin
> 
> 
> On Nov 23, 2012, at 6:07 AM, Vikram Khatri <vicky28khatri at yahoo.co.uk> wrote:
> 
> > Hi,
> > 
> > I am trying to connect openvswitch 1.7 with floodlight controller. They are installed on separate virtual machines inside Virtual box with host-only adapter configuration.
> > 
> > The openvswitch 1.7 installation is done perfectly, openvswitch and brcompat modules are loaded and installed correctly.
> > 
> > In openvswitch machine, after initializing the configuration database (ovsdb-tool create) and starting ovsdb-server. I go on with commands:
> > ovs-vsctl --no-wait init
> > 
> > ovs-vswitchd --pidfile --detach
> > 
> > ovs-vsctl add-br br1
> > ovs-vsctl add-port br1 eth0
> >  
> > ifconfig eth0 0
> > ifconfig br1 192.168.1.2 netmask 255.255.255.0
> > 
> > ovs-vsctl set-controller tcp:192.168.1.102:6633
> > 
> > In controller machine, I set up IP address 192.168.1.102, and run floodlight controller there. It doesn't listen to switch and start flooding on all ports.
> > 
> > The switch and controller are on the same subnet, and they ping each other, but controller can't listen to switch.
> > 
> > When I see results for ovs-controller start, it says:
> > connect: Address family not supported by protocol and no active or passive switch connections
> > 
> > Could somebody help me figure out the problem.
> > 
> > 
> > Vicky
> > _______________________________________________
> > discuss mailing list
> > discuss at openvswitch.org
> > http://openvswitch.org/mailman/listinfo/discuss
> 
> 
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20121123/338e85db/attachment.html>


More information about the discuss mailing list