[ovs-discuss] Problem about QueueGetConfig message

Ben Pfaff blp at nicira.com
Sat Oct 24 20:18:51 UTC 2015


On Fri, Oct 23, 2015 at 11:54:02AM +0900, Minoru TAKAHASHI wrote:
> Hi,
> 
> I send QueueGetConfig message(*OFPP_ANY* was set to port) to OVS(openflow1.3),
> then the following errors occured.
> 
>  Version: 1.3 (0x04)
>  Type: OFPET_QUEUE_OP_FAILED (9)
>  Code: OFPQOFC_BAD_PORT (0)
> 
> Is this a bug?

It works OK here, so you'll have to be more specific.  First add a
bridge and turn on OpenFlow 1.3:

    blp at sigabrt:~/nicira/ovs/tutorial(0)$ ovs-vsctl add-br br0
    blp at sigabrt:~/nicira/ovs/tutorial(0)$ ovs-vsctl set bridge br0 protocols=OpenFlow13

Then request all queue stats:

    blp at sigabrt:~/nicira/ovs/tutorial(0)$ ovs-ofctl -O OpenFlow13 queue-stats br0
    OFPST_QUEUE reply (OF1.3) (xid=0x2): 0 queues

Or with more detailed logging to show that it's using OFPP_ANY:

    blp at sigabrt:~/nicira/ovs/tutorial(0)$ ovs-ofctl -vvconn -O OpenFlow13 queue-stats br0
    2015-10-24T20:17:52Z|00001|vconn|DBG|unix:/home/blp/nicira/ovs/tutorial/sandbox/br0.mgmt: sent (Success): OFPT_HELLO (OF1.3) (xid=0x1):
     version bitmap: 0x04
    2015-10-24T20:17:52Z|00002|vconn|DBG|unix:/home/blp/nicira/ovs/tutorial/sandbox/br0.mgmt: received: OFPT_HELLO (OF1.3) (xid=0x2):
     version bitmap: 0x04
    2015-10-24T20:17:52Z|00003|vconn|DBG|unix:/home/blp/nicira/ovs/tutorial/sandbox/br0.mgmt: negotiated OpenFlow version 0x04 (we support version 0x04, peer supports version 0x04)
    2015-10-24T20:17:52Z|00004|vconn|DBG|unix:/home/blp/nicira/ovs/tutorial/sandbox/br0.mgmt: sent (Success): OFPST_QUEUE request (OF1.3) (xid=0x2):port=ANY queue=ALL
    2015-10-24T20:17:52Z|00005|vconn|DBG|unix:/home/blp/nicira/ovs/tutorial/sandbox/br0.mgmt: received: OFPST_QUEUE reply (OF1.3) (xid=0x2): 0 queues
    OFPST_QUEUE reply (OF1.3) (xid=0x2): 0 queues
    blp at sigabrt:~/nicira/ovs/tutorial(0)$ 



More information about the discuss mailing list