@utils.arg('name', metavar='<name>', help=_('Name of aggregate.'))
@utils.arg('availability_zone', metavar='<availability-zone>', default=None, nargs='?', help=_('The availability zone of the aggregate (optional).'))
def do_aggregate_create(cs, args):
 aggregate = cs.aggregates.create(args.name, args.availability_zone)
 _print_aggregate_details(cs, aggregate)

@ utils . arg ( 'name' , metavar = '<name>' , help = _ ( 'Name of aggregate.' ) ) @ utils . arg ( 'availability_zone' , metavar = '<availability-zone>' , default = None , nargs = '?' , help = _ ( 'The availability zone of the aggregate (optional).' ) ) def do_aggregate_create ( cs , args ) : aggregate = cs . aggregates . create ( args . name , args . availability_zone ) _print_aggregate_details ( cs , aggregate )
create a new aggregate with the specified details .