am unable to create a host only network interface with the python API am getting this error below
OS: Ubntu14
Virtualbox: version 4.3.26_Ubuntur98988
API used : pyhton pyvbox API
Code: Select all
>>> from virtualbox.library import IHost
>>> host = IHost()
>>> host.create_host_only_network_interface()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/virtualbox/library_ext/host.py", line 11, in create_host_only_network_interface
progress, host_interface = self._call("createHostOnlyNetworkInterface")
File "/usr/local/lib/python2.7/dist-packages/virtualbox/library_base.py", line 171, in _call
method = self._search_attr(name)
File "/usr/local/lib/python2.7/dist-packages/virtualbox/library_base.py", line 152, in _search_attr
raise AttributeError("Failed to find attribute %s in %s" % (name, self))
AttributeError: Failed to find attribute createHostOnlyNetworkInterface in <virtualbox.library_ext.host.IHost object at 0x7f513bb6c850>
>>> help(host)
Thanks lot