> For the complete documentation index, see [llms.txt](https://docs.cennso.com/components/cdf/latest/llms.txt) (all documentation: [llms.txt](https://docs.cennso.com/llms.txt)). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cennso.com/components/cdf/latest/releases/migration_from_cdf2_to_cdf3.md).

# Migration guide from CDF 2 to CDF 3

The new Helm chart is not backwards compatible.
Several unused options have been removed.
Almost all options have been renamed.
The old names where often based on the Erlang configuration, while the new names are aligned with Helm usage.

## Common

Some configuration remains the same for both the sender and the receiver.

The keys have changed according to the table below.
In the case of a removed option, the new setting is marked with `-`.

| Old setting | New setting |
| --- | --- |
| cdfNode.image.pullPolicy | image.pullPolicy |
| cdfNode.image.repository | image.repository |
| cdfNode.image.tag | image.tag |
| storage.persistence.directory | - |
| storage.persistence.enabled | storage.local.persistence.enabled |
| storage.persistence.options | - |

## Sender

Sender has CGF-specific options and an S3 configuration.
The `APNs` options are now located in the `sender.APNSpecificConfig` section.
For the format change, consult the new configuration documentation.

The keys have changed according to the table below.
In the case of a removed option, the new setting is marked with `-`.

| Old setting | New setting | Format change|
| --- | --- | --- |
| CGF.data_sockets.ip | - |
| CGF.data_sockets.name | - |
| CGF.data_sockets.port | - |
| CGF.data_sockets.recbuf | sender.transportOptions.data.receiveBuffer |
| CGF.data_sockets.sndbuf | sender.transportOptions.data.sendBuffer |
| CGF.data_sockets.type | - |
| CGF.echo_sockets | - |
| CGF.ibmds.ip | sender.CGFs.ip | new format |
| CGF.ibmds.name | - |
| CGF.ibmds.port | sender.CGFs.port |
| CGF.options.load_balance | - |
| CGF.options.new_cdrs_max | sender.cdrMax |
| CGF.options.response_timeout | sender.responseTimeout |
| CGF.options.send_echo | sender.echo |
| CGF.options.send_new_cdrs | sender.cdrTime |
| storage.sender.names | receiver.directories |

## Receiver

Receiver has Rf-specific options and an S3 configuration (storage.s3).
`CTF:` settings are now directly under the `receiver` field.
In case of format change, consult the new configuration documentation.

The keys have changed according to the table below.
In the case of a removed option, the new setting is marked with `-`.

| Old setting | New setting | Format change|
| --- | --- | --- |
| CTF.hostname | receiver.hostname |
| CTF.realm | receiver.realm |
| CTF.transportOpts.nodelay | receiver.transportOptions.nodelay |
| CTF.transportOpts.port | receiver.transportOptions.port |
| CTF.transportOpts.recbuf | receiver.transportOptions.receiveBuffer |
| CTF.transportOpts.reuseaddr | receiver.transportOptions.reuseAddress |
| CTF.transportOpts.sctp_nodelay | receiver.transportOptions.nodelay |
| CTF.transportOpts.sndbuf | receiver.transportOptions.sendBuffer |
| CTF.transportOpts.unordered | - |
| CTF.transportType | receiver.transportOptions.transportType | new format |
| storage.receiver.name | receiver.directory |
