def _create(self, opts):
    if (opts.name is None):
        _exit_if_errors(['--group-name is required with --create flag'])
    (_, errors) = self.rest.create_server_group(opts.name)
    _exit_if_errors(errors)
    _success('Server group created')
def _create(self, opts):
    if (opts.name is None):
        _exit_if_errors(['--group-name is required with --create flag'])
    (_, errors) = self.rest.create_server_group(opts.name)
    _exit_if_errors(errors)
    _success('Server group created')