File: ml2

package info (click to toggle)
neutron 2%3A27.0.1-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 40,004 kB
  • sloc: python: 296,384; sh: 1,507; makefile: 292; ruby: 35; sql: 19
file content (12 lines) | stat: -rw-r--r-- 621 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
function configure_ml2_extension_drivers {
    if is_neutron_legacy_enabled; then
        # NOTE(yamamoto): This overwrites what Devstack's neutron module set,
        # with the latest set of drivers.
        # While we modifies Q_ML2_PLUGIN_EXT_DRIVERS (via
        # neutron_ml2_extension_driver_add calls) in the post-config phase,
        # lib/neutron-legcay populates this in "configure_neutron", which is
        # before post-config.
        # REVISIT(yamamoto): Probably this ought to be in lib/neutron-legcay
        iniset /$NEUTRON_CORE_PLUGIN_CONF ml2 extension_drivers ${Q_ML2_PLUGIN_EXT_DRIVERS}
    fi
}