Updated regex for identifying switchport name

openstack-cluster-installer-agent was failing to identify the swithport names when deploying new servers in our environment following the change made in 75308dd1 . The regex used is looking for a port description or ID beginning with 'swp' or 'en'. On our switches (Dell S4148T-ON and Dell N3248TE-ON running Dell OS10 and OS6 respectively) the interface names begin with 'ethernet' and 'Gi'. The commit adds those prefixes to the regex.

Associated BTS https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1068752

Edited by Jim Scadden

Merge request reports

Loading