Merge "Rename OVN metadata agent configuration file"

changes/66/500866/1
Jenkins 5 years ago committed by Gerrit Code Review
commit 5f65d16978

@ -97,7 +97,7 @@ OVN_L3_SCHEDULER=${OVN_L3_SCHEDULER:-leastloaded}
# Neutron directory
NEUTRON_DIR=$DEST/neutron
OVN_META_CONF=$NEUTRON_CONF_DIR/metadata_agent.ini
OVN_META_CONF=$NEUTRON_CONF_DIR/networking_ovn_metadata_agent.ini
# Set variables for building OVS from source
OVS_REPO=$OVN_REPO
@ -178,7 +178,7 @@ function configure_ovn {
mkdir -p $NETWORKING_OVN_DIR/etc/neutron/plugins/ml2
(cd $NETWORKING_OVN_DIR && exec ./tools/generate_config_file_samples.sh)
cp $NETWORKING_OVN_DIR/etc/metadata_agent.ini.sample $OVN_META_CONF
cp $NETWORKING_OVN_DIR/etc/networking_ovn_metadata_agent.ini.sample $OVN_META_CONF
iniset $OVN_META_CONF DEFAULT debug $ENABLE_DEBUG_LOG_LEVEL
iniset $OVN_META_CONF DEFAULT nova_metadata_ip $SERVICE_HOST

@ -87,7 +87,7 @@ latex_documents = [
_config_generator_config_files = [
'ml2_conf.ini',
'metadata_agent.ini',
'networking_ovn_metadata_agent.ini',
]
def _get_config_generator_config_definition(config_file):

@ -1,6 +0,0 @@
==================
metadata_agent.ini
==================
.. show-options::
:config-file: etc/oslo-config-generator/metadata_agent.ini

@ -0,0 +1,6 @@
=================================
networking_ovn_metadata_agent.ini
=================================
.. show-options::
:config-file: etc/oslo-config-generator/networking_ovn_metadata_agent.ini

@ -1,9 +0,0 @@
=========================
Sample metadata_agent.ini
=========================
This sample configuration can also be viewed in `the raw format
<../../_static/config_samples/metadata_agent.conf.sample>`_.
.. literalinclude::
../../_static/config_samples/metadata_agent.conf.sample

@ -0,0 +1,9 @@
========================================
Sample networking_ovn_metadata_agent.ini
========================================
This sample configuration can also be viewed in `the raw format
<../../_static/config_samples/networking_ovn_metadata_agent.conf.sample>`_.
.. literalinclude::
../../_static/config_samples/networking_ovn_metadata_agent.conf.sample

@ -1,5 +1,5 @@
[DEFAULT]
output_file = etc/metadata_agent.ini.sample
output_file = etc/networking_ovn_metadata_agent.ini.sample
wrap_width = 79
namespace = networking_ovn.metadata.agent

@ -76,7 +76,7 @@ commands = oslo_debug_helper {posargs}
commands =
mkdir -p etc/neutron/plugins/ml2
oslo-config-generator --config-file etc/oslo-config-generator/ml2_conf.ini
oslo-config-generator --config-file etc/oslo-config-generator/metadata_agent.ini
oslo-config-generator --config-file etc/oslo-config-generator/networking_ovn_metadata_agent.ini
whitelist_externals = mkdir
[testenv:releasenotes]

Loading…
Cancel
Save