=head1 NAME

ngcp-redis-flavor - switch between Redis flavors

=head1 SYNOPSIS

B<ngcp-redis-flavor> [I<OPTION>...] I<flavor>

=head1 DESCRIPTION

This program installs and configures the selected redis flavor.

=head1 OPTIONS

=over 4

=item B<-h>

Prints the usage summary.

=item B<-f>

Do not check selected flavor, force execution

=item B<-a>

Apply the change without committing anything new.
It is intended to be executed only after the management
node has been migrated already.

=back

=head1 FLAVORS

=over 4

=item B<valkey>

Valkey is fork of Redis.
It is the current preferred key/value store in NGCP.

L<https://valkey.io/>

=item B<keydb>

KeyDB is an old and now abandoned fork of Redis.
It was used in the past due to its multi-master and multi-threading
support.
Its use is now strongly discouraged.

L<https://keydb.dev/>

=back

=head1 EXIT STATUS

Exit code 0 means everything is fine, 1 means an error occurred, and 2
indicates a usage error.

=head1 BUGS AND LIMITATIONS

Please report problems you notice to the Sipwise
Development Team <support@sipwise.com>.

=head1 AUTHOR

Victor Seva <vseva@sipwise.com>

=head1 LICENSE

Copyright (C) 2021-2025 Sipwise GmbH, Austria

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
