Re: [ovs-discuss] Switch MAC address

2013-01-28 Thread Amit Tewari
Hi, Please tell did you saw the error string in log? and what is your interfaces mac address. *Amit Tewari* *Module Lead* Nec Hcl St ** On Mon, Jan 28, 2013 at 10:45 AM, Swapnil Sarda wrote: > Yes, the switches are virtual. And they are created by mininet. > > > On Sun, Jan 27

Re: [ovs-discuss] Switch MAC address

2013-01-27 Thread Amit Tewari
Hi openvswitch uses * pick_datapath_id routine *in *ofproto.c module* to get datapath id from local port, but if there is some error , it generates warning log. please check warning messages in your log . it will give you the possible error string so you can debug the issue. *Amit Tewari

Re: [ovs-discuss] Switch MAC address

2013-01-27 Thread Amit Tewari
yes its true. Swapnil you can share your switch and port configuration. * Amit Tewari* *Module Lead* Nec Hcl St ** On Sun, Jan 27, 2013 at 10:04 PM, Ben Pfaff wrote: > At least on Linux the local port always has a MAC address. > > On Sun, Jan 27, 2013 at 10:02:03PM +0530, Am

Re: [ovs-discuss] Switch MAC address

2013-01-27 Thread Amit Tewari
Hi, Openvswitch uses local port mac address for datapath id. in your case may be local port has no mac address (it may be virtual). that why it is choosing random number as mac address. Please check dis *Amit Tewari* *Module Lead* Nec Hcl St ** On Sun, Jan 27, 2013 at 2:22 PM, Swapnil

Re: [ovs-discuss] ovs-ofctl match NW_DST

2013-01-26 Thread Amit Tewari
understanding normalization concept. *Amit Tewari* *Module Lead* Nec Hcl St ** On Sun, Jan 27, 2013 at 6:49 AM, Ramon Marques wrote: > Hello, > > I am trying to use ovs-ofctl to add a flow that matches the nw_dst field. > I'm running ovs-ofctl add-flow > tcp:127.0.0.1:6634nw_

Re: [ovs-discuss] Changing flow table size?

2013-01-24 Thread Amit Tewari
Hi , In 1.4.3 this setting for flow limitation is not supported. *Flow_table* has been introduced by which we can limit flow table entries size. you can verify from *man ovs-vswitchd.conf.db* in 1.4.3 to see if this Flow_table exists or not. In *1.7.1 Flow_table * do exists. *Amit Tewari

Re: [ovs-discuss] how to print or see vlog mesg

2013-01-22 Thread Amit Tewari
Hi Prashant, Please mail on ovs discussion list only; these days i was replying via phone , thats why replies were only to you. But its good if we share information on opensource so that we share knowledge. *Amit Tewari* *Module Lead* Nec Hcl St ** On Wed, Jan 23, 2013 at 8:33 AM

Re: [ovs-discuss] [PATCH] lib/ofp-errors.h, lib/vconn.c, , lib/ofp-errors.c:: OFPERR_OFPBRC_BAD_VERSION generated from switch when there is version mismatch.

2012-07-29 Thread Amit Tewari
Hi Ben, I will test the patch on master version. I followed the 'CodingStyle' document available with openvswitch-1.6.1 tar for coding guidelines. Please let me know what guidelines are not followed in vconn.c so that I can fix that. Regards Amit Tewari NEC-HCL ST -Origin

Re: [ovs-discuss] [PATCH] lib/ofp-errors.h, lib/vconn.c, , lib/ofp-errors.c:: OFPERR_OFPBRC_BAD_VERSION generated from switch when there is version mismatch.

2012-07-27 Thread Amit Tewari
vconn.c file Sorry for the inconvience for not sending patch in my email message. Regards Amit Tewari NEC-HCL ST -Original Message- From: Ben Pfaff [mailto:b...@nicira.com] Sent: Thursday, July 05, 2012 11:50 AM To: Amit Tewari Cc: 'discuss@openvswitch.org'

Re: [ovs-discuss] [PATCH] lib/ofp-util.c, lib/vconn.c, lib/rconn.c, lib/ofp-errors.c:: OFPERR_OFPBRC_BAD_VERSION generated from switch when there is version mismatch.

