Re: [ovs-discuss] OVS openstack documentation error

2012-03-19 Thread Gary Kotton
Hi, The -- has been dropped. I have verified that the following configuration settings work (this was in a multinode Openstack setup using openvswitch): libvirt_vif_driver = nova.virt.libvirt.vif.LibvirtOpenVswitchDriver libvirt_vif_type = ethernet linuxnet_interface_driver = nova.net

[ovs-discuss] OVS openstack documentation error

2012-03-19 Thread Deepak Garg
HI All, I didn't find the details here to be correct: http://openvswitch.org/openstack/documentation/ '--' is no longer used in nova.conf e.g. '--libvirt_vif_type=ethernet' should be replaced by 'libvirt_vif_type=ethernet' Not sure, if '--libvirt_ovs_bridge=br-int' is used anymore but I th

Re: [ovs-discuss] Cannot clone repo

2012-03-19 Thread Deepak Garg
Thanks, You rock ! Deepak On Tue, Mar 20, 2012 at 11:01 AM, Justin Pettit wrote: > As Ben pointed out, the repository was fine, but using HTTP as the underlying > protocol is just really slow.  Our IT staff added support for a faster HTTP > backend (cleverly named git-http-backend).  I've c

Re: [ovs-discuss] Cannot clone repo

2012-03-19 Thread Justin Pettit
As Ben pointed out, the repository was fine, but using HTTP as the underlying protocol is just really slow. Our IT staff added support for a faster HTTP backend (cleverly named git-http-backend). I've confirmed that downloads are now roughly equivalent to using the git protocol and feedback is

Re: [ovs-discuss] Interval /transmission timer for particular MPs in CFM

2012-03-19 Thread edward wilson
Hi, I was using vlan command to give tag or make interface as trunk ports. Ovs-vsctl set port eth0 trunks=2,3 1) Now if both machines physical inetrface are member of different vlan then also CFM works. 2) I am putting my both machines on different subnet by providing different subnet IPs

Re: [ovs-discuss] Interval /transmission timer for particular MPs in CFM

2012-03-19 Thread Ethan Jackson
> I am using OVS 1.2.2 which is requiring cfm_remote_mpid value. > there is no cfm_remote_mpid(s) parameter in this. > > now cfm working between 2 physical machine but when I am giving vlan tag 2 > on first machine physical interface and vlan tag 3 on second machine > physical interface then also C

Re: [ovs-discuss] Multipath routing

2012-03-19 Thread Ben Pfaff
That's one way to do it, sure. Flows are pretty cheap. How big is your N? I wouldn't hesitate to do it this way up to, say, N=100. On Mon, Mar 19, 2012 at 03:50:41PM -0700, Masoud Moshref Javadi wrote: > Nice trick, but does that mean we need n_links-1 rules for each > source on a switch runnin

Re: [ovs-discuss] Multipath routing

2012-03-19 Thread Masoud Moshref Javadi
Nice trick, but does that mean we need n_links-1 rules for each source on a switch running multipath routing? for example suppose a switch is connected to four machines: M0 on port 0,M1 on port 1,M2,M3 I define this rules (loose syntax) ovs-ofctl add-flow br0 action=multipath..,resubmit on table

Re: [ovs-discuss] Multipath routing

2012-03-19 Thread Ben Pfaff
A register, such as NXM_NX_REG0[], is one reasonable choice. You can use "resubmit" along with a special OpenFlow table to map this value to a destination. On Mon, Mar 19, 2012 at 03:29:21PM -0700, Masoud Moshref Javadi wrote: > Hum, thanks I have not read that in detail. > OK, still I have quest

Re: [ovs-discuss] Multipath routing

2012-03-19 Thread Masoud Moshref Javadi
Hum, thanks I have not read that in detail. OK, still I have question: We store the output of multipath algorithm in a field defined there, but which field should we use? how the value of this field relates to the routing to the destination? On 3/19/2012 3:11 PM, Ben Pfaff wrote: Did you read

Re: [ovs-discuss] Multipath routing

