[ovs-discuss] Problem about QueueGetConfig message

Minoru TAKAHASHI takahashi.minoru7 at gmail.com
Mon Oct 26 04:21:55 UTC 2015


Hi Ben,

Thank you for your reply!

On 2015年10月25日 05:18, Ben Pfaff wrote:
> 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:

Yes, I know "queue stats request" works fine now.
However, I was talking about "queue get config request" in previous mail.

thanks,

> 
>     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