How to determine the number of Open vSwitch ports created on a specific host

less than 1 minute read

This is pretty easy, access to the console of the compute node, either via the primary console itself or via SSH, is required. Just run the following command, it will return the number of ports returned by the ovs-vsctl command.
ovs-vsctl show | grep -c Port


comments powered by Disqus