Add hint for HDFS protocol while creating shares
Add hint for creating shares with HDFS protocol, Since HDFS native protocol driver has been merged. Change-Id: Ic8724b585d1bf0ee1f2b7f8eaa0ed79927b1a292
This commit is contained in:
parent
0ea9b7a50b
commit
faaa07a722
@ -60,8 +60,8 @@ class ShellTest(utils.TestCase):
|
||||
def test_help(self):
|
||||
required = [
|
||||
'.*?^usage: ',
|
||||
'.*?^\s+create\s+Creates new NAS storage '
|
||||
'\(NFS, CIFS or GlusterFS\).',
|
||||
'.*?^\s+create\s+Creates a new share '
|
||||
'\(NFS, CIFS, GlusterFS or HDFS\).',
|
||||
'.*?(?m)^See "manila help COMMAND" for help '
|
||||
'on a specific command.',
|
||||
]
|
||||
|
@ -136,7 +136,7 @@ class ShareManager(base.ManagerWithFind):
|
||||
:param snapshot_id: ID of the snapshot
|
||||
:param name: Name of the NAS
|
||||
:param description: Short description of a share
|
||||
:param share_proto: Type of NAS (NFS or CIFS)
|
||||
:param share_proto: Type of NAS (NFS, CIFS, GlusterFS or HDFS)
|
||||
:param metadata: Optional metadata to set on volume creation
|
||||
:rtype: :class:`Share`
|
||||
"""
|
||||
|
@ -335,7 +335,7 @@ def do_rate_limits(cs, args):
|
||||
'share_protocol',
|
||||
metavar='<share_protocol>',
|
||||
type=str,
|
||||
help='Share type (NFS, CIFS or GlusterFS).')
|
||||
help='Share type (NFS, CIFS, GlusterFS or HDFS).')
|
||||
@cliutils.arg(
|
||||
'size',
|
||||
metavar='<size>',
|
||||
@ -375,7 +375,7 @@ def do_rate_limits(cs, args):
|
||||
default=None)
|
||||
@cliutils.service_type('share')
|
||||
def do_create(cs, args):
|
||||
"""Creates new NAS storage (NFS, CIFS or GlusterFS)."""
|
||||
"""Creates a new share (NFS, CIFS, GlusterFS or HDFS)."""
|
||||
|
||||
share_metadata = None
|
||||
if args.metadata is not None:
|
||||
|
Loading…
Reference in New Issue
Block a user