Re: [ovs-discuss] Distinguish flows based on IP address and port numbers in OvS

2013-01-09 Thread Mathumitha S
Hi, Thank you. But if it does not have IP Ethertype, if I use the commands ovs-ofctl add-flow br0 "in_port=2,priority=0,actions=output:1" ovs-ofctl add-flow br0 "in_port=3,priority=0,actions=output:1" i.e without specifying the IP address, it should work, right? But t

Re: [ovs-discuss] What's the exac t usage of 'LOCAL' port

2013-01-09 Thread 주펑
Title: Samsung Enterprise Portal mySingle Hi Lucas. I'm mainly asking the usage of 'local' port defined by Spec itself. So the discussion of in-band and out-of-band is also not limited to OVS. I see OVS and other projects both have the configuration for in-band and out-of-band. My talk only r

Re: [ovs-discuss] How to specify the OF version in OVS?

2013-01-09 Thread Ben Pfaff
There is no way to configure OVS 1.9 and previous versions to understand OpenFlow 1.1+. On Wed, Jan 09, 2013 at 08:06:31PM +, Jing Ai wrote: > > Thanks Ben! So there is no way to configure OVS 1.9 and previous versions to > understand OpenFlow 1.1+? > > Best,Jing > > > Date: Wed, 9 Jan 201

Re: [ovs-discuss] How to specify the OF version in OVS?

