[trivial fix]fix typos in neutron

Change-Id: I73364ac659dd325de4983cedf0c1e1e26bc3a30a
This commit is contained in:
Frank Wang 2017-12-26 17:12:53 +08:00 committed by garyk
parent 36e6f71b08
commit e2ebc7d7f8
3 changed files with 3 additions and 3 deletions

View File

@ -207,7 +207,7 @@ class SGPortMap(object):
class ConjIdMap(object):
"""Handle conjuction ID allocations and deallocations."""
"""Handle conjunction ID allocations and deallocations."""
def __init__(self):
self.id_map = collections.defaultdict(self._conj_id_factory)

View File

@ -82,7 +82,7 @@ class DbQuotaDriver(object):
the detailed quotas (limit, used, reserved).
:param context: The request context, for access checks.
:param resources: A dictionary of the registered resource keys.
:return dict: mapping resource name in dict to its correponding limit
:return dict: mapping resource name in dict to its corresponding limit
used and reserved. Reserved currently returns default value of 0
"""
res_reserve_info = quota_api.get_reservations_for_resources(

View File

@ -313,7 +313,7 @@ class QosPolicy(rbac_db.NeutronRbacObject):
def get_bound_tenant_ids(cls, context, policy_id):
"""Implements RbacNeutronObject.get_bound_tenant_ids.
:returns: set -- a set of tenants' ids dependant on QosPolicy.
:returns: set -- a set of tenants' ids dependent on QosPolicy.
"""
net = models_v2.Network
qosnet = qos_db_model.QosNetworkPolicyBinding