Re: [ovs-dev] Fwd: Openflow port numbers

2015-11-16 Thread Sree Vidya S D
. Instead if I was able to embed the datapath port numbers as such from the controller then it would have been fine! On Mon, Nov 16, 2015 at 12:44 PM, Justin Pettit wrote: > > > On Nov 15, 2015, at 10:51 PM, Sree Vidya S D wrote: > > > > Hey Justin, > > > > Th

Re: [ovs-dev] Fwd: Openflow port numbers

2015-11-15 Thread Sree Vidya S D
way to identify the datapath port number from this function? eg swith s1 eth1 ---datapath port=68 if I have the information 1 then from this function can I map it to 68?? On Mon, Nov 16, 2015 at 11:52 AM, Justin Pettit wrote: > > > On Nov 15, 2015, at 9:35 PM, Sree Vidya S D wrote: &g

[ovs-dev] Fwd: Openflow port numbers

2015-11-15 Thread Sree Vidya S D
Hey, Snap of *sudo ovs-dpctl show *output for a random topology system@ovs-system: lookups: hit:2069 missed:2861 lost:0 flows: 0 masks: hit:7849 total:1 hit/pkt:1.59 port 0: ovs-system (internal) port 1: s38 (internal) port 2: s38-eth1 port 3: s38-eth2 port 4: s38-eth3 port 5: s45 (internal) por

Re: [ovs-dev] Editing Ip headers in datapath.c

2015-04-05 Thread Sree Vidya S D
, 2015 at 11:41 PM, Jarno Rajahalme wrote: > > On Mar 30, 2015, at 10:19 PM, Sree Vidya S D wrote: > > I am trying to edit the Ip source and destination address in > > void ovs_dp_process_received_packet(struct vport *p, struct sk_buff *skb) > > in datapath.c file. I am

[ovs-dev] Editing Ip headers in datapath.c

2015-03-30 Thread Sree Vidya S D
I am trying to edit the Ip source and destination address in void ovs_dp_process_received_packet(struct vport *p, struct sk_buff *skb) in datapath.c file. I am able to edit mac headers successfully using memcpy(eth_hdr(skb), str, 2) // str contains my target data I tried a similar approach wit

Re: [ovs-dev] HOST to SWITCH packets

2015-01-27 Thread Sree Vidya S D
: > I don't understand why you want to do this by intercepting output > ports. Define a new action to do what you want, then use that action. > > On Mon, Jan 26, 2015 at 11:54:48AM +0530, Sree Vidya S D wrote: > > Hi Ben, > > > > thanks for responding! &

Re: [ovs-dev] HOST to SWITCH packets

2015-01-25 Thread Sree Vidya S D
processing On Mon, Jan 26, 2015 at 3:49 AM, Ben Pfaff wrote: > What's your actual goal? > > On Mon, Jan 26, 2015 at 12:50:16AM +0530, Sree Vidya S D wrote: > > Thanks a lot Ben! > > > > But I need little more help over here. > > > > How do I get my

Re: [ovs-dev] HOST to SWITCH packets

2015-01-25 Thread Sree Vidya S D
Thanks a lot Ben! But I need little more help over here. How do I get my modified packet ? Is that possible? On Mon, Jan 26, 2015 at 12:45 AM, Ben Pfaff wrote: > On Sun, Jan 25, 2015 at 11:33:15PM +0530, Sree Vidya S D wrote: > > In this particular function body theres a call to

Re: [ovs-dev] HOST to SWITCH packets

2015-01-25 Thread Sree Vidya S D
skb contain the modified packet?? On Sat, Jan 24, 2015 at 3:29 AM, Ben Pfaff wrote: > On Fri, Jan 23, 2015 at 01:47:40PM +0530, Sree Vidya S D wrote: > > I am working with the > > > > "void ovs_dp_process_received_packet(struct vport *p, struct sk_buff > *skb

[ovs-dev] HOST to SWITCH packets

2015-01-23 Thread Sree Vidya S D
Hello I am working with the "void ovs_dp_process_received_packet(struct vport *p, struct sk_buff *skb)" function in datapath.c If I am right this function deals with packets that is send from a switch to another switch, does it deal with packets that are passed from a host to a switch? My sce

Re: [ovs-dev] applying flow rules to packets

2015-01-15 Thread Sree Vidya S D
Thanx a lot for the help ! On Thu, Jan 15, 2015 at 2:32 AM, Jarno Rajahalme wrote: > > On Jan 14, 2015, at 1:42 AM, Sree Vidya S D wrote: > > > Using floodlight controller I am sending some actions to the openvswitch > > > > Can anybody help me in identifying the f

[ovs-dev] applying flow rules to packets

2015-01-14 Thread Sree Vidya S D
Using floodlight controller I am sending some actions to the openvswitch Can anybody help me in identifying the function where these actions are applied to the incoming packets on a switch ? ___ dev mailing list dev@openvswitch.org http://openvswitch.org

[ovs-dev] Port matching

2014-10-28 Thread Sree Vidya S D
ovs-dpctl show for linear topology with 4 nodes 1-(1)s1(2)---(2)s2(3)---(2)s3(3)(2)s4(1)---h4 | | (1) (1) h2 h3 port 0: ovs-system (internal) port 1: s1 (inte

Re: [ovs-dev] packet_out with modified mac headers

2014-10-27 Thread Sree Vidya S D
thanx for clearing that ! On Mon, Oct 27, 2014 at 9:24 PM, Ben Pfaff wrote: > Please don't drop the list. > > handle_packet_out(). > > On Mon, Oct 27, 2014 at 11:13:01AM +0530, Sree Vidya S D wrote: > > So which function should I monitor for handling packet_out me

[ovs-dev] packet_out with modified mac headers

2014-10-26 Thread Sree Vidya S D
h1-(1)s1(2)---(2)s2(3)---(2)s3(3)(2)s4(1)---h4 | | (1) (1) h2 h3 With this topology when I do h1 ping h4 the ICMP packet from h1 goes to switch s1. s1 is unaware