Repository URL to install this package:
Version:
4.2.29-4.2 ▾
|
python3-dmapi
/
usr
/
lib
/
python3.6
/
site-packages
/
dmapi
/
conf
/
__pycache__
/
compute.cpython-36.pyc
|
---|
3 ÿnaÆ ã @ sV d dl Z d dlmZ d dlmZ d dlmZ ejddddgZeZd d Z dd Z dS ) é N)Úcfg)Útypes)ÚpathsZinstance_name_templatez instance-%08xa+ Template string to be used to generate instance names. This template controls the creation of the database name of an instance. This is *not* the display name you enter when creating an instance (via Horizon or CLI). For a new deployment it is advisable to change the default value (which uses the database autoincrement) to another value which makes use of the attributes of an instance, like ``instance-%(uuid)s``. If you already have instances in your deployment when you change this, your deployment will break. Possible values: * A string which either uses the instance database ID (like the default) * A string with a list of named database columns, for example ``%(id)d`` or ``%(uuid)s`` or ``%(hostname)s``. Related options: * not to be confused with: ``multi_instance_display_name_template`` )ÚdefaultÚhelpc C s | j t d S )N)Ú register_optsÚALL_OPTS)Zconf© r ú/usr/lib/python3.6/compute.pyr + s r c C s dt iS )NZDEFAULT)r r r r r Ú list_opts/ s r )ZsocketZoslo_configr r Z dmapi.confr ZStrOptZdb_optsr r r r r r r Ú<module> s