Re: [ovs-discuss] [openflow-discuss] sflow ifindex mapping to ofport

2013-07-19 Thread Ben Pfaff
On Fri, Jul 19, 2013 at 02:09:15PM -0500, Salman Malik wrote: > I am looking at sflow flow counters on collectors and each counter > is associated with an ifindex. To interpret them correctly I need to > find the ofport to which this ifindex corresponds. Is there a > ovs-vsctl command to do that (I

Re: [ovs-discuss] GRE Tunnel Creation with JSON RPC

2013-07-19 Thread Gurucharan Shetty
One way to understand the correct jsonrpc messages (or reverse engineer) is to run a ovs-vsctl command with the "-v" option. ex: ovs-vsctl -v add-br br1 On Wed, Jul 17, 2013 at 6:16 PM, Dmita Levy wrote: > Hello, > > I am Undergraduate student doing Open vSwitch and OpenFlow research so > ple

Re: [ovs-discuss] GRE Tunnel Creation with JSON RPC

2013-07-19 Thread Dmita Levy
Simple JSON Transact Request for anyone interested. Should be able to make the name and uuid feels variable and reuse I think : { "method":"transact", "id":"001", "params":[ "Open_vSwitch", { "op":"insert", "table":"Interface", "row":{ "n

Re: [ovs-discuss] GRE Tunnel Creation with JSON RPC

2013-07-19 Thread Dmita Levy
Thank you for all the help, I was able to create a tunnel on my test host. My assumption is that for true Dynamic GRE creation via the OF Controller attached to our test bed is that I will need: 1. A way to extract UUID info from the bridges that will be changed ( to insert into the request). 2. A

Re: [ovs-discuss] OVSDB Example

2013-07-19 Thread Ben Pfaff
On Fri, Jul 19, 2013 at 01:23:25PM -0400, Dmita Levy wrote: > What do you use to create your JSON strings in the example below? I didn't write those. ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss

[ovs-discuss] OVSDB Example

2013-07-19 Thread Dmita Levy
Ben, What do you use to create your JSON strings in the example below? https://mailman.stanford.edu/pipermail/openflow-discuss/2010-February/000744.html -DMita ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/dis

[ovs-discuss] Specifying Openflow port numbers

2013-07-19 Thread Benjamin Lunsky
Hi there, I would like to find out if it's possible to specify the OpenFlow Port number for a port being added to a bridge (datapath_type=netdev). I am needing to pass the OF port number onto my hardware which I'm implementing under port_get_stats function in ofproto_dpif.c, so that I can fetch

Re: [ovs-discuss] Specifying Openflow port numbers

2013-07-19 Thread Ben Pfaff
Yes. Use ofport_request. It's documented. On Jul 19, 2013 8:10 AM, "Benjamin Lunsky" wrote: > Hi there, > > I would like to find out if it's possible to specify the OpenFlow Port > number for a port being added to a bridge (datapath_type=netdev). > I am needing to pass the OF port number onto my

Re: [ovs-discuss] Avoiding loops and floods

2013-07-19 Thread Volkan YAZICI
You need to enable STP for s1, s2, ..., s5. That is,* for i in $(seq 5); do sudo ovs-vsctl --no-wait set bridge s$i stp_enable=true; done* On Fri, Jul 19, 2013 at 10:17 AM, Josep Batallé wrote: > Hi, > I don't understand the response. I need to create a bridge between the > switches? and this b

Re: [ovs-discuss] QoS (ingress_policing limitation ) is not working under VLAN+Bridge combination

2013-07-19 Thread ashish yadav
Hi, Case is different than previously reported by Qiu Yu. In my case , I am taping the Vlan first & then applying ingress policing later. The system look like this: [root@ash]# ovs-vsctl show 54c73046-ccbd-4f8c-8226-2c724fd34a23 Bridge "ovsbr0" Port "ovsbr0" Interface "ov

Re: [ovs-discuss] Avoiding loops and floods

2013-07-19 Thread Josep Batallé
Hi, I don't understand the response. I need to create a bridge between the switches? and this bridge with the STP enabled? How I can do it? When I create a network topology with Mininet I see that the "ovs-vsctl show" show that the bridges are the switches: Bridge "s5" Controller "tcp:127