Приложение 1
Пример листинга конфигурационного файла /opt/rubackup/etc/rb_module_tionix.conf
# Symbol "#" at the beginning of the line treats as a comment
# "#" in the middle of the line treats as a parameter value
# So please do not use comments in one line with parameter
# Mandatory parameters
# Get config URLs at https://<TIONIX_WEBUI_IP>/dashboard/project/api_access/
identity_url http://public.rubackup.test:5000/v3/
compute_url http://public.rubackup.test:8774/v2.1/6adb8160d0b840878211992d0d2fa0e4
volume_url http://internal.rubackup.test:8776/v3/6adb8160d0b840878211992d0d2fa0e4
# Network URL must be provided without version in path
network_url http://public.rubackup.test:9696
project_id 6adb8160d0b840878211992d0d2fa0e4
# User name on behalf of which the API requests will proceed
username dsafonov
# Password to be used with 'username' to authenticate in API
password 1q2w3e4r
# Domain name to be used with 'username' and 'password' to authenticate in API
domain default
# minimum 1, maximum 300, default 5
timeout 20
# ID of VM in TIONIX platform where current module is deployed - can be obtained from instance info in WEB GUI
rubackup-vm-id 67d27881-f666-4525-84d0-bed3f2330a22
##
## Optional parameters:
# Admin user account info of TIONIX is required to run scripts inside the target VM
admin_name admin
admin_password 123456
# If certificate info is not specified the module will connect to API w/o certificate verification
enable_ssl no
ca_info <path to cert>
# Turn on debug of REST requests
#curl_verbose no