2012-03-19 Thread Ben Pfaff
Did you read nicira-ext.h? On Mon, Mar 19, 2012 at 03:08:37PM -0700, Masoud Moshref Javadi wrote: > I just want an example that fills the action part in the following rule: > ovs-ofctl add-flow br0 nw_src=10.0.0.1/32,nw_dst=10.0.0.1/32,action=? > > The manual page says: > >multipath(fields,

Re: [ovs-discuss] Multipath routing

2012-03-19 Thread Masoud Moshref Javadi
I just want an example that fills the action part in the following rule: ovs-ofctl add-flow br0 nw_src=10.0.0.1/32,nw_dst=10.0.0.1/32,action=? The manual page says: multipath(fields, basis, algorithm, n_links, arg, dst[start..end]) Hashes fields using basis as a universal hash parameter,

Re: [ovs-discuss] Multipath routing

2012-03-19 Thread Ben Pfaff
On Sat, Mar 17, 2012 at 10:41:05AM -0700, Masoud Moshref Javadi wrote: > Would anyone give an example for a multipath action in openvswitch? How > does the rule look like in ovs-ofctl command? What are the per-requisites? It's all documented. Which part is troublesomee? Thanks, Ben. ___

Re: [ovs-discuss] Boradcast message for CFM

2012-03-19 Thread Ethan Jackson
Open vSwitch implements a very small subset of the 802.1ag specification. In a more sophisticated implementation, one would be able to set the maintenance domain of the CFM module thus achieving the separation you want. Unfortunately, Open vSwitch chooses it's own maintenance domain which cannot

Re: [ovs-discuss] trunk port understanding

2012-03-19 Thread Ben Pfaff
On Mon, Mar 19, 2012 at 11:30:15AM +0530, edward wilson wrote: > My query was if a port is trunk port then the packet coming out from this > interface should be tagged packet but I am not getting tag in packet. > > Query example:- > 1) one machine have 2 VMs and both interfaces are trunk port with

Re: [ovs-discuss] Interval /transmission timer for particular MPs in CFM

2012-03-19 Thread Ben Pfaff
Oh. Perhaps Ethan can help you. I've forgotten how CFM worked in 1.2. On Mon, Mar 19, 2012 at 01:16:56PM +0530, edward wilson wrote: > Hi, > > I am using OVS 1.2.2 which is requiring cfm_remote_mpid value. > there is no cfm_remote_mpid(s) parameter in this. > > now cfm working between 2 physic

Re: [ovs-discuss] OVS with Infiniband

2012-03-19 Thread Ben Pfaff
You'd have to add support in many places throughout the tree, because OVS assumes Ethernet addressing and packet formats. I'd probably start with lib/flow.[ch]. On Mon, Mar 19, 2012 at 03:46:04PM +0100, Marouen Mechtri wrote: > I would like to add this functionality in OVS. > Can you tell me what

Re: [ovs-discuss] OVS with Infiniband

2012-03-19 Thread Marouen Mechtri
I would like to add this functionality in OVS. Can you tell me what is the difficulty to do this work. Thanks in advance, Marouen Le 19 mars 2012 15:29, Ben Pfaff a écrit : > On Mon, Mar 19, 2012 at 11:26:03AM +0100, Marouen Mechtri wrote: > > I worked on the ethernet interface with OVS and now

Re: [ovs-discuss] OVS with Infiniband

2012-03-19 Thread Ben Pfaff
On Mon, Mar 19, 2012 at 11:26:03AM +0100, Marouen Mechtri wrote: > I worked on the ethernet interface with OVS and now I am interested in > working on infiniband interfaces > I want to know if the OVS Support Infiniband No. > if this is not the case, Are there any plans to support Infiniband in

Re: [ovs-discuss] TLS session timeout and backup controller issue

2012-03-19 Thread Ben Pfaff
You mean, when a controller is not connected, you cannot see any echo request messages? This should not be surprising, because the echo request requires a controller connection. On Mon, Mar 19, 2012 at 07:09:08PM +0530, selen jia wrote: > hi, > I set max_backoff as 10 sec and then after every 10

Re: [ovs-discuss] TLS session timeout and backup controller issue

2012-03-19 Thread selen jia
hi, I set max_backoff as 10 sec and then after every 10 sec i saw controller status as *"connecting*" using *ovs-vsctl list controller* command but i can not see any echo request message being sent from switch to controller ip after max_backoff interval is over. On Thu, Mar 15, 2012 at 10:16 AM,

[ovs-discuss] Boradcast message for CFM

2012-03-19 Thread sonny sonny
G'day All, I have used cfm configure between two ovs in different subnet (used the subnet mask). CFM packets are successful transmitted between two ovs but as per 802.1ag spec the MEPs in different domains do not connect to each other. Same things are happening at different VLAN case also (MEPs a

[ovs-discuss] Best practice trouble-shooting

2012-03-19 Thread Mike Bursell
All - I got some great responses to this last time, but thought I'd solicit more if possible. Please consider responding, particularly if you use OVS in a production environment. -Mike. * One useful piece of work that we're thinking of doing and then sharing with the community is a troub

[ovs-discuss] OVS with Infiniband

2012-03-19 Thread Marouen Mechtri
Hi, I worked on the ethernet interface with OVS and now I am interested in working on infiniband interfaces I want to know if the OVS Support Infiniband if this is not the case, Are there any plans to support Infiniband in OpenvSwitch? Thanks in advance, Marouen

Re: [ovs-discuss] Interval /transmission timer for particular MPs in CFM

2012-03-19 Thread edward wilson
Hi, I am using OVS 1.2.2 which is requiring cfm_remote_mpid value. there is no cfm_remote_mpid(s) parameter in this. now cfm working between 2 physical machine but when I am giving vlan tag 2 on first machine physical interface and vlan tag 3 on second machine physical interface then also CCM pac