Use config override to update dummy config for FWaaS
Change-Id: I58ea1110a2b726de506f3f09114845602bfe6917
This commit is contained in:
parent
32484dd503
commit
0a256d2942
@ -169,6 +169,7 @@ class NsxFwaasCallbacksV2(firewall_l3_agent_v2.L3WithFWaaS):
|
|||||||
def _router_dict_to_obj(self, r):
|
def _router_dict_to_obj(self, r):
|
||||||
# The callbacks expect a router-info object with an agent config
|
# The callbacks expect a router-info object with an agent config
|
||||||
agent_conf = cfg.CONF
|
agent_conf = cfg.CONF
|
||||||
|
agent_conf.set_override('metadata_access_mark', '0x1')
|
||||||
agent_conf.metadata_access_mark = '0x1'
|
agent_conf.metadata_access_mark = '0x1'
|
||||||
return router_info.RouterInfo(
|
return router_info.RouterInfo(
|
||||||
None, r['id'], router=r,
|
None, r['id'], router=r,
|
||||||
|
Loading…
Reference in New Issue
Block a user