yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #19034
[Bug 1356224] [NEW] Syntax error in plugins/vmware/plugins/service.py
Public bug reported:
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']
** Affects: neutron
Importance: Undecided
Assignee: Angus Lees (gus)
Status: In Progress
--
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 OpenStack Neutron (virtual network service):
In Progress
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
Follow ups
References