changes made to get the VMware tools status.
@@ -4495,10 +4495,15 @@ class DimensionDataNodeDriver(NodeDriver):
'operatingSystem', TYPES_URN))
# Version 2.4 or later
else:
- vmtools_elm = fixxpath('guest/vmTools', TYPES_URN)
+ #vmtools_elm = fixxpath('guest/vmTools', TYPES_URN)
+ vmtools_elm = element.find(fixxpath('guest/vmTools', TYPES_URN))
if vmtools_elm is not None:
vmware_tools = self._to_vmware_tools(vmtools_elm)
-
+ else:
+ vmware_tools = DimensionDataServerVMWareTools(
+ status=None,
+ version_status=None,
+ api_version=None)
operation_system = element.find(fixxpath(
'guest/operatingSystem', TYPES_URN))
