Fixing two comments regarding bind_port in ml2
Fixes two comment lines regarding when bind_port is called. The correct comment should indicate that bind_port is called prior to "create_port_precommit or update_port_precommit" rather than "create_network_precommit or update_network_precommit". Change-Id: I5c0cb49efb43b15fdc5a7f88569e19fcf8d72819
This commit is contained in:
parent
151cff7554
commit
5994dcdfff
@ -566,7 +566,7 @@ class MechanismDriver(object):
|
||||
:param context: PortContext instance describing the port
|
||||
|
||||
Called inside transaction context on session, prior to
|
||||
create_network_precommit or update_network_precommit, to
|
||||
create_port_precommit or update_port_precommit, to
|
||||
attempt to establish a port binding. If the driver is able to
|
||||
bind the port, it calls context.set_binding with the binding
|
||||
details.
|
||||
|
@ -431,7 +431,7 @@ class MechanismManager(stevedore.named.NamedExtensionManager):
|
||||
:param context: PortContext instance describing the port
|
||||
|
||||
Called inside transaction context on session, prior to
|
||||
create_network_precommit or update_network_precommit, to
|
||||
create_port_precommit or update_port_precommit, to
|
||||
attempt to establish a port binding.
|
||||
"""
|
||||
binding = context._binding
|
||||
|
Loading…
Reference in New Issue
Block a user