diff --git a/novaclient/v2/contrib/cells.py b/novaclient/v2/contrib/cells.py index bfc6893d7..7099a5a00 100644 --- a/novaclient/v2/contrib/cells.py +++ b/novaclient/v2/contrib/cells.py @@ -31,7 +31,7 @@ class CellsManager(base.Manager): """ Get a cell. - :param cell: Name of the :class:`Cell` to get. + :param cell_name: Name of the :class:`Cell` to get. :rtype: :class:`Cell` """ return self._get("/os-cells/%s" % cell_name, "cell") @@ -40,7 +40,7 @@ class CellsManager(base.Manager): """ Get capacities for a cell. - :param cell: Name of the :class:`Cell` to get capacities for. + :param cell_name: Name of the :class:`Cell` to get capacities for. :rtype: :class:`Cell` """ path = ["%s/capacities" % cell_name, "capacities"][cell_name is None] diff --git a/novaclient/v2/flavors.py b/novaclient/v2/flavors.py index 0545ad6df..54b0f4974 100644 --- a/novaclient/v2/flavors.py +++ b/novaclient/v2/flavors.py @@ -51,8 +51,6 @@ class Flavor(base.Resource): def get_keys(self): """ Get extra specs from a flavor. - - :param flavor: The :class:`Flavor` to get extra specs from """ _resp, body = self.manager.api.client.get( "/flavors/%s/os-extra_specs" % base.getid(self)) @@ -62,7 +60,6 @@ class Flavor(base.Resource): """ Set extra specs on a flavor. - :param flavor: The :class:`Flavor` to set extra spec on :param metadata: A dict of key/value pairs to be set """ utils.validate_flavor_metadata_keys(metadata.keys()) @@ -76,7 +73,6 @@ class Flavor(base.Resource): """ Unset extra specs on a flavor. - :param flavor: The :class:`Flavor` to unset extra spec on :param keys: A list of keys to be unset """ for k in keys: diff --git a/novaclient/v2/fping.py b/novaclient/v2/fping.py index ac958d4c6..5e8b74bb9 100644 --- a/novaclient/v2/fping.py +++ b/novaclient/v2/fping.py @@ -58,7 +58,7 @@ class FpingManager(base.ManagerWithFind): """ Fping a specific server. - :param network: ID of the server to fping. + :param server: ID of the server to fping. :rtype: :class:`Fping` """ return self._get("/os-fping/%s" % base.getid(server), "server")