diff --git a/defaults/main.yml b/defaults/main.yml index 0cb2b362..df4cd2ca 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -375,6 +375,9 @@ neutron_vxlan_enabled: true ## The neutron multicast group address. This should be set as a host variable if used. neutron_vxlan_group: "239.1.1.1" +# The neutron multicast time-to-live. Number of L3 hops before routers will drop the traffic +neutron_vxlan_ttl: 32 + neutron_sriov_excluded_devices: "" # neutron_local_ip is used for the VXLAN local tunnel endpoint diff --git a/templates/plugins/ml2/linuxbridge_agent.ini.j2 b/templates/plugins/ml2/linuxbridge_agent.ini.j2 index 553561c5..83b01523 100644 --- a/templates/plugins/ml2/linuxbridge_agent.ini.j2 +++ b/templates/plugins/ml2/linuxbridge_agent.ini.j2 @@ -16,6 +16,7 @@ vxlan_group = {{ neutron_vxlan_group }} # VXLAN local tunnel endpoint local_ip = {{ neutron_local_ip }} l2_population = {{ neutron_plugins[neutron_plugin_type].l2_population }} +ttl = {{ neutron_vxlan_ttl }} {% else %}