2012-07-04 Thread Amit Tewari
_domain_from_version(oh->version); +if (error == OFPERR_OFPBRC_BAD_VERSION) { +domain = ofperr_domain_from_version(OFP10_VERSION); +}

[ovs-discuss] [PATCH] lib/ofp-util.c, lib/vconn.c, lib/rconn.c, lib/ofp-errors.c:: OFPERR_OFPBRC_BAD_VERSION generated from switch when there is version mismatch.

2012-07-04 Thread Amit Tewari
perr_encode_reply(enum ofperr error, const struct ofp_header *oh) uint16_t len = ntohs(oh->length); domain = ofperr_domain_from_version(oh->version); +if (error == OFPERR_OFPBRC_BAD_VERSION) { +domain = ofperr_domain_from_version(OFP10_VERSION); +}

Re: [ovs-discuss] Error handling design change

2012-06-29 Thread Amit Tewari
_ > discuss mailing list > discuss@openvswitch.org > http://openvswitch.org/mailman/listinfo/discuss > -- Amit Tewari Software Engineer Ph::9711009046 ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss

Re: [ovs-discuss] [PATCH] ofproto/ofproto.c, lib/vconn.c:: OFPBRC_BAD_VERSION generated from switch when there is version mismatch.

2012-06-27 Thread Amit Tewari
PORT_REQUEST QUEUE_REQUEST Please let me know if am missing any openflow message. Regards Amit Tewari NEC-HCL ST -Original Message- From: discuss-boun...@openvswitch.org [mailto:discuss-boun...@openvswitch.org] On Behalf Of Ben Pfaff Sent: Friday, May 25, 2012 9:48 PM To: Prabina

[ovs-discuss] ovs code flow

2012-01-10 Thread Amit Tewari
applied on packet. Now since flow is modified and then inserted in datapath, that means next time if same packet arrives it will have no matching flow in datapath and hence again it will go to user space. please let me know if i am missing something in code. Regards, Amit Tewari NEC-HCL ST

[ovs-discuss] open vswitch source code query

2012-01-05 Thread Amit Tewari
Hi, I recently started looking into the open switch code. I am a novice here so your guidance is highly appreciated. I am trying to understand the open Vswitchd code. My query is regarding the execution of actions of a flow on a packet in the 'userspace' According to my understanding i

Re: [ovs-discuss] IS H/w offload supported for KVM in Openvswitch

2012-01-04 Thread Amit Tewari
Hi, Thanks for the input. My Linux machine -kernel version is 2.6.38 and I am using KVM Will H/w offloading feature of openvswitch works in my test environment ? Regards Amit Tewari NHST From: Jesse Gross [mailto:je...@nicira.com] Sent: Wednesday

[ovs-discuss] IS H/w offload supported for KVM in Openvswitch

2012-01-02 Thread Amit Tewari
m using KVM Openvswtch bridge - br0 Tap interface for guest - vnet0 I am running a vitual machine on kvm using openvswitch 1.2.2 IF H/w offload is supported on kvm , then on which interface (i.e. br0 or vnet0 )I need to set offload parameters for my virtual machine. Regards Amit T

[ovs-discuss] libvirt netfilter support on openvswitch

2011-12-21 Thread Amit Tewari
Hi, My test environment Host OS = rhel 6.1 x86_64 OPenvswitch = 1.2.2 Hypervisor = KVM Guest os = rhel 6.1 Libvirt = 0.8.7 I enabled netfilter rules on guest machine by adding following rule in /etc/libvirt/qemu/guest1.xml file ... ...

[ovs-discuss] how to change bonding mode in openvswitch on xenserver 6

2011-12-01 Thread Amit Tewari
the bridge br1 Ovs-vsctl add-bond br1 bond0 eth1 eth2 2. # ovs-appctl bond/list bridge bondtypeslaves br1 bond0 balance-slb eth1, eth2 by default bond type is balance-slb. I want to change bond type to "active-backup". Help me... Regards Amit Te

[ovs-discuss] Openvswitch rpm for xen 3.0.3 on centos 5.5

2011-11-18 Thread Amit Tewari
Hi, Do we have an rpm package for xen 3.0.3 on centos 5.5 ? Currently RPM build steps are provided for citrix xenserver 5.6 fp1, but we want to build openvswitch rpm for xen 3.0.3 on centos 5.5. Any body have an idea of how to build openvswitch rpm package for opensource xen on centos 5.5.