Merge "Fix typos in Astara"

This commit is contained in:
Jenkins 2016-04-05 22:21:19 +00:00 committed by Gerrit Code Review
commit 12785c941d
3 changed files with 9 additions and 9 deletions

View File

@ -764,7 +764,7 @@ class AstaraExtClientWrapper(client.Client):
class L3PluginApi(object): class L3PluginApi(object):
"""Agent side of the Qunatum l3 agent RPC API.""" """Agent side of the Quantum l3 agent RPC API."""
BASE_RPC_API_VERSION = '1.0' BASE_RPC_API_VERSION = '1.0'

View File

@ -261,7 +261,7 @@ class Nova(object):
self.instance_provider = default(self.client) self.instance_provider = default(self.client)
def get_instances_for_obj(self, name): def get_instances_for_obj(self, name):
"""Retreives all nova servers for a given instance name. """Retrieves all nova servers for a given instance name.
:param name: name of the instance being queried :param name: name of the instance being queried
@ -276,7 +276,7 @@ class Nova(object):
return [InstanceInfo.from_nova(i) for i in instances] return [InstanceInfo.from_nova(i) for i in instances]
def get_instance_for_obj(self, name): def get_instance_for_obj(self, name):
"""Retreives a nova server for a given instance name. """Retrieves a nova server for a given instance name.
:param name: name of the instance being queried :param name: name of the instance being queried
@ -292,7 +292,7 @@ class Nova(object):
return None return None
def get_instance_by_id(self, instance_id): def get_instance_by_id(self, instance_id):
"""Retreives a nova server for a given instance_id. """Retrieves a nova server for a given instance_id.
:param instance_id: Nova instance ID of instance being queried :param instance_id: Nova instance ID of instance being queried

View File

@ -80,7 +80,7 @@ class BaseDriver(object):
pass pass
def update_config(self, management_address, config): def update_config(self, management_address, config):
"""Updates appliance configuratino """Updates appliance configuration
This is responsible for pushing configuration to the managed This is responsible for pushing configuration to the managed
appliance appliance
@ -103,7 +103,7 @@ class BaseDriver(object):
:param worker_context: :param worker_context:
:returns: A tuple (managment_port, [instance_ports]) :returns: A tuple (management_port, [instance_ports])
""" """
def _make_ports(): def _make_ports():
pass pass
@ -119,7 +119,7 @@ class BaseDriver(object):
@staticmethod @staticmethod
def pre_populate_hook(): def pre_populate_hook():
"""called in populate.py durring driver loading loop. """called in populate.py during driver loading loop.
""" """
pass pass
@ -158,7 +158,7 @@ class BaseDriver(object):
:param event_type: str event type, for example router.create.end :param event_type: str event type, for example router.create.end
:param payload: The payload body of the incoming event :param payload: The payload body of the incoming event
:returns: A populated Event objet if it should process, or None if not :returns: A populated Event object if it should process, or None if not
""" """
pass pass
@ -173,7 +173,7 @@ class BaseDriver(object):
"""Lists interfaces attached to the resource. """Lists interfaces attached to the resource.
This lists the interfaces attached to the resource from the POV This lists the interfaces attached to the resource from the POV
of the resource iteslf. of the resource itself.
:returns: A list of interfaces :returns: A list of interfaces
""" """