Fix some typos
TrivialFix Change-Id: Ie7e88e01c4424450a878b82409229f2ae99bf377
This commit is contained in:
parent
c97cc6ee08
commit
9fa3ce5990
@ -154,7 +154,7 @@ class ApiClientBase(object):
|
||||
'conn': api_client.ctrl_conn_to_str(http_conn)})
|
||||
http_conn = self._create_connection(*self._conn_params(http_conn))
|
||||
elif service_unavail:
|
||||
# http_conn returned a service unaviable response, put other
|
||||
# http_conn returned a service unavailable response, put other
|
||||
# connections to the same controller at end of priority queue,
|
||||
conns = []
|
||||
while not self._conn_pool.empty():
|
||||
|
@ -84,7 +84,7 @@ class EventletApiClient(base.ApiClientBase):
|
||||
|
||||
Returns: An available HTTPConnection instance corresponding to the
|
||||
specified conn_params. If a connection did not previously
|
||||
exist, new connections are created with the highest prioity
|
||||
exist, new connections are created with the highest priority
|
||||
in the connection pool and one of these new connections
|
||||
returned.
|
||||
"""
|
||||
|
@ -92,7 +92,7 @@ class VCManagerBase(object):
|
||||
class DvsManager(VCManagerBase):
|
||||
"""Management class for dvs related tasks
|
||||
|
||||
The dvs-id is not a class member, ince multiple dvs-es can be supported.
|
||||
The dvs-id is not a class member, since multiple dvs-es can be supported.
|
||||
"""
|
||||
|
||||
def _get_dvs_moref_by_id(self, dvs_id):
|
||||
|
@ -315,8 +315,8 @@ class RouterDistributedDriver(router_driver.RouterBaseDriver):
|
||||
self._update_routes(context, router_id, nexthop)
|
||||
|
||||
self.plugin._update_subnets_and_dnat_firewall(context, router_db)
|
||||
# Safly remove interface, VDR can have interface to only one subnet
|
||||
# in a given network.
|
||||
# Safely remove interface, VDR can have interface to only one
|
||||
# subnet in a given network.
|
||||
edge_utils.delete_interface(
|
||||
self.nsx_v, context, router_id, network_id, dist=True)
|
||||
|
||||
|
@ -91,7 +91,7 @@ class RouterSharedDriver(router_driver.RouterBaseDriver):
|
||||
|
||||
def detach_router(self, context, router_id, router):
|
||||
LOG.debug("Detach shared router id %s", router_id)
|
||||
# if it is the last shared router on this adge - add it to the pool
|
||||
# if it is the last shared router on this edge - add it to the pool
|
||||
edge_id = edge_utils.get_router_edge_id(context, router_id)
|
||||
if not edge_id:
|
||||
return
|
||||
@ -163,7 +163,7 @@ class RouterSharedDriver(router_driver.RouterBaseDriver):
|
||||
edge_utils.update_routes(self.nsx_v, context, target_router_id,
|
||||
all_routes, nexthop)
|
||||
|
||||
# return a dic of each router -> list of vnics from the other routers
|
||||
# return a dict of each router -> list of vnics from the other routers
|
||||
def _get_all_routers_vnic_indices(self, context, router_ids):
|
||||
|
||||
all_vnic_indices = {}
|
||||
|
Loading…
Reference in New Issue
Block a user