Add notes for network and identity in get_service_list

This commit adds notes for network and identity service in
get_service_list(). Sometimes people (including me) are confusing that
only the two services are `True`. So, this commit is trying to clarify
it.

Change-Id: I0465cb6de2b2f0cfdfee0948e2c3ebc0133357ae
This commit is contained in:
Masayuki Igawa 2017-06-09 15:28:59 +09:00
parent a863236795
commit 9012ba31a6
No known key found for this signature in database
GPG Key ID: 290F53EDC899BF89
1 changed files with 7 additions and 0 deletions

View File

@ -63,7 +63,14 @@ def get_service_list():
'compute': CONF.service_available.nova,
'image': CONF.service_available.glance,
'volume': CONF.service_available.cinder,
# NOTE(masayukig): We have two network services which are neutron and
# nova-network. And we have no way to know whether nova-network is
# available or not. After the pending removal of nova-network from
# nova, we can treat the network/neutron case in the same manner as
# the other services.
'network': True,
# NOTE(masayukig): Tempest tests always require the identity service.
# So we should set this True here.
'identity': True,
'object_storage': CONF.service_available.swift,
}