You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Open vSwitch中controller:pause动作执行失败,请求技术支持

Solution to OVS Controller Pause Action Error

Hey there! The issue here is that you've misinterpreted the syntax for the controller action in Open vSwitch. Let's break this down:

What Went Wrong

You tried using controller:pause=True, but OVS doesn't recognize pause as a key that takes a True value. The controller() action's syntax for pausing doesn't follow the key=value format here—instead, pause is a direct, standalone parameter you pass to the controller action.

Correct Command

Use this properly formatted command instead:

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

Why This Works

The controller(pause) action tells the switch to pause sending packet-in messages (and related controller communication) for the matching flow. The official docs mention the controller(key=value) format as a general structure, but specific actions like pause don't require a key-value pair—you just specify the action name inside the parentheses.

If you want to double-check supported actions for controller, you can run ovs-ofctl --help and look for the controller action section to confirm valid parameters.

内容的提问来源于stack exchange,提问作者Daniel

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.27 09:31:50