[ovs-discuss] OFPBAC_BAD_SET_ARGUMENT received when set field of vlan id
Ben Pfaff
blp at nicira.com
Sat Jun 6 21:08:49 UTC 2015
On Fri, May 29, 2015 at 02:41:33PM +0800, Vinllen Chen wrote:
> Hi, Dear all:
>
> I use the openflow13, ovs2.3 and ryu controller, and i send flow mod
> message from controller to ovs:
>
> "match":
> {
> "in_port" : "2",
> "vlan_vid" : "0"
> },
> "instructions":
> [
> {
> "apply":
> [
> {
> "actions":
> [
> {
> "set_field":
> {
> "vlan_vid":"11"
> }
> }
> ]
> }
> ]
> },
> {
> "goto":
> {
> "table":"mac"
> }
> }
> ]
>
> It receive OFPBAC_BAD_SET_ARGUMENT through wireshark when i send the
> flow_mod message to ovs, but if i cut the apply-action, then i can send the
> flow_mod successfully.
>
> Does anyone kowns the problem, i found the question without solution
> posted before at here[1]
Probably you didn't set the OFPVID_PRESENT bit. The OpenFlow spec says
that's required.
More information about the discuss
mailing list