Anna Khmelnitsky 3aee2c98fc Nsx policy: adjust gbp_fip exercise for nsx
1. Allow devstack to auto create public network under nsx
2. Parametrise external route setting for external segment in gbp_fip

Change-Id: I1022184ae6744ffc2713fb06a1e743a2d3a5911c
2017-09-04 16:40:16 +00:00

23 lines
839 B
Plaintext
Executable File

if [[ $ENABLE_NSX_POLICY = False ]]; then
NEUTRON_CREATE_INITIAL_NETWORKS="False"
fi
ENABLE_APIC_AIM=${ENABLE_APIC_AIM:-False}
ENABLE_APIC_AIM_GATE=${ENABLE_APIC_AIM_GATE:-False}
if [[ $ENABLE_APIC_AIM = True || $ENABLE_APIC_AIM_GATE = True ]]; then
echo_summary "Overriding defaults for apic_aim"
Q_PLUGIN=${Q_PLUGIN:-ml2}
Q_ML2_PLUGIN_MECHANISM_DRIVERS=${Q_ML2_PLUGIN_MECHANISM_DRIVERS:-apic_aim}
Q_ML2_PLUGIN_EXT_DRIVERS=${Q_ML2_PLUGIN_EXT_DRIVERS:-apic_aim,port_security}
Q_ML2_PLUGIN_TYPE_DRIVERS=${Q_ML2_PLUGIN_TYPE_DRIVERS:-opflex,local,flat,vlan,gre,vxlan}
ML2_L3_PLUGIN=${ML2_L3_PLUGIN:-apic_aim_l3}
Q_ML2_TENANT_NETWORK_TYPE=${Q_ML2_TENANT_NETWORK_TYPE:-opflex}
else
Q_SERVICE_PLUGIN_CLASSES=${Q_SERVICE_PLUGIN_CLASSES},qos
Q_ML2_PLUGIN_EXT_DRIVERS=${Q_ML2_PLUGIN_EXT_DRIVERS},qos
fi