blob: 3ec185bae6b1795ccbdfc54349ce666491ef1fa4 [file] [log] [blame]
Slawek Kaplonski7f6d9282021-10-27 16:40:30 +02001#!/bin/bash
2
3function configure_placement_service_plugin {
4 neutron_service_plugin_class_add "placement"
5}
6
7function configure_placement_neutron {
8 iniset $NEUTRON_CONF placement auth_type "$NEUTRON_PLACEMENT_AUTH_TYPE"
9 iniset $NEUTRON_CONF placement auth_url "$KEYSTONE_SERVICE_URI"
10 iniset $NEUTRON_CONF placement username "$NEUTRON_PLACEMENT_USERNAME"
11 iniset $NEUTRON_CONF placement password "$SERVICE_PASSWORD"
12 iniset $NEUTRON_CONF placement user_domain_name "$SERVICE_DOMAIN_NAME"
13 iniset $NEUTRON_CONF placement project_name "$SERVICE_TENANT_NAME"
14 iniset $NEUTRON_CONF placement project_domain_name "$SERVICE_DOMAIN_NAME"
15 iniset $NEUTRON_CONF placement region_name "$REGION_NAME"
16}
17
18function configure_placement_extension {
19 configure_placement_service_plugin
20 configure_placement_neutron
21}