Monday, September 30, 2013

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

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