Enable Long Lived Graceful Restart in OpenContrail

Enable Long Lived Graceful Restart in OpenContrailΒΆ

Warning

Enabling LLGR causes restart of the Border Gateway Protocol (BGP) peerings.

Enabling of Long Lived Graceful Restart (LLGR) must be performed on both sides of peering - edge gateways and the OpenContrail control plane.

To enable LLGR:

  1. Log in to the MX Series router CLI.

  2. Add the following lines to the router configuration file:

    set protocols bgp group <name> family inet-vpn unicast graceful-restart long-lived restarter stale-time 20
    set protocols bgp group <name> graceful-restart restart-time 1800
    set protocols bgp group <name> graceful-restart stale-routes-time 1800
    
  3. Commit the configuration changes to the router.

  4. Open your GitHub MCP project repository.

  5. Add the following lines to cluster/<name>/opencontrail/control.yml:

    classes:
    ...
    - system.opencontrail.client.resource.llgr
    ...
    
  6. Commit and push the changes to the project Git repository.

  7. Log in to the Salt Master node.

  8. Pull the latest changes of the cluster model and the system model that has the system.opencontrail.client.resource.llgr class defined.

  9. Update the salt-formula-opencontrail package.

  10. Apply the opencontrail state:

    salt -C 'I@opencontrail:config and *01*' state.sls opencontrail.client