Files
python-tripleoclient/tripleoclient/constants.py
Dougal Matthews dc138a619a Pass clients to get the get_password function
This was missed in the recent password refactor.

Also:
* Clean up variable names to help distinguish between the previously
  globally defined 'clients' and sometimes locally overriden 'clients'
  variables.
* Update references to obsolete pre-refactor password names, used when
  creating overcloud endpoints outside of puppet.

Co-Authored-By: Julie Pichon <jpichon@redhat.com>
Change-Id: Icc94eea221b72387196ea22e516254073be57fd3
Closes-Bug: #1639174
2016-11-07 08:01:29 +00:00

39 lines
1.6 KiB
Python

# Copyright 2015 Red Hat, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
#
SERVICE_LIST = {
'aodh': {'password_field': 'AodhPassword'},
'ceilometer': {'password_field': 'CeilometerPassword'},
'cinder': {'password_field': 'CinderPassword'},
'cinderv2': {'password_field': 'CinderPassword'},
'glance': {'password_field': 'GlancePassword'},
'gnocchi': {'password_field': 'GnocchiPassword'},
'heat': {'password_field': 'HeatPassword'},
'heatcfn': {},
'ironic': {'password_field': 'IronicPassword'},
'neutron': {'password_field': 'NeutronPassword'},
'nova': {'password_field': 'NovaPassword'},
'swift': {'password_field': 'SwiftPassword'},
'sahara': {'password_field': 'SaharaPassword'},
'trove': {'password_field': 'TrovePassword'},
}
TRIPLEO_HEAT_TEMPLATES = "/usr/share/openstack-tripleo-heat-templates/"
OVERCLOUD_YAML_NAME = "overcloud.yaml"
OVERCLOUD_ROLES_FILE = "roles_data.yaml"
RESOURCE_REGISTRY_NAME = "overcloud-resource-registry-puppet.yaml"
RHEL_REGISTRATION_EXTRACONFIG_NAME = (
"extraconfig/pre_deploy/rhel-registration/")