2013-01-09 Thread Jing Ai
Thanks Ben! So there is no way to configure OVS 1.9 and previous versions to understand OpenFlow 1.1+? Best,Jing > Date: Wed, 9 Jan 2013 11:20:15 -0800 > From: b...@nicira.com > To: ai_jing2...@hotmail.com > CC: yamah...@valinux.co.jp; d...@openvswitch.org; b...@openvswitch.org > Subject: Re: [

Re: [ovs-discuss] add a flow to a specific table

2013-01-09 Thread Henkel, Michael
Ok, will take a look into the function and see how it can be ported to python for Pox. -Original Message- From: Ben Pfaff [mailto:b...@nicira.com] Sent: Mittwoch, 9. Januar 2013 20:19 To: Henkel, Michael Cc: Jesse Gross; discuss@openvswitch.org Subject: Re: [ovs-discuss] add a flow to a

Re: [ovs-discuss] How to specify the OF version in OVS?

2013-01-09 Thread Ben Pfaff
On Wed, Jan 09, 2013 at 07:15:26PM +, Jing Ai wrote: > > Thanks for documenting it. It really helps. > I have one follow-up question. Is this command valid only in the > master now? That is correct. > Therefore, does OVS 1.9 and previous version support all OF versions > by default? OVS sup

Re: [ovs-discuss] add a flow to a specific table

2013-01-09 Thread Ben Pfaff
The setting is per OpenFlow connection, so you need to enable it on any given OpenFlow connection before you try to use it. ovs-ofctl enables this extension when it is needed. It uses the function ofputil_make_flow_mod_table_id() to compose the message to enable it. On Wed, Jan 09, 2013 at 07:08

Re: [ovs-discuss] How to specify the OF version in OVS?

2013-01-09 Thread Jing Ai
Thanks for documenting it. It really helps. I have one follow-up question. Is this command valid only in the master now? I just tried OVS 1.9 branch, ovs-vsctl does not understand "protocols". ovs-vsctl list bridge_uuid : 84b55699-399e-4cd4-8838-81270aa8600ccontroller : []

Re: [ovs-discuss] add a flow to a specific table

2013-01-09 Thread Henkel, Michael
Guess I'm missing something. All I do at the moment is changing the of command from 0 to 256 in my Pox application. This triggers openvswitch to detect that the received command contains a table number and the command itself. But as you already pointed out there is a complain about not having th

Re: [ovs-discuss] add a flow to a specific table

2013-01-09 Thread Jesse Gross
The entire extension is sending the command plus encoding the table in the flow mod so I'm not sure that there is a difference. On Wed, Jan 9, 2013 at 9:14 AM, Henkel, Michael wrote: > Thanks Jesse, > > In order to do that need my controller to support the entire Nicira extension > or is there a

Re: [ovs-discuss] Using MacLearning rule along with other rules

2013-01-09 Thread Ben Pfaff
On Wed, Jan 09, 2013 at 09:17:30PM +0500, Ahmed Talha Khan wrote: > On Wed, Jan 9, 2013 at 9:05 PM, Ben Pfaff wrote: > > On Wed, Jan 09, 2013 at 01:54:45PM +0500, Ahmed Talha Khan wrote: > >> What is the best way to use Maclearning rule(NORMAL) along-side other > >> rules. The issue is that once m

Re: [ovs-discuss] add a flow to a specific table

2013-01-09 Thread Henkel, Michael
Thanks Jesse, In order to do that need my controller to support the entire Nicira extension or is there a simple way to send the NXT_FLOW_MOD_TABLE_ID command to the switch? Regards, Michael -Original Message- From: Jesse Gross [mailto:je...@nicira.com] Sent: Mittwoch, 9. Januar 2013

Re: [ovs-discuss] Using MacLearning rule along with other rules

2013-01-09 Thread Ahmed Talha Khan
Please see inline On Wed, Jan 9, 2013 at 9:05 PM, Ben Pfaff wrote: > On Wed, Jan 09, 2013 at 01:54:45PM +0500, Ahmed Talha Khan wrote: >> What is the best way to use Maclearning rule(NORMAL) along-side other >> rules. The issue is that once mac-learning in done, packets will be >> sent to ports b

Re: [ovs-discuss] Using MacLearning rule along with other rules

2013-01-09 Thread Ben Pfaff
On Wed, Jan 09, 2013 at 01:54:45PM +0500, Ahmed Talha Khan wrote: > What is the best way to use Maclearning rule(NORMAL) along-side other > rules. The issue is that once mac-learning in done, packets will be > sent to ports based on their mac-address. But i want to write other > rules also that mat

Re: [ovs-discuss] add a flow to a specific table

2013-01-09 Thread Jesse Gross
On Wed, Jan 9, 2013 at 7:00 AM, Henkel, Michael wrote: > Hi list, > > > > I’m trying to figure out on how to place a flow into a specific table using > a pox extension. I can easily place flows into standard tables using the > following (python) code: > > > > def create_flow_install_msg(ip, table,

Re: [ovs-discuss] Distinguish flows based on IP address and port numbers in OvS

2013-01-09 Thread Jesse Gross
On Wed, Jan 9, 2013 at 1:30 AM, Mathumitha S wrote: > Hi, > I have OpenvSwitch installed in a computer that > has a quad port. eth3, eth4 and eth5 are connected to br0 with respective > open flow port numbers as 3,2,1 and the respective IP addresses of the > machines conn

[ovs-discuss] add a flow to a specific table

2013-01-09 Thread Henkel, Michael
Hi list, I'm trying to figure out on how to place a flow into a specific table using a pox extension. I can easily place flows into standard tables using the following (python) code: def create_flow_install_msg(ip, table, mask, srcMac, dstMac, dstPort): ofm = ofp_flow_mod() ofm_match_dl

Re: [ovs-discuss] What's the exac t usage of 'LOCAL' port

2013-01-09 Thread Lucas Brasilino
Hi! > So next question is, if I'd like to use out-of-band control in my network, > does it mean that 'LOCAL' port is useless at all? I'm curious about this point. When you say that you'd like to use out-of-band control in your network, you mean using OOB control of OVS ? If the answer is positiv

[ovs-discuss] Distinguish flows based on IP address and port numbers in OvS

2013-01-09 Thread Mathumitha S
Hi, I have OpenvSwitch installed in a computer that has a quad port. eth3, eth4 and eth5 are connected to br0 with respective open flow port numbers as 3,2,1 and the respective IP addresses of the machines connected to the ports are 10.6.3.2, 10.6.1.2 and 10.6.2.2 I u

[ovs-discuss] Using MacLearning rule along with other rules

2013-01-09 Thread Ahmed Talha Khan
Hey All, What is the best way to use Maclearning rule(NORMAL) along-side other rules. The issue is that once mac-learning in done, packets will be sent to ports based on their mac-address. But i want to write other rules also that match on L3-L4 parameters that send the traffic to other ports. In