diff options
author | LIU Yulong <i@liuyulong.me> | 2022-11-14 11:03:44 +0800 |
---|---|---|
committer | LIU Yulong <i@liuyulong.me> | 2023-05-08 08:38:54 +0800 |
commit | dde1d69c78fdada1d4441914e685f8a202f68896 (patch) | |
tree | 2633ae76e264203e779c9748aefa83cd42714180 /neutron/conf | |
parent | 5a17f2b24a51f62c406c1ad0ffa797480ef943f4 (diff) | |
download | neutron-dde1d69c78fdada1d4441914e685f8a202f68896.tar.gz |
Add host metadata haproxy manager
Host haproxy configurations will be rendered by jinja2
template. And a process monitor will be used to manage
the host metadata haproxy, which takes care of the
lifecycle of the host metadata haproxy.
Partially-Implements: blueprint distributed-metadata-datapath
Change-Id: Ie7be84d503f5d60d3c50d3ac3aaaf55c13adf7af
Diffstat (limited to 'neutron/conf')
-rw-r--r-- | neutron/conf/plugins/ml2/drivers/ovs_conf.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/neutron/conf/plugins/ml2/drivers/ovs_conf.py b/neutron/conf/plugins/ml2/drivers/ovs_conf.py index 7bd43dc52d..e895e0098b 100644 --- a/neutron/conf/plugins/ml2/drivers/ovs_conf.py +++ b/neutron/conf/plugins/ml2/drivers/ovs_conf.py @@ -18,6 +18,7 @@ from oslo_config import cfg from neutron._i18n import _ from neutron.conf.agent import common +from neutron.conf.agent.metadata import config as meta_conf DEFAULT_BRIDGE_MAPPINGS = [] @@ -260,6 +261,7 @@ def register_ovs_agent_opts(cfg=cfg.CONF): cfg.register_opts(dhcp_opts, "DHCP") cfg.register_opts(common.DHCP_PROTOCOL_OPTS, "DHCP") cfg.register_opts(local_ip_opts, "LOCAL_IP") + cfg.register_opts(meta_conf.METADATA_PROXY_HANDLER_OPTS, "METADATA") def register_ovs_opts(cfg=cfg.CONF): |