From 7e8c55fa1bbc5f44b9233602786c22d6019eef22 Mon Sep 17 00:00:00 2001 From: Matt Riedemann <mriedem.os@gmail.com> Date: Thu, 28 Jun 2018 14:00:49 -0400 Subject: [PATCH] Fix docs from I0dc80bee3ba6ff4ec8cc3fc113b6de7807e0bf2a The CLI usage docs should mention the microversion restriction for creating a flavor with a description and setting a description on a flavor. Also, the release note talks about setting the server description on the flavor commands (wrong resource). Change-Id: I93af3da9a0be62395a1c719fd1dcbfd2b669580d Story: 2002196 Task: 22607 --- doc/source/cli/command-objects/flavor.rst | 6 ++++-- .../notes/flavor-add-description-b618abd4a7fb6545.yaml | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/doc/source/cli/command-objects/flavor.rst b/doc/source/cli/command-objects/flavor.rst index 2d946de308..f22463b78e 100644 --- a/doc/source/cli/command-objects/flavor.rst +++ b/doc/source/cli/command-objects/flavor.rst @@ -79,7 +79,8 @@ Create new flavor .. option:: --description <description> - Description to add for this flavor + Description to add for this flavor. Only available starting with + ``--os-compute-api-version 2.55``. .. _flavor_create-flavor-name: .. describe:: <flavor-name> @@ -176,7 +177,8 @@ Set flavor properties .. option:: --description <description> - Set description to this flavor + Description to set for this flavor. Only available starting with + ``--os-compute-api-version 2.55``. .. describe:: <flavor> diff --git a/releasenotes/notes/flavor-add-description-b618abd4a7fb6545.yaml b/releasenotes/notes/flavor-add-description-b618abd4a7fb6545.yaml index f148175f79..0d22354f78 100644 --- a/releasenotes/notes/flavor-add-description-b618abd4a7fb6545.yaml +++ b/releasenotes/notes/flavor-add-description-b618abd4a7fb6545.yaml @@ -1,6 +1,8 @@ --- features: - Add ``--description`` option to ``flavor set`` command to update the - description of the server. + description of the flavor. Only available starting with + ``--os-compute-api-version 2.55``. - Add ``--description`` option to ``flavor create`` command to set the - description of the server. + description of the flavor. Only available starting with + ``--os-compute-api-version 2.55``.