How to fetch the ESXi-ILO version
Tried using pyVmomi as shown below but could not able to fetch the version.
from pyVmomi import vim from pyVim.connect import SmartConnect Disconnect
si = SmartConnect(host='host_ip',user='usr',pwd='password')
hostid=si.content.rootFolder.childEntity[0].hostFolder.childEntity[0].host[0]
sid = hostid.AcquireCimServicesTicket().sessionId
from pywbem import WBEMConnection
cimom_conn = WBEMConnection(https://host_ip , (sid, sid))
a = cimom_conn.EnumerateInstances("开发者_JAVA百科OMC_IPMIIPProtocolEndpoint")
精彩评论