[ovs-discuss] Can we set the priority queues in the port connecting to controller?
Ben Pfaff
blp at nicira.com
Mon Jul 20 05:01:12 UTC 2015
[adding back ovs-discuss]
I do believe that your computer has physical ports. Your enqueue action
isn't using any of them, though, and OpenFlow 1.0 forbids that, with the
wording that I quoted. To make your action acceptable, enqueue to a
physical port.
On Mon, Jul 20, 2015 at 10:42:34AM +0800, Huhui wrote:
>
>
> In fact,I used a computer with five NICs,and controller connected to OVS with one NIC named eh0 in in-band mode.That means I had a valid physical port.
> In this case, can I set the priority queues in the port connecting to controller?
> If can,how can I get information of the port?
> Thanks for your help!
>
>
>
>
>
> At 2015-07-20 01:08:22, "Ben Pfaff" <blp at nicira.com> wrote:
> >On Sun, Jul 19, 2015 at 11:07:01AM +0800, Huhui wrote:
> >> In my example I add two flow-table in the event of ConnectionUp.
> >> The action of flow-table like this:of.ofp_action_enqueue(port=of.OFPP_CONTROLLER,queue_id=0).
> >> When OVS connectted,OpenFlow said that "bad action',and priority queues did work.
> >
> >OpenFlow 1.0 says that the port in an enqueue action "Should refer to a
> >valid physical port (i.e. < OFPP_MAX) or OFPP_IN_PORT." OFPP_CONTROLLER
> >isn't any of those, thus OVS rejects it.
More information about the discuss
mailing list