Merge "Don't set tunnel_types on VLAN network type"
This commit is contained in:
commit
fe3be5c38e
@ -9,7 +9,7 @@ set +o xtrace
|
||||
# Select either 'gre', 'vxlan', or '(gre vxlan)'
|
||||
Q_ML2_TENANT_NETWORK_TYPE=${Q_ML2_TENANT_NETWORK_TYPE:-"vxlan"}
|
||||
# This has to be set here since the agent will set this in the config file
|
||||
if [[ "$Q_ML2_TENANT_NETWORK_TYPE" != "local" ]]; then
|
||||
if [[ "$Q_ML2_TENANT_NETWORK_TYPE" == "gre" || "$Q_ML2_TENANT_NETWORK_TYPE" == "vxlan" ]]; then
|
||||
Q_AGENT_EXTRA_AGENT_OPTS+=(tunnel_types=$Q_ML2_TENANT_NETWORK_TYPE)
|
||||
elif [[ "$ENABLE_TENANT_TUNNELS" == "True" ]]; then
|
||||
Q_AGENT_EXTRA_AGENT_OPTS+=(tunnel_types=gre)
|
||||
|
Loading…
Reference in New Issue
Block a user