← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1356224] Re: Syntax error in plugins/vmware/plugins/service.py

 

[Expired for neutron because there has been no activity for 60 days.]

** Changed in: neutron
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1356224

Title:
  Syntax error in plugins/vmware/plugins/service.py

Status in neutron:
  Expired

Bug description:
  plugins.vmware.plugins.service.NsxAdvancedPlugin contains this code:

      def _create_lrouter(self, context, router, nexthop):
          ...
          lswitch = self._create_integration_lswitch(
                  tenant_id, lsname)
         ...
         except Exception:
                     ...
                     self.vcns_driver.delete_lswitch(lswitch('uuid'))        # <--- should be lswitch['uuid']

  
  The result from _create_integration_lswitch is a json (dict) object, not a callable.  That last line should use lswitch['uuid']

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1356224/+subscriptions


References