Merge "VmWare: Remove unused legacy_nodename regex"

This commit is contained in:
Zuul 2022-02-23 14:00:09 +00:00 committed by Gerrit Code Review
commit 134c4791ff
1 changed files with 0 additions and 7 deletions

View File

@ -88,13 +88,6 @@ class VMwareVCDriver(driver.ComputeDriver):
"supports_image_type_ploop": False,
}
# Legacy nodename is of the form: <mo id>(<cluster name>)
# e.g. domain-26(TestCluster)
# We assume <mo id> consists of alphanumeric, _ and -.
# We assume cluster name is everything between the first ( and the last ).
# We pull out <mo id> for re-use.
LEGACY_NODENAME = re.compile(r'([\w-]+)\(.+\)')
# The vCenter driver includes API that acts on ESX hosts or groups
# of ESX hosts in clusters or non-cluster logical-groupings.
#