I think I have some understanding for the relation between n_links and dst[start..end]. dst[start..end] stores the selected link. 2^(end-start+1)-1 >= n_links. At first, I thought n_links represents the ofports, it seems not. What is the relation between n_links and ofports. Eg, I want ofports 2, 5, 6, 8, 9 as the multipath links. How I should define the n_links, and make multipath only select a ofport from 2, 5, 6, 8 and 9? I check the bundle feature. It has the parameter slave_type, slaves:[s1, s2, ...]. We can define slave_type is ofport, and define the ofports we want 2, 5, 6, 8, 9. However, how multipath works. How should we define this?
At 2014-11-22 06:50:31, "Ben Pfaff" <[email protected]> wrote: >On Fri, Nov 21, 2014 at 10:28:02AM +0800, ???? wrote: >> I have two physical machines A and B. Each machine I want to create >> a tap device and vxlan device, configure the flow entries according >> my requirement. I want to successfully ping the tap device on >> machine B from the tap device on machine A. >> >> >> However, if I use tunctl -t tap0 to create the tap device and then >> attach to the openvswitch. When I check the tap device type, it is >> empty. From the man, the empty means system type. Usually the >> physical eth has the system type. When I use ovs-vsctl add-port >> bridge-name device-name -- set Interface device-name type=internal >> to create the device and attach, it works. From google, internal >> type actually is the tap device. This is my confused question: why I >> directly use tunctl to create the tap device and attach to the >> bridge, my tap device will directly drop the packets. > >Internal devices are not tap devices, unless you are using the >userspace switch (datapath_type=netdev), so they do not behave >identically. > >> I want to configure the multipath feature using ovs-ofctl add-flow >> command line. However, I do not clearly know how to do that. Can you >> give me some advice? Where I can check and find how to use it? I >> have checked the man ovs-ofctl and man 5 ovs-vswitchd.conf.db and >> did not find useful information. > >What information do you want? It sounds like you have already read >the documentation.
_______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
