diff --git a/cinderclient/v1/shell.py b/cinderclient/v1/shell.py index 385d4e7e2..0b90f25f5 100644 --- a/cinderclient/v1/shell.py +++ b/cinderclient/v1/shell.py @@ -130,6 +130,9 @@ def do_show(cs, args): metavar='', help='Optional volume type. (Default=None)', default=None) +@utils.arg('--availability_zone', metavar='', + help='Optional availability zone for volume. (Default=None)', + default=None) @utils.service_type('volume') def do_create(cs, args): """Add a new volume.""" @@ -137,7 +140,8 @@ def do_create(cs, args): args.snapshot_id, args.display_name, args.display_description, - args.volume_type) + args.volume_type, + availability_zone=args.availability_zone) @utils.arg('volume', metavar='', help='ID of the volume to delete.') diff --git a/setup.py b/setup.py index e229015d0..e69a45188 100644 --- a/setup.py +++ b/setup.py @@ -32,7 +32,7 @@ setuptools.setup( version=setup.get_post_version('cinderclient'), author="Rackspace, based on work by Jacob Kaplan-Moss", author_email="github@racklabs.com", - description="Client library for OpenStack Nova API.", + description="Client library for OpenStack Cinder API.", long_description=read_file("README.rst"), license="Apache License, Version 2.0", url="https://github.com/openstack/python-cinderclient",