From f11b5edc286afa63f9eab7fa2b9ffaff65ceea45 Mon Sep 17 00:00:00 2001 From: Carlos Goncalves Date: Tue, 29 Jun 2021 13:04:36 +0200 Subject: [PATCH] Add BGP EVPN support to the FRR service Depends-On: https://review.opendev.org/c/openstack/tripleo-ansible/+/798626 Change-Id: I062f82a001c3edeade13912ed9b044695143de85 --- deployment/frr/frr-container-ansible.yaml | 30 +++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/deployment/frr/frr-container-ansible.yaml b/deployment/frr/frr-container-ansible.yaml index e93e495e86..d8c6a9e5e0 100644 --- a/deployment/frr/frr-container-ansible.yaml +++ b/deployment/frr/frr-container-ansible.yaml @@ -111,6 +111,31 @@ parameters: allowed to become neighbors. Setting value to zero or less will disable GTSM. type: number + FrrBgpL2VpnEnabled: + type: boolean + default: false + description: Enable BGP L2VPN EVPN address family. + FrrBgpL2VpnEbgpMultihop: + type: number + default: 0 + description: > + Allows sessions with eBGP neighbors to establish when they are multiple + hops away. Value 0 disables multi-hop eBGP peering. + FrrBgpL2VpnUplinkActivate: + type: boolean + default: true + description: > + Enable the list of uplink network interfaces defined in FrrBgpUplinks. + FrrBgpL2VpnPeers: + default: [] + description: List of EVPN neighbor peers. + type: comma_delimited_list + FrrBgpL2vpnPeersScope: + default: 'external' + type: string + description: Either peer with internal (iBGP) or external (eBGP) neighbors. + constraints: + - allowed_values: ['internal', 'external'] outputs: role_data: @@ -223,6 +248,11 @@ outputs: tripleo_frr_bgp_uplinks_scope: {get_param: FrrBgpUplinksScope} tripleo_frr_log_level: {get_param: FrrLogLevel} tripleo_frr_zebra: {get_param: FrrZebraEnabled} + tripleo_frr_bgp_l2vpn: {get_param: FrrBgpL2VpnEnabled} + tripleo_frr_bgp_l2vpn_ebgp_multihop: {get_param: FrrBgpL2VpnEbgpMultihop} + tripleo_frr_bgp_l2vpn_uplink_activate: {get_param: FrrBgpL2VpnUplinkActivate} + tripleo_frr_bgp_l2vpn_peers: {get_param: FrrBgpL2VpnPeers} + tripleo_frr_bgp_l2vpn_peers_scope: {get_param: FrrBgpL2vpnPeersScope} - name: Start FRR include_role: name: tripleo_container_manage