NSX|V3: fix devstack when native DHCP is False

Ensure that the value is updated. This is due to commit
4f1c85ab96.

This patch will now make sure its set as False if configured.

Change-Id: Icaf859d791ba21543e6c98a00d25b70720e784b5
This commit is contained in:
Gary Kotton 2017-07-04 11:32:00 +03:00
parent 706154c181
commit c6cb4b04c5

View File

@ -188,8 +188,8 @@ function neutron_plugin_configure_service {
_nsxv3_ini_set insecure $NSX_INSECURE _nsxv3_ini_set insecure $NSX_INSECURE
_nsxv3_ini_set ca_file $NSX_CA_FILE _nsxv3_ini_set ca_file $NSX_CA_FILE
_nsxv3_ini_set default_bridge_cluster $DEFAULT_BRIDGE_CLUSTER_UUID _nsxv3_ini_set default_bridge_cluster $DEFAULT_BRIDGE_CLUSTER_UUID
_nsxv3_ini_set native_dhcp_metadata $NATIVE_DHCP_METADATA
if [[ "$NATIVE_DHCP_METADATA" == "True" ]]; then if [[ "$NATIVE_DHCP_METADATA" == "True" ]]; then
_nsxv3_ini_set native_dhcp_metadata $NATIVE_DHCP_METADATA
_nsxv3_ini_set native_metadata_route $NATIVE_METADATA_ROUTE _nsxv3_ini_set native_metadata_route $NATIVE_METADATA_ROUTE
_nsxv3_ini_set dhcp_profile $DHCP_PROFILE_UUID _nsxv3_ini_set dhcp_profile $DHCP_PROFILE_UUID
_nsxv3_ini_set metadata_proxy $METADATA_PROXY_UUID _nsxv3_ini_set metadata_proxy $METADATA_PROXY_UUID