2
votes

I am trying to instruct the switch to pause as described in http://www.openvswitch.org/support/dist-docs/ovs-ofctl.8.txt.

It is said that the action should be controller(key=value), I assume that pause is the key and True is the value. I tried issuing, for example, the following command: (switch name c2)

sudo ovs-ofctl add-flow c2 dl_dst=00:00:00:00:00:01,actions=controller:pause=True

but it does not work, writing that pause is unrecognized key.

1
What version of Open vSwitch are you using (ovs-ofctl --version)? - pchaigno
ovs-ofctl (Open vSwitch) 2.5.4 OpenFlow versions 0x1:0x4 - Daniel

1 Answers

1
votes

It looks like support for the pause controller action was added in the version 2.6.0 of Open vSwitch. Otherwise, the following syntax should work:

sudo ovs-ofctl add-flow c2 "dl_dst=00:00:00:00:00:01,actions=controller(pause)"