Compare commits

...

2 Commits

Author SHA1 Message Date
Matt Riedemann
c3608eec8e Proxy find_resource_by_name_or_id from neutron client
Change I95a351071e68dfc2d67f3895c87f45ad2221767f gutted quantumclient so
it serves as a proxy for neutronclient, but in the process the static
method find_resource_by_name_or_id was removed. Nova is using
find_resource_by_name_or_id directly so it needs to still exist in
quantumclient and proxy through to neutronclient. This is needed for the
stable branches which are still using python-quantumclient.

Closes-Bug: #1233264

Change-Id: I01b099aa34fedb63967517f288905321816eaf18
2013-09-30 09:37:49 -07:00
Mark McClain
a4cc81bce4 add missing symbols for 3rd party libs
Change-Id: Id0f758b105b51059c6788afb92ac5840caff6102
2013-09-27 15:25:34 -04:00
3 changed files with 9 additions and 2 deletions

View File

@@ -17,4 +17,8 @@
from neutronclient.common.exceptions import * # noqa
QuantumException = NeutronException
QuantumClientException = NeutronClientException
QuantumCLIError = NeutronCLIError
QuantumClientNoUniqueMatch = NeutronClientNoUniqueMatch

View File

@@ -15,6 +15,7 @@
#
# vim: tabstop=4 shiftwidth=4 softtabstop=4
from neutronclient.neutron.v2_0 import NeutronCommand
from neutronclient.neutron import v2_0
QuantumCommand = NeutronCommand
QuantumCommand = v2_0.NeutronCommand
find_resourceid_by_name_or_id = v2_0.find_resourceid_by_name_or_id

View File

@@ -17,4 +17,6 @@
from neutronclient.v2_0 import client
exception_handler_v20 = client.exception_handler_v20
APIParamsCall = client.APIParamsCall
Client = client.Client