if output:
                    if not old:
                        ret['comment'] = 'Successfully created alias {0} for index {1}'.format(name, index)
                    else:
                        ret['comment'] = 'Successfully replaced alias {0} for index {1}'.format(name, index)