<html>
  <head>
    <meta content="text/html; charset=iso-8859-15"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi Ivan:<br>
          You need to add an entry in /etc/tacker/tacker.conf under
      servicevm:<br>
      <br>
      [servicevm]<br>
      # Specify drivers for mgmt<br>
      mgmt_driver = noop<br>
      mgmt_driver = openwrt<br>
      mgmt_driver = nfvpilot<br>
      <br>
      You will also need to update setup.cfg with an entry point for the
      driver.  This is assuming your object class is called
      DeviceMgmtNFVPilot:<br>
      <br>
      tacker.servicevm.mgmt.drivers =<br>
          noop = tacker.vm.mgmt_drivers.noop:DeviceMgmtNoop<br>
          openwrt =
      tacker.vm.mgmt_drivers.openwrt.openwrt:DeviceMgmtOpenWRT<br>
          nfvpilot =
      tackervm.mgmt_drivers.nfvpilot.nfvpilot:DeviceMgmtNFVPilot<br>
      <br>
      If you are installing into a running devstack, you will need to
      update the tacker.egg-info/entry_points.txt file with the same
      information:<br>
      <br>
      tacker.servicevm.mgmt.drivers =<br>
          noop = tacker.vm.mgmt_drivers.noop:DeviceMgmtNoop<br>
          openwrt =
      tacker.vm.mgmt_drivers.openwrt.openwrt:DeviceMgmtOpenWRT<br>
          nfvpilot =
      tackervm.mgmt_drivers.nfvpilot.nfvpilot:DeviceMgmtNFVPilot<br>
      <br>
      Then restart the tacker server.<br>
      <br>
      Hope this helps<br>
      <br>
      Bob<br>
      <br>
      <br>
      On 10/27/2015 1:42 AM, Ivan Lozgachev wrote:<br>
    </div>
    <blockquote
cite="mid:CAFUhBMX9HaZkPeuxZALbiTu_qGYsM0Lge8zoAoXTDfrX2d-WKA@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=iso-8859-15">
      <div dir="ltr"><span style="font-size:12.8px">Hello everyone!</span>
        <div style="font-size:12.8px"><br>
        </div>
        <div style="font-size:12.8px">Could you please help me implement
          custom management driver?</div>
        <div style="font-size:12.8px"><br>
        </div>
        <div style="font-size:12.8px">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</div>
        <div style="font-size:12.8px"><br>
        </div>
        <div style="font-size:12.8px">
          <div>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</div>
          <div>2015-10-20 10:33:28.409 TRACE tacker.api.v1.resource    
            device_dict, plugin=self, context=context,
            device=device_dict)</div>
          <div>2015-10-20 10:33:28.409 TRACE tacker.api.v1.resource  
            File "/opt/stack/tacker/tacker/vm/plugin.py", line 62, in
            _invoke</div>
          <div>2015-10-20 10:33:28.409 TRACE tacker.api.v1.resource    
            self._mgmt_driver_name(device_dict), method, **kwargs)</div>
          <div>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</div>
          <div>2015-10-20 10:33:28.409 TRACE tacker.api.v1.resource    
            driver = self._drivers[type_]</div>
          <div>2015-10-20 10:33:28.409 TRACE tacker.api.v1.resource
            KeyError: u'nfvpilot'</div>
        </div>
        <div style="font-size:12.8px"><br>
        </div>
        <div style="font-size:12.8px">How do I register my own driver to
          make it visible?</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: <a class="moz-txt-link-abbreviated" href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a>
<a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>