Configure the BaGPipe driver for BGP VPN

Configure the BaGPipe driver for BGP VPN

The BaGPipe driver is a lightweight implementation of the BGP-based VPNs used as a reference back end for the Neutron BGP VPN Interconnection service.

For the instruction below, we assume that the Neutron BGP VPN Interconnection service is already enabled on the OpenStack controller nodes. To enable BGP VPN, see Enable the BGP VPN Interconnection service.

To configure the BaGPipe driver:

  1. Log in to the Salt Master node.

  2. Open the cluster.<cluster_name>.openstack.compute.yml file for editing.

  3. Add the following parameters:

    parameters:
      ...
      neutron:
        compute:
          bgp_vpn:
            enabled: True
            driver: bagpipe
            bagpipe:
              local_address: <IP address used for BGP peerings>
              peers: <IP addresses of BGP peers>
              autonomous_system: <BGP Autonomous System Number>
              enable_rtc: True # Enable RT Constraint (RFC4684)
          backend:
            extension:
              bagpipe_bgpvpn:
                enabled: True
    
  4. Re-apply the Salt configuration:

    salt -C 'I@neutron:compute' state.sls neutron
    

Note

If BaGPipe is to be enabled on several compute nodes, set up Route Reflector to interconnect those BagPipe instances. For more information, see BGP and Route Reflection.