From ec24659345ae5e0aa21162055356c26911fe0167 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Tue, 14 Feb 2017 13:07:32 +0900 Subject: [PATCH] Correct object path in comments Change-Id: I08d2fc7e2c360499befc9b6afe3a33e8f0044d6f --- os_vif/objects/host_info.py | 2 +- os_vif/plugin.py | 12 +++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/os_vif/objects/host_info.py b/os_vif/objects/host_info.py index 75ffa025..0778133c 100644 --- a/os_vif/objects/host_info.py +++ b/os_vif/objects/host_info.py @@ -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 diff --git a/os_vif/plugin.py b/os_vif/plugin.py index 0c988832..56566a6b 100644 --- a/os_vif/plugin.py +++ b/os_vif/plugin.py @@ -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.