Merge "NSX|v fix router migrate with metadata"

This commit is contained in:
Jenkins 2016-09-22 13:52:51 +00:00 committed by Gerrit Code Review
commit 871f0834f2

View File

@ -95,10 +95,10 @@ class RouterExclusiveDriver(router_driver.RouterBaseDriver):
# Add DB attributes to the router data structure
# before creating it as an exclusive router
router_attr = self._build_router_data_from_db(router_db, router)
allow_metadata = True if self.plugin.metadata_proxy_handler else False
self.create_router(context,
router_attr,
allow_metadata=False,
allow_metadata=allow_metadata,
appliance_size=appliance_size)
edge_id = edge_utils.get_router_edge_id(context, router_id)