Slawek Kaplonski | 7f6d928 | 2021-10-27 16:40:30 +0200 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | |
| 3 | function configure_placement_service_plugin { |
| 4 | neutron_service_plugin_class_add "placement" |
| 5 | } |
| 6 | |
| 7 | function 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 | |
| 18 | function configure_placement_extension { |
| 19 | configure_placement_service_plugin |
| 20 | configure_placement_neutron |
| 21 | } |