NSXv3: Change default metadata route to 169.254.169.254/31

This change allows metadata route passed in DHCP option 121
also working on older cirros images.

Change-Id: Iaad3406de28309ea5b06aad541e675b9a5c4eaec
This commit is contained in:
Shih-Hao Li 2016-11-23 10:36:48 -08:00 committed by garyk
parent 3009f37757
commit e49d016c15
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ Q_USE_PROVIDERNET_FOR_PUBLIC=False
# Native support from platform
NATIVE_DHCP_METADATA=${NATIVE_DHCP_METADATA:-False}
NATIVE_METADATA_ROUTE=${NATIVE_METADATA_ROUTE:-169.254.169.254/32}
NATIVE_METADATA_ROUTE=${NATIVE_METADATA_ROUTE:-169.254.169.254/31}
METADATA_PROXY_SHARED_SECRET=${METADATA_PROXY_SHARED_SECRET:-}
# Save trace setting

View File

@ -361,7 +361,7 @@ nsx_v3_opts = [
help=_("If true, DHCP and metadata proxy services will be "
"provided by NSX backend.")),
cfg.StrOpt('native_metadata_route',
default="169.254.169.254/32",
default="169.254.169.254/31",
help=_("The metadata route used for native metadata proxy "
"service.")),
cfg.StrOpt('dhcp_profile',