On Fri, Jun 01, 2012 at 05:42:11AM +0000, Prabina Pattnaik wrote: > 1. When taking queue-stats for non-existing port following error should > generate from switch > > ovs-ofctl queue-stats tcp:<switch_ip>:6633 25 1 > OFPQOFC_BAD_PORT (port does not exists) with OFPET_QUEUE_OP_FAILED error > code.
Fair enough, I sent out a commit that implements this. You are CCed. > 2. When taking queue-stats for non-existing queue following error should > generate from switch > > ovs-ofctl queue-stats tcp:10.0.1.1:6633 2 4967 > OFPQOFC_BAD_QUEUE (queue does not exists) with OFPET_QUEUE_OP_FAILED error > code. Ditto. > 3. When taking queue-stats for non-existing port and queue both, > following error should generate from switch > > ovs-ofctl queue-stats tcp:<switch_ip>:6633 25 4967 > OFPQOFC_BAD_PORT (port does not exists) with OFPET_QUEUE_OP_FAILED error > code. Ditto. > 4. When executed the command add-flow with enqueue action for > non-existing queue or out of range queue or invalid queue. > > ovs-ofctl add-flow tcp:<switch_ip>:6633 " dl_type=0x0800 action=enqueue:2:23" > > ovs-ofctl add-flow tcp:<switch_ip>:6633 " dl_type=0x0800 action=enqueue:2: > 42949672999" > > Entry should not be added and OFPBAC_BAD_QUEUE with OFPET_BAD_ACTION error > code should be generated by switch. I disagree. This is analogous to the treatment of non-existing ports on the "output" actions, in which case we assume that the port will be created later and allow the action to be used. > 5. When executed the command mod-flow with enqueue action for > non-existing queue or out of range queue or invalid queue > > ovs-ofctl mod-flows tcp:<switch_ip>:6633 " dl_type=0x0800 action=enqueue:2:23" > > ovs-ofctl mod-flows tcp:<switch_ip>:6633 " dl_type=0x0800 action=enqueue:2: > 42949672999" > > Entry should not be modified and OFPBAC_BAD_QUEUE with OFPET_BAD_ACTION error > code should be generated by switch. I disagree again. > ----------------------------------------------------------------------------------------------------------------------- > > The contents of this e-mail and any attachment(s) are confidential and > intended > > for the named recipient(s) only. > > It shall not attach any liability on the originator or NECHCL or its > > affiliates. Any views or opinions presented in > > this email are solely those of the author and may not necessarily reflect the > > opinions of NECHCL or its affiliates. > > Any form of reproduction, dissemination, copying, disclosure, modification, > > distribution and / or publication of > > this message without the prior written consent of the author of this e-mail is > > strictly prohibited. If you have > > received this email in error please delete it and notify the sender > > immediately. . > > ----------------------------------------------------------------------------------------------------------------------- I hope you are aware that you sent this email to a public mailing list. _______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
