...
|
...
|
@@ -1289,7 +1289,14 @@ fi
|
1289
|
1289
|
# Once neutron agents are started setup initial network elements
|
1290
|
1290
|
if is_service_enabled q-svc && [[ "$NEUTRON_CREATE_INITIAL_NETWORKS" == "True" ]]; then
|
1291
|
1291
|
echo_summary "Creating initial neutron network elements"
|
1292
|
|
- create_neutron_initial_network
|
|
1292
|
+ # Here's where plugins can wire up their own networks instead
|
|
1293
|
+ # of the code in lib/neutron_plugins/services/l3
|
|
1294
|
+ if type -p neutron_plugin_create_initial_networks > /dev/null; then
|
|
1295
|
+ neutron_plugin_create_initial_networks
|
|
1296
|
+ else
|
|
1297
|
+ create_neutron_initial_network
|
|
1298
|
+ fi
|
|
1299
|
+
|
1293
|
1300
|
fi
|
1294
|
1301
|
|
1295
|
1302
|
if is_service_enabled nova; then
|