Modify the OpenContrail configuration

Modify the OpenContrail configurationΒΆ

The OpenContrail v4.x configuration files are generated by SaltStack and then mounted into containers as volumes. SaltStack also provides a mechanism to apply configuration changes by restarting the systemd services inside a container.

To modify the OpenContrail v4.x configurations:

  1. Log in to the Salt Master node.

  2. Make necessary configuration changes in the classes/cluster/<cluster_name>/opencontrail folder.

  3. Apply the opencontrail state specific to the OpenContrail configuration file where the changes were made. For example, if you made changes in the database.yaml file:

    salt -C 'I@opencontrail:database' state.apply opencontrail
    

    After the state is applied, the systemd services are automatically restarted inside the OpenContrail container in question to apply the configuration changes.