From 0a256d29420d10ffbb077e3541db85faf4c6e69d Mon Sep 17 00:00:00 2001 From: Adit Sarfaty Date: Mon, 22 Jul 2019 14:11:58 +0300 Subject: [PATCH] Use config override to update dummy config for FWaaS Change-Id: I58ea1110a2b726de506f3f09114845602bfe6917 --- vmware_nsx/services/fwaas/common/fwaas_callbacks_v2.py | 1 + 1 file changed, 1 insertion(+) diff --git a/vmware_nsx/services/fwaas/common/fwaas_callbacks_v2.py b/vmware_nsx/services/fwaas/common/fwaas_callbacks_v2.py index 23ef14c670..58ef631cd6 100644 --- a/vmware_nsx/services/fwaas/common/fwaas_callbacks_v2.py +++ b/vmware_nsx/services/fwaas/common/fwaas_callbacks_v2.py @@ -169,6 +169,7 @@ class NsxFwaasCallbacksV2(firewall_l3_agent_v2.L3WithFWaaS): def _router_dict_to_obj(self, r): # The callbacks expect a router-info object with an agent config agent_conf = cfg.CONF + agent_conf.set_override('metadata_access_mark', '0x1') agent_conf.metadata_access_mark = '0x1' return router_info.RouterInfo( None, r['id'], router=r,