Add 'pool' description to pool flavor commands

Now we only have 'pool' description in pool flavor create.
This patch adds this description to other pool flavor commands.
This will help users understanding this is a pool flover.

Change-Id: I9423e42f8b8222fa25d6a73db9e0bdafb20248f8
This commit is contained in:
jonnary 2017-04-01 13:39:12 +08:00
parent e9d8d6df1e
commit 92173defa2
2 changed files with 9 additions and 9 deletions

6
doc/source/command/flavor.rst Normal file → Executable file
View File

@ -56,7 +56,7 @@ openstack messaging flavor delete
usage: openstack messaging flavor delete [-h] <flavor_name>
Delete a flavor.
Delete a pool flavor.
**Positional arguments:**
@ -78,7 +78,7 @@ openstack messaging flavor list
[--limit <limit>]
[--detailed <detailed>]
List available flavors.
List available pool flavors.
**Optional arguments:**
@ -125,7 +125,7 @@ openstack messaging flavor update
[--capabilities <capabilities>]
<flavor_name>
Update a flavor's attributes.
Update a pool flavor's attributes.
**Positional arguments:**

View File

@ -497,9 +497,9 @@ class CreateFlavor(command.ShowOne):
class DeleteFlavor(command.Command):
"""Delete a flavor"""
"""Delete a pool flavor"""
_description = _("Delete a flavor")
_description = _("Delete a pool flavor")
log = logging.getLogger(__name__ + ".DeleteFlavor")
def get_parser(self, prog_name):
@ -517,9 +517,9 @@ class DeleteFlavor(command.Command):
class ShowFlavor(command.ShowOne):
"""Display flavor details"""
"""Display pool flavor details"""
_description = _("Display flavor details")
_description = _("Display pool flavor details")
log = logging.getLogger(__name__ + ".ShowFlavor")
def get_parser(self, prog_name):
@ -541,9 +541,9 @@ class ShowFlavor(command.ShowOne):
class ListFlavors(command.Lister):
"""List available flavors"""
"""List available pool flavors"""
_description = _("List available flavors")
_description = _("List available pool flavors")
log = logging.getLogger(__name__ + ".ListFlavors")
def get_parser(self, prog_name):