Re: [ovs-discuss] Migration with Open vSwith

2011-05-26 Thread Jesse Gross
On Tue, May 24, 2011 at 2:02 AM, Francis Margelidon wrote: > I have a problem when I migrate a virtual machine from one xen to another > xen. If I tag the port of the vm for example I make a ovs-vsctl add-port br0 > vif1.0 tag=1 and then I make xm migrate vm1 xen2 --live. The vm1 on the xen2 >

[ovs-discuss] qos capabilities

2011-05-26 Thread Vjekoslav Brajkovic
Hello. I've noticed that the latest OVS release has support for QoS and was wondering if someone could answer couple of questions. 1) Are there any examples out there that would help me understand its use-cases? So far the only thing I've managed to find was this link: http://openvswit

Re: [ovs-discuss] error message with connection to openflow controller

2011-05-26 Thread Ben Pfaff
You say you are using NOX. NOX is responsible for (or at least involved in) managing received buffer_ids, so I would ask about it on the NOX mailing list, On Fri, May 27, 2011 at 01:20:55AM +0500, ahmad numan wrote: > In documentation and mailing list I cannot find a method to send buffer_id > to

Re: [ovs-discuss] error message with connection to openflow controller

2011-05-26 Thread ahmad numan
In documentation and mailing list I cannot find a method to send buffer_id to OpenFlow request. please give me reference to some resource or clue to solve this problem thanks Ahmed Bilal On Thu, May 26, 2011 at 11:09 PM, Ben Pfaff wrote: > Send a given buffer_id only in a single OpenFlow request

Re: [ovs-discuss] error message with connection to openflow controller

2011-05-26 Thread Ben Pfaff
Send a given buffer_id only in a single OpenFlow request. On Thu, May 26, 2011 at 11:07:43PM +0500, ahmad numan wrote: > I think NOX error message is also related to buffer_id. My switch is > connected to a larger network and error message starts just after connecting > to openflow controller. Wha

Re: [ovs-discuss] error message with connection to openflow controller

2011-05-26 Thread ahmad numan
I think NOX error message is also related to buffer_id. My switch is connected to a larger network and error message starts just after connecting to openflow controller. What can be the solution for this error message. Ahmed Bilal On Thu, May 26, 2011 at 10:42 PM, Ben Pfaff wrote: > On Thu, May

Re: [ovs-discuss] OpenVswitch with Vlans.

2011-05-26 Thread Jesse Gross
On Tue, May 24, 2011 at 3:30 PM, manel med wrote: > I use openstack with qemu; i don't know how put the interfaces in different > KVM > vlans.which layer isolation vlans in openvswitch in the same host provides > please (layer 2 or 3)? As has already been mentioned, vlans are layer 2. I'm sure t

Re: [ovs-discuss] openvswitch_mod: disagrees about version of symbol module_layout

2011-05-26 Thread Daniel Philip
Thank you for your quick support. On Thu, May 26, 2011 at 7:43 PM, Ben Pfaff wrote: > You need to find the correct Linux kernel headers that match your > running kernel, and then build against those. If you do that, then > the kernel module will load and work correctly. > > On Thu, May 26, 2011

Re: [ovs-discuss] openvswitch_mod: disagrees about version of symbol module_layout

2011-05-26 Thread Daniel Philip
Thanks. Can you also please tell me what should I be doing further? On Thu, May 26, 2011 at 7:37 PM, Ben Pfaff wrote: > On Thu, May 26, 2011 at 07:32:28PM +0200, Daniel Philip wrote: > > root@openflow:/home/openflow/openvswitch-1.1.0pre2# /sbin/modinfo > > /lib/modules/2.6.32-28-generic/kernel/n

Re: [ovs-discuss] openvswitch_mod: disagrees about version of symbol module_layout

2011-05-26 Thread Daniel Philip
Hi Ben, I tried running /sbin/modinfo on the same file as insmod and I obtained the following: root@openflow:/home/openflow/openvswitch-1.1.0pre2# /sbin/modinfo /lib/modules/2.6.32-28-generic/kernel/net/bridge/bridge.ko filename: /lib/modules/2.6.32-28-generic/kernel/net/bridge/bridge.ko v

Re: [ovs-discuss] openvswitch_mod: disagrees about version of symbol module_layout

