ML2 Nexus mech driver not loading per-switch config from .conf files in config-dir
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
networking-cisco |
New
|
Undecided
|
Unassigned |
Bug Description
In testing RHEL, neutron-
I see configuration in the generic [ml2] section updated when put into the same .conf file as the ml2_mech_
The detail is as follows...
The nexus plugin utilizes variable .ini section names to allow for containment of config for one or more nexus switches. The format of these section names is:
[ml2_
To support this, the networking_
def _create_
"""Create the ML2 device cisco dictionary.
Read data from the ml2_conf_cisco.ini device supported sections.
"""
read_ok = multi_parser.
if len(read_ok) != len(cfg.
raise cfg.Error(_("Some config files were not parsed properly"))
for parsed_file in multi_parser.
for parsed_item in parsed_file.keys():
if dev_id.lower() == 'ml2_mech_
The cfg.CONF.
NOTE: The oslo config opts parser goes through all the files found in both config_file and *.conf in config_dir. But does not update the cfg.CONF.