[openstack-dev] Tacker

Ivan Lozgachev lozgachev.ivan at gmail.com
Tue Oct 27 06:42:22 UTC 2015


Hello everyone!

Could you please help me implement custom management driver?

At the moment I created
directory /opt/stack/tacker/tacker/vm/mgmt_drivers/nfvpilot/ and put there
__init__.py and nfvpilot.py driver implementation as it' done for example
for OpenWRT driver. But while creating my VNF I always get error

2015-10-20 10:33:28.409 TRACE tacker.api.v1.resource   File
"/opt/stack/tacker/tacker/vm/plugin.py", line 66, in mgmt_create_pre
2015-10-20 10:33:28.409 TRACE tacker.api.v1.resource     device_dict,
plugin=self, context=context, device=device_dict)
2015-10-20 10:33:28.409 TRACE tacker.api.v1.resource   File
"/opt/stack/tacker/tacker/vm/plugin.py", line 62, in _invoke
2015-10-20 10:33:28.409 TRACE tacker.api.v1.resource
self._mgmt_driver_name(device_dict), method, **kwargs)
2015-10-20 10:33:28.409 TRACE tacker.api.v1.resource   File
"/opt/stack/tacker/tacker/common/driver_manager.py", line 74, in invoke
2015-10-20 10:33:28.409 TRACE tacker.api.v1.resource     driver =
self._drivers[type_]
2015-10-20 10:33:28.409 TRACE tacker.api.v1.resource KeyError: u'nfvpilot'

How do I register my own driver to make it visible?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20151027/3052bdb6/attachment.html>


More information about the OpenStack-dev mailing list