Correct object path in comments

Change-Id: I08d2fc7e2c360499befc9b6afe3a33e8f0044d6f
This commit is contained in:
YAMAMOTO Takashi 2017-02-14 13:07:32 +09:00
parent 614ae135e9
commit ec24659345
2 changed files with 8 additions and 6 deletions

View File

@ -26,7 +26,7 @@ class HostVIFInfo(osv_base.VersionedObject, base.ComparableVersionedObject):
VERSION = "1.0"
fields = {
# object name of the subclass of os_vif.objects.vif.VIF
# object name of the subclass of os_vif.objects.vif.VIFBase
"vif_object_name": fields.StringField(),
# String representing the earliest version of @name

View File

@ -40,7 +40,7 @@ class PluginBase(object):
Return an object that describes the plugin's supported vif types and
the earliest/latest known VIF object versions.
:returns: A `os_vif.host_info.HostPluginInfo` instance
:returns: A `os_vif.objects.host_info.HostPluginInfo` instance
"""
@abc.abstractmethod
@ -48,8 +48,9 @@ class PluginBase(object):
"""
Given a model of a VIF, perform operations to plug the VIF properly.
:param vif: `os_vif.objects.VIF` object.
:param instance_info: `os_vif.objects.InstanceInfo` object.
:param vif: `os_vif.objects.vif.VIFBase` object.
:param instance_info: `os_vif.objects.instance_info.InstanceInfo`
object.
:raises `processutils.ProcessExecutionError`. Plugins implementing
this method should let `processutils.ProcessExecutionError`
bubble up.
@ -60,8 +61,9 @@ class PluginBase(object):
"""
Given a model of a VIF, perform operations to unplug the VIF properly.
:param vif: `os_vif.objects.VIF` object.
:param instance_info: `os_vif.objects.InstanceInfo` object.
:param vif: `os_vif.objects.vif.VIFBase` object.
:param instance_info: `os_vif.objects.instance_info.InstanceInfo`
object.
:raises `processutils.ProcessExecutionError`. Plugins implementing
this method should let `processutils.ProcessExecutionError`
bubble up.