def print_server_info(service): QINLING_TITLE = r""" /^L_ ,."\ /~\ __ /~ \ ./ \ / _\ _/ \ /T~\|~\_\ / \_ /~| _^ / \ /W \ / V^\/X /~ T . \/ \ ,v-./ ,'`-. /~ ^ H , . \/ ; . \ `. \-' / M ~ | . ; / , _ : . ~\_,-' / ~ . \ / : ' \ ,/` I o. ^ oP '98b - _ 9.` `\9b. 8oO888. oO888P d888b9bo. .8o 888o. 8bo. o 988o. 88888888888888888888888888bo.98888888bo. 98888bo. .d888P 88888888888888888888888888888888888888888888888888888888888 _ __ _ ___ _ (_) ___ / / (_) ___ ___ _ / _ `/ / / / _ \ / / / / / _ \ / _ `/ \_, / /_/ /_//_//_/ /_/ /_//_/ \_, / /_/ /___/ Function as a Service in OpenStack, version: %s """ % version.version_string() print(QINLING_TITLE) print('Launching server components %s...' % service)
/ \ /W \ / V^\/X /~ T . \/ \ ,v-./ ,'`-. /~ ^ H , . \/ ; . \ `. \-' / M ~ | . ; / , _ : . ~\_,-' / ~ . \ / : ' \ ,/` I o. ^ oP '98b - _ 9.` `\9b. 8oO888. oO888P d888b9bo. .8o 888o. 8bo. o 988o. 88888888888888888888888888bo.98888888bo. 98888bo. .d888P 88888888888888888888888888888888888888888888888888888888888 _ __ _ ___ _ (_) ___ / / (_) ___ ___ _ / _ `/ / / / _ \ / / / / / _ \ / _ `/ \_, / /_/ /_//_//_/ /_/ /_//_/ \_, / /_/ /___/ Function as a Service in OpenStack, version: %s """ % version.version_string() def print_server_info(): print(QINLING_TITLE) comp_str = ("[%s]" % ','.join(LAUNCH_OPTIONS) if cfg.CONF.server == ['all'] else cfg.CONF.server) print('Launching server components %s...' % comp_str) def get_properly_ordered_parameters(): """Orders launch parameters in the right order. In oslo it's important the order of the launch parameters.