Skip to content

Commit

Permalink
Fix stable/grizzly gating for Neutron (aka Quantum)
Browse files Browse the repository at this point in the history
The quantum-debug commands would result in:
'ClientManager' object has no attribute 'quantum'

Fixes bug: #1234550

Change-Id: I7f5551c724cfe6d75855eee3433b66bb5ce9b1a4
  • Loading branch information
gkotton committed Oct 6, 2013
1 parent b106160 commit 1dd88b9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions neutronclient/common/clientmanager.py
Expand Up @@ -46,6 +46,9 @@ class ClientManager(object):
"""Manages access to API clients, including authentication.
"""
neutron = ClientCache(neutron_client.make_client)
# Provide support for old quantum commands (for example
# in stable versions)
quantum = neutron

def __init__(self, token=None, url=None,
auth_url=None,
Expand Down

0 comments on commit 1dd88b9

Please sign in to comment.