<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt;color:#000000;"><DIV>I'm trying to get a feel of the python binding and the esx driver</DIV>
<DIV> </DIV>
<DIV>Trying to get the number of interfaces hit(as anticipated) a non-support wall:</DIV>
<DIV> </DIV>
<DIV>Traceback (most recent call last):<BR>  File "test.py", line 362, in ?<BR>    vmm.refresh()<BR>  File "test.py", line 189, in refresh<BR>    print self.conn.numOfDefinedInterfaces()<BR>  File "/usr/lib/python2.4/site-packages/libvirt.py", line 1347, in numOfDefinedInterfaces<BR>    if ret == -1: raise libvirtError ('virConnectNumOfDefinedInterfaces() failed', conn=self)<BR>libvirt.libvirtError: this function is not supported by the hypervisor: virConnectNumOfDefinedInterfaces</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>I'm wondering how to fix it</DIV>
<DIV> </DIV>
<DIV>can I register the esx driver as the interface driver?</DIV>
<DIV>so I can use the ESX web-services to handle all the interface issues that normally(?) netcf would handle?</DIV>
<DIV> </DIV>
<DIV>if yes - how is it done?</DIV>
<DIV> </DIV>
<DIV>I thought that configure --without-netcf would do the trick(it didn't-I think)</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Thanks</DIV>
<DIV> </DIV>
<DIV>Shahar</DIV></div><br>



      </body></html>