2011-05-26 Thread Daniel Philip
Sorry Ben, I don't get you. when I type, $/sbin/modinfo, I don't see anything. I followed the same exact steps: $ wget http://openvswitch.org/releases/openvswitch-1.1.0pre2.tar.gz $ tar zxvf openvswitch-1.1.0pre2.tar.gz $ cd openvswitch-1.1.0pre2 Step2. Compile $ ./boot.sh $ ./configure

Re: [ovs-discuss] openvswitch_mod: disagrees about version of symbol module_layout

2011-05-26 Thread Daniel Philip
Hi Ben, Thanks for replying. I tried % /sbin/modinfo /lib/modules/`uname -r`/kernel/net/bridge/bridge.ko and obtained the following openflow@openflow:~/openvswitch-1.1.0pre2$ /sbin/modinfo /lib/modules/2.6.32-28-generic/kernel/net/bridge/bridge.ko filename: /lib/modules/2.6.32-28-generic/ke

Re: [ovs-discuss] openvswitch_mod: disagrees about version of symbol module_layout

2011-05-26 Thread Ben Pfaff
You need to find the correct Linux kernel headers that match your running kernel, and then build against those. If you do that, then the kernel module will load and work correctly. On Thu, May 26, 2011 at 07:39:23PM +0200, Daniel Philip wrote: > Thanks. Can you also please tell me what should I b

Re: [ovs-discuss] error message with connection to openflow controller

2011-05-26 Thread Ben Pfaff
On Thu, May 26, 2011 at 10:30:46PM +0500, ahmad numan wrote: > I setup OVS on a machine (loaded kernel module, setup ovs-vswitchd and > bridges etc.)and connect to an out-of-band NOX controller using > ovs-openflowd. Controller got connected and switch is working correct > (machines are pinging ea

Re: [ovs-discuss] openvswitch_mod: disagrees about version of symbol module_layout

2011-05-26 Thread Ben Pfaff
On Thu, May 26, 2011 at 07:32:28PM +0200, Daniel Philip wrote: > root@openflow:/home/openflow/openvswitch-1.1.0pre2# /sbin/modinfo > /lib/modules/2.6.32-28-generic/kernel/net/bridge/bridge.ko > filename: /lib/modules/2.6.32-28-generic/kernel/net/bridge/bridge.ko > version:2.3 > licens

[ovs-discuss] error message with connection to openflow controller

2011-05-26 Thread ahmad numan
Hello I setup OVS on a machine (loaded kernel module, setup ovs-vswitchd and bridges etc.)and connect to an out-of-band NOX controller using ovs-openflowd. Controller got connected and switch is working correct (machines are pinging each other and netperf is also working correctly in openflow netw

Re: [ovs-discuss] openvswitch_mod: disagrees about version of symbol module_layout

2011-05-26 Thread Ben Pfaff
I want you to run modinfo on the same file you ran insmod on. On Thu, May 26, 2011 at 06:07:41PM +0200, Daniel Philip wrote: > Sorry Ben, I don't get you. > > when I type, $/sbin/modinfo, I don't see anything. I followed the same > exact steps: > > $ wget http://openvswitch.org/releases/openvsw

Re: [ovs-discuss] openvswitch_mod: disagrees about version of symbol module_layout

2011-05-26 Thread Ben Pfaff
It's the same file you passed to insmod. On Thu, May 26, 2011 at 06:00:08PM +0200, Daniel Philip wrote: > Hi Ben, > > Thanks for replying. I tried % /sbin/modinfo /lib/modules/`uname > -r`/kernel/net/bridge/bridge.ko and obtained the following > > openflow@openflow:~/openvswitch-1.1.0pre2$ /sbin

Re: [ovs-discuss] openvswitch_mod: disagrees about version of symbol module_layout

2011-05-26 Thread Ben Pfaff
On Thu, May 26, 2011 at 05:46:15PM +0200, Daniel Philip wrote: > I get the following message when I try to run openvswitch using "/sbin/insmod > ./datapath/linux-2.6/openvswitch_mod.ko" > > insmod: error inserting './datapath/linux-2.6/openvswitch_mod.ko': -1 > Operation not permitted > > Hence,

[ovs-discuss] openvswitch_mod: disagrees about version of symbol module_layout

2011-05-26 Thread Daniel Philip
Hello, I get the following message when I try to run openvswitch using "/sbin/insmod ./datapath/linux-2.6/openvswitch_mod.ko" insmod: error inserting './datapath/linux-2.6/openvswitch_mod.ko': -1 Operation not permitted Hence, I tried dmesg | test and it shows the following message: openvswitch