

def take_action(self, parsed_args):
    compute_client = self.app.client_manager.compute
    info = {
        
    }
    server_group = compute_client.server_groups.create(name=parsed_args.name, policies=parsed_args.policy)
    info.update(server_group._info)
    columns = _get_columns(info)
    data = utils.get_dict_properties(info, columns, formatters=_formatters)
    return (columns, data)

dataset/ETHPy150Open dtroyer/python-openstackclient/openstackclient/compute/v2/server_group.py CreateServerGroup.take_action/original