The ovs-appctl tool is used to query and manage Open vSwitch daemons, including ovs-vswitchd, ovs-controller, and others.
Useful commands include the following:
- ovs-appctl bridge/dump-flows <bridge>: Dumps OpenFlow flows on the specified bridge
- ovs-appctl dpif/dump-flows <bridge>: Dumps data path flows on the specified bridge
- ovs-appctl ofproto/trace <bridge> <flow>: Shows the entire flow field of a given flow, including the matched rule and the action taken
Many of these commands are used by the Neutron Open vSwitch agent to program virtual switches and can often be used by operators to troubleshoot network connectivity issues along the way. Familiarizing yourself with these commands and their output is highly recommended.