summaryrefslogtreecommitdiff
path: root/nova/virt/vmwareapi
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2022-02-23 14:00:09 +0000
committerGerrit Code Review <review@openstack.org>2022-02-23 14:00:09 +0000
commit134c4791ff8233264b7862db692e058f60ae2f80 (patch)
tree1fce20616a57a15f03c5768d9119b4001fdd7835 /nova/virt/vmwareapi
parentcadda1ef04a8a7d8cdd00f442ae4da52c7b053ff (diff)
parent5fa6421945016a3f143e590a16c9c8a47a5674a2 (diff)
downloadnova-134c4791ff8233264b7862db692e058f60ae2f80.tar.gz
Merge "VmWare: Remove unused legacy_nodename regex"
Diffstat (limited to 'nova/virt/vmwareapi')
-rw-r--r--nova/virt/vmwareapi/driver.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/nova/virt/vmwareapi/driver.py b/nova/virt/vmwareapi/driver.py
index cc80ca775e..66ad1df9b1 100644
--- a/nova/virt/vmwareapi/driver.py
+++ b/nova/virt/vmwareapi/driver.py
@@ -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.
#