Same way. You can use "ovs-vsctl add-port" and "ovs-vsctl set interface" to add a tunnel port.
On Tue, Jul 10, 2012 at 12:01:09PM +0800, Weifeng Zhang wrote: > How about the tunnel port? > e.g. I created a tunnel. And in the flow table, use a output port to > reference this tunnel. How can I know the port mapping between the port and > the tunnel? > > Another related question is, how to use a controller to create a tunnel? It > seems > There is no "create tunnel" related parameters defined in the openflow spec. > -----邮件原件----- > 发件人: discuss-boun...@openvswitch.org [mailto:discuss-bounces@openvswitch. > org] 代表 Ben Pfaff > 发送时间: 2012年7月10日 11:37 > 收件人: YIMIN CHEN > 抄送: discuss@openvswitch.org ML > 主题: Re: [ovs-discuss] How to find internal port number for tap interfaces > in openvswitch? > > On Tue, Jul 10, 2012 at 11:19:31AM +0800, YIMIN CHEN wrote: > > I googled but didn't find answers to my question. Maybe I didn't > > phrase my question right. So I am asking for help again here. > > > > I am experimenting with adding flow directly to OVS. In the ovs-ofctl > > add-flow command, output action takes a port number. I was told by > > others before (who is no longer reachable) that tap0 corresponding to > > port number 2, tap1 mapped to port number 3, etc. Is there a command > > that can actually show the internal mapping in OVS? That will be very > > helpful for my testing. > > "ovs-ofctl show <bridge>" > _______________________________________________ > discuss mailing list > discuss@openvswitch.org > http://openvswitch.org/mailman/listinfo/discuss > _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss