How many ports are there (can be created) in an OVS switch?

asked 2019-07-25 01:23:56 -0500

gsm.asad gravatar image

Like a physical switch or router which has a maximum limitation of 24 or 48 ports. Is there any maximum limit for the OVS switches like br-int, br-tun, br-ex used in openstack?

edit retag flag offensive close merge delete

Comments

If there is a limit it must be huge. I am running this command to check:

for i in {1..10000}
do 
  sudo ip link add dev dummy$i type dummy
  sudo ovs-vsctl add-port dummybridge dummy$i
  i=$((i+1))
done

I am currently at over 650 ports. Still running.

Bernd Bausch gravatar imageBernd Bausch ( 2019-07-25 02:42:05 -0500 )edit

Now, do you have a specific problem that requires you to know the answer to this question?

Bernd Bausch gravatar imageBernd Bausch ( 2019-07-25 02:47:04 -0500 )edit

Thanks Bernd No, this is out of curiosity as I was not able to find the answer in any of the OpenStack documentation

gsm.asad gravatar imagegsm.asad ( 2019-07-25 07:16:58 -0500 )edit