Re: [ovs-discuss] Queue configuration

2013-03-05 Thread Geetha S
Thank you Ben, I did try enqueue action of the OpenFlow and used the ofp_queue_stats_request. I got this in the reply. DEBUG:misc.of_tutorial:QueueStatsReceived from 00-00-00-00-00-01: [{'tx_bytes': 42, 'queue_id': 0, 'tx_packets': 1, 'port_no': 1, 'tx_errors': 0}] Now i am looking for some more

Re: [ovs-discuss] Why the flow entry with dl_vlan doesn't work in fake bridge when the VMs are in the same host?

2013-03-05 Thread Ben Pfaff
On Wed, Mar 06, 2013 at 12:16:41PM +0800, Kris zhang wrote: > Thanks Ben, But i didn't use openflow controller, i just use ovs-ofctl > add-flow command. I do not think you read the answer. Please read it again. "But, if you set up OpenFlow flows on your own, through a controller or using ovs-ofc

Re: [ovs-discuss] Queue configuration

2013-03-05 Thread Ben Pfaff
ofp_stats_request will return stats of queues in the OVS database. On Tue, Mar 05, 2013 at 03:20:52PM -0800, Geetha S wrote: > Hi Ben, > > I want to get the "stats" of queues created in the OVS-database in the POX > controller. > > Is it possible with the *ofp_stats_request* mentioned in the PO

Re: [ovs-discuss] Configuring fallback controller in OVS (as per OF 1.0.0 spec section 4.3)

2013-03-05 Thread Ben Pfaff
On Tue, Mar 05, 2013 at 03:01:37PM -0800, Bob Lantz wrote: > I think the best option for me would be to do what I believe the > reference implementation and NEC's switch do: by default, when you > set multiple controllers, the switch connects to the first > controller and uses the other controllers

Re: [ovs-discuss] Queue configuration

2013-03-05 Thread Geetha S
Hi Ben, I want to get the "stats" of queues created in the OVS-database in the POX controller. Is it possible with the *ofp_stats_request* mentioned in the POX wiki? Or do i need to use "tc" to add queues. Regards, Geetha On Tue, Mar 5, 2013 at 1:01 PM, Ben Pfaff wrote: > I don't know of

Re: [ovs-discuss] Configuring fallback controller in OVS (as per OF 1.0.0 spec section 4.3)

2013-03-05 Thread Bob Lantz
I think the best option for me would be to do what I believe the reference implementation and NEC's switch do: by default, when you set multiple controllers, the switch connects to the first controller and uses the other controllers in the list as backup controllers, trying them in round-robin o

Re: [ovs-discuss] Tunneling in Openstack Quantum

2013-03-05 Thread Martin Mailand
Hi Aaron, thanks for you quick response. So the whole L2 separation of the tenants is done via flow configuration. And the gre tunnel are merely there to connect the br-tun on the compute nodes with the br-tun on the L2 Node? Unfortunately I do not have a running Quantum installation, yet, there

Re: [ovs-discuss] Tunneling in Openstack Quantum

2013-03-05 Thread Aaron Rosen
Hi Response inline: On Tue, Mar 5, 2013 at 2:00 PM, Martin Mailand wrote: > Hi List, > > I hope this is ok to ask here. I looked through the Code of Quantum and > I don't understand how the gre tunneling is working. > I have two bridges br-int and br-tun, both are connected via a patch > port. B

[ovs-discuss] Tunneling in Openstack Quantum

2013-03-05 Thread Martin Mailand
Hi List, I hope this is ok to ask here. I looked through the Code of Quantum and I don't understand how the gre tunneling is working. I have two bridges br-int and br-tun, both are connected via a patch port. But on the br-tun I do have several tunnel, for each tenant one? How do I direct the traf

Re: [ovs-discuss] Queue configuration

2013-03-05 Thread Ben Pfaff
I don't know of any function by that name. I think you have a vocabulary problem. What do you want to do to the queues? On Tue, Mar 05, 2013 at 12:03:55PM -0800, Geetha S wrote: > Sure Ben, but my question was how to access the queues of the OVS DB from > the POX controller. I happen to look at

Re: [ovs-discuss] Queue configuration

2013-03-05 Thread Geetha S
Sure Ben, but my question was how to access the queues of the OVS DB from the POX controller. I happen to look at the OpenFlow switch spec and found ofp_queue_get_config_request. Even i am not sure if that function is relevant and i can use it. Thanks, Geetha On Tue, Mar 5, 2013 at 8:29 AM, Ben

Re: [ovs-discuss] Queue configuration

2013-03-05 Thread Ben Pfaff
On Mon, Mar 04, 2013 at 02:17:11PM -0800, Geetha S wrote: > Can you please tell me whether ofp_queue_get_config_request() works and how > i should use it? ofp_queue_get_config_request() appears to be part of NOX. The OVS mailing lists are not a good place to ask questions about NOX. _

Re: [ovs-discuss] skb_push

2013-03-05 Thread Jesse Gross
On Tue, Mar 5, 2013 at 5:43 AM, Igor Ryzhov wrote: > Hello. > > skb_push function extends the used data area of the buffer at the buffer > start. > > It substracts skb->data by len - this is right, because we extends data > space at the start. But why this function adds skb->len by len, not > skb-

Re: [ovs-discuss] Why the flow entry with dl_vlan doesn't work in fake bridge when the VMs are in the same host?

2013-03-05 Thread Ben Pfaff
On Tue, Mar 05, 2013 at 08:21:15PM +0800, Kris zhang wrote: > First I create a bridge br0, and then i create a fake bridge (tag=100) on > br0, next i create two VMs and connect to the fake bridge br100. last i add > a flow entry into the br0: > > ovs-ofctl > add-flow priority=1000,tcp,dl_vlan=100,

[ovs-discuss] queue_gso_packets

2013-03-05 Thread Igor Ryzhov
Hello. I read that GSO technology is used to reduce CPU overhead. So NIC recieves big packet from CPU and splits them into small packets. Or, conversely, NIC receives a set of small packets and then combines it into one large packet to process on CPU. But in queue_gso_packets function we receives

[ovs-discuss] skb_push

2013-03-05 Thread Igor Ryzhov
Hello. skb_push function extends the used data area of the buffer at the buffer start. It substracts skb->data by len - this is right, because we extends data space at the start. But why this function adds skb->len by len, not skb->data_len? I think that total size of our buffer is the same - he

Re: [ovs-discuss] Queue configuration

2013-03-05 Thread Geetha S
Hi, I have created some queues in mininet 2.0 using OVS-VSCTL and want to get these statistics into my controller. I am using POX. sudo ovs-vsctl set Port s1-eth2 qos=@newqos -- --id=@newqos create QoS type=linux-fifo other-config:max-rate=10 queues=0=@q0,1=@q1 -- --id=@q0 create Queue ot