Re: [ovs-discuss] Newbie question

2012-01-06 Thread Ben Pfaff
There shouldn't be any loss of functionality. It just means that you can also use brctl, etc., to control OVS. On Fri, Jan 06, 2012 at 01:31:00PM -0800, Tyrion Lannister wrote: > Thanks. I will try with brcompatd. Just to make sure, does having brcompatd > instead of a regular ovs mean loss of fu

Re: [ovs-discuss] Newbie question

2012-01-06 Thread Tyrion Lannister
Thanks. I will try with brcompatd. Just to make sure, does having brcompatd instead of a regular ovs mean loss of functionality or it is everything ovs provides + linux bridge? Tyrion On Fri, Jan 6, 2012 at 1:19 PM, Ben Pfaff wrote: > OVS doesn't yet integrate well with libvirt. You can kluge

Re: [ovs-discuss] Newbie question

2012-01-06 Thread Ansis Atteka
You might want to look here for hints - http://veejoe.net/blog/tag/openvswitch/ On Fri, Jan 6, 2012 at 1:18 PM, Tyrion Lannister wrote: > Thanks. This worked. Now I cannot create VMs using virt-install or > virt-manager. Is this not supported? With virt-install, I get an error > saying > "Failed

Re: [ovs-discuss] Newbie question

2012-01-06 Thread Ben Pfaff
OVS doesn't yet integrate well with libvirt. You can kluge it through brcompatd, I think. On Fri, Jan 06, 2012 at 01:18:36PM -0800, Tyrion Lannister wrote: > Thanks. This worked. Now I cannot create VMs using virt-install or > virt-manager. Is this not supported? With virt-install, I get an error

Re: [ovs-discuss] Newbie question

2012-01-06 Thread Tyrion Lannister
Thanks. This worked. Now I cannot create VMs using virt-install or virt-manager. Is this not supported? With virt-install, I get an error saying "Failed to add tap interface to bridge. br0 is not a bridge device" As per the instructions, I have removed the bridge module and want to use the ovs. I

Re: [ovs-discuss] Newbie question

2012-01-05 Thread Ben Pfaff
"dhclient br0" should work. This is the same behavior as the Linux bridge, so if you've used that, then this works the same way. rhel/README.RHEL in the source distribution has some information on Red Hat network script integration. It was contributed; I haven't personally tried it. On Thu, Jan

Re: [ovs-discuss] Newbie question

2012-01-05 Thread Tyrion Lannister
Thanks. But the IP is coming from DHCP. How do I enable DHCP on the bridge? And how do I prevent eth0 from getting that IP address? I am assuming I dont have to go muck with ifcfg-eth0 under /etc/sysconfig/network-scripts nor do I have to create ifcfg-br0 in the same place. Tyrion On Thu, Jan 5

Re: [ovs-discuss] Newbie question

2012-01-05 Thread Ben Pfaff
On Thu, Jan 05, 2012 at 06:03:02PM -0800, Tyrion Lannister wrote: > I just installed OpenVswitch 1.3.0 on Centos 6 with KVM QEMU. I have some > basic questions: > > 1) I add a bridge br0 - ovs-vsctl add-br br0 > 2) I attach eth0 to br0 - ovs-vsctl add-port br0 eth0 > > I havent added any VMs yet,

[ovs-discuss] Newbie question

2012-01-05 Thread Tyrion Lannister
Hi, I just installed OpenVswitch 1.3.0 on Centos 6 with KVM QEMU. I have some basic questions: 1) I add a bridge br0 - ovs-vsctl add-br br0 2) I attach eth0 to br0 - ovs-vsctl add-port br0 eth0 I havent added any VMs yet, but I expect to still reach the hypervisor using IP. eth0 is getting an I

Re: [ovs-discuss] newbie question: main function of openvswitch

2011-04-07 Thread Ben Pfaff
On Thu, Apr 07, 2011 at 10:51:19AM +0500, Tahir Rauf wrote: > I am a newbie to openvswitch. As a starting point, I was looking at the > 'actual' main function of openvswitch. I found around 35 main functions in > the code (the most of them belongs to 'test'). But there are also many other > main()

Re: [ovs-discuss] newbie question about openvswitch_ioctl() function

2011-04-06 Thread Justin Pettit
The userspace (ovs-vswitchd) uses ioctls to communicate with the kernel module (openvswitch_mod.ko) to have it do things like add and remove flows. That's the function that handles the ioctl requests. The code in repository no longer uses ioctls, but instead uses netlink. We're planning to re

Re: [ovs-discuss] newbie question: main function of openvswitch

2011-04-06 Thread Justin Pettit
The README in the distribution is a good place to start, since it describes most of those programs. You can see it online here: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob_plain;f=README For the switch itself, you'll want to look at ovs-vswitchd.c. --Justin On Apr

[ovs-discuss] newbie question about openvswitch_ioctl() function

2011-04-06 Thread Tahir Rauf
Hi Can someone please explain the purpose of the function named "openvswitch_ioctl()" in datapath.c file. I have found no documentation about this function. Any help will be appreciated Regards ___ discuss mailing list discuss@openvswitch.org http://ope

[ovs-discuss] newbie question: main function of openvswitch

2011-04-06 Thread Tahir Rauf
Hi I am a newbie to openvswitch. As a starting point, I was looking at the 'actual' main function of openvswitch. I found around 35 main functions in the code (the most of them belongs to 'test'). But there are also many other main() functions, like in ovs-appctl.c, ovs-controller.c, ovs-discover.