[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openvswitch-discuss
Subject:    [ovs-discuss] How to use the command of ovs-ofctl to set"tun_src" or "tun_dst" ?
From:       blp () nicira ! com (Ben Pfaff)
Date:       2013-12-19 16:34:45
Message-ID: 20131219163445.GA12514 () nicira ! com
[Download RAW message or body]

Please don't drop the list.

Your command works fine here:

    blp at blp:~/nicira/ovs/tutorial(0)$ ovs-vsctl add-br br1
    blp at blp:~/nicira/ovs/tutorial(0)$ ovs-ofctl add-flow br1 \
in_port=1,tun_src=192.168.1.10,tun_dst=192.168.2.10,actions=normal  blp at \
blp:~/nicira/ovs/tutorial(0)$ ovs-ofctl dump-flows br1  NXST_FLOW reply (xid=0x4):
     cookie=0x0, duration=6.61s, table=0, n_packets=0, n_bytes=0, idle_age=6, \
                priority=0 actions=NORMAL
     cookie=0x0, duration=5.544s, table=0, n_packets=0, n_bytes=0, idle_age=5, \
tun_src=192.168.1.10,tun_dst=192.168.2.10,in_port=1 actions=NORMAL  blp at \
blp:~/nicira/ovs/tutorial(0)$ 

What version of OVS are you using?

On Thu, Dec 19, 2013 at 07:17:09PM +0800, ?????j wrote:
> Such as follows:   ovs-ofctl add-flow br1 \
> in_port=1,tun_src=192.168.1.10,tun_dst=192.168.2.10,actions=normal. What's wrong \
> with that ? Thank you !
> 
> 
> ------------------ Original ------------------
> From:  "Ben Pfaff";<blp at nicira.com>;
> Date:  Thu, Dec 19, 2013 03:54 PM
> To:  "?????j"<303429515 at qq.com>; 
> Cc:  "discuss"<discuss at openvswitch.org>; 
> Subject:  Re: [ovs-discuss] How to use the command of ovs-ofctl to set"tun_src" or \
> "tun_dst" ? 
> 
> 
> On Thu, Dec 19, 2013 at 02:43:37PM +0800, ?????j wrote:
> > I want to use the command of ovs-ofctl to add an open flow rule to one port. But \
> > when I set tun_src, there is an error "none of the usable flow formats(none) is \
> > among the allowed flow formats(OpenFlow10,NXM)"
> 
> What command did you run?
> .


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic