Skip to content

Commit

Permalink
fix for neutron-cli "lbaas-listener-create" failure
Browse files Browse the repository at this point in the history
neutron-plugin(loadbalancer) code uses the "listener"
as the resource_type rather than using "loadbalancer-listener"
as the resource_type which causes the issue.

Corrected the resource_type.

Change-Id: I94ece732a9a11f441f7d947d2a204720bf256537
Closes-bug: 1628607
  • Loading branch information
ymariappan committed Sep 28, 2016
1 parent da71021 commit 233ceaf
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -119,8 +119,8 @@ def create(self, context, listener):
lb = None

obj_uuid = uuidutils.generate_uuid()
name = self._get_resource_name('listener', project,
l['name'], obj_uuid)
name = self._get_resource_name('loadbalancer-listener',
project, l['name'], obj_uuid)
id_perms = IdPermsType(enable=True, description=l['description'])
ll = LoadbalancerListener(name, project, id_perms=id_perms,
display_name=l['name'])
Expand Down

0 comments on commit 233ceaf

Please sign in to comment.