spelling error
Change-Id: If04904f761e6533c45c725a24e2f6c982aca2339
This commit is contained in:
parent
cdbb19e0f8
commit
0c2d88d8d3
@ -120,7 +120,7 @@ class AddHandler(CNIHandlerBase):
|
||||
Determines if CNI is ready to call the callback and stop watching for
|
||||
more events. For AddHandler the callback should be called if there
|
||||
is at least one VIF in the annotation and all the
|
||||
VIFs recieved are marked active
|
||||
VIFs received are marked active
|
||||
|
||||
:param pod: dict containing Kubernetes Pod object
|
||||
:param vifs: dict containing os_vif VIF objects and ifnames
|
||||
|
@ -32,9 +32,9 @@ RETRY_DELAY = 1000 # 1 second in milliseconds
|
||||
# TODO(dulek): Another corner case is (and was) when pod is deleted before it's
|
||||
# annotated by controller or even noticed by any watcher. Kubelet
|
||||
# will try to delete such vif, but we will have no data about it.
|
||||
# This is currently worked around by returning succesfully in case
|
||||
# of timing out in delete. To solve this properly we need to watch
|
||||
# for pod deletes as well.
|
||||
# This is currently worked around by returning successfully in
|
||||
# case of timing out in delete. To solve this properly we need
|
||||
# to watch for pod deletes as well.
|
||||
|
||||
|
||||
class K8sCNIRegistryPlugin(base_cni.CNIPlugin):
|
||||
|
@ -100,7 +100,7 @@ class SriovVIFDriver(neutron_vif.NeutronPodVIFDriver):
|
||||
return total_amount
|
||||
|
||||
def _reduce_remaining_sriov_vfs(self, pod):
|
||||
"""Reduces number of avaliable vfs for request"""
|
||||
"""Reduces number of available vfs for request"""
|
||||
containers = pod['spec']['containers']
|
||||
for container in containers:
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user