-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig-example.yaml
More file actions
67 lines (66 loc) · 2.38 KB
/
Copy pathconfig-example.yaml
File metadata and controls
67 lines (66 loc) · 2.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
api:
cloudblue:
url: "https://api.connect.cloud.im/public/v1"
# Main key for manage products, may be commented and set via cli tool for password encryption and security reasons
vendorKey: "ApiKey YOUR_API_KEY"
# Key for manage distributor usage acceptance, may be commented and set via cli tool for password encryption and security reasons
distributorKey: "ApiKey YOUR_API"
vhi:
url: "https://[KEYSTONE_URL]:5000/v3"
username: "vstorage-service-user"
# Password for vhi user, may be commented and set via cli tool for password encryption and security reasons
password: "PASSWORD"
domain: "Default"
project: "admin"
verify: false
onapp:
url: "https://onapp.com"
# OnApp admin user email
username: "admin@example.com"
# OnApp admin user token, may be commented and set via cli tool for password encryption and security reasons
token: "YOUR_TOKEN"
appConfig:
daemon:
# Interval of connector processing fulfillments and usage
interval: 30
# Timeout of one cycle of connector processing fulfillments and usage
timeout: 3600
rootPathUsage: "/var/lib/cloudblue-connector/usage"
connectorDbPath: "/var/lib/cloudblue-connector/connector_db.sqlite3"
# Value in days. How long subscription will be stored after cancellation. Set 0 to disable data retention
dataRetentionPeriod: 0
# List of marketplaces, may be empty
marketplaces:
- "MP-0000"
# List of contracts, may be empty
contracts:
- "CRD-00000-00000-00000"
# List of products
products:
PRD-310-210-450:
approveTemplate: "TL-613-866-807"
name: "pVHI"
type: "vhi"
reportUsage: true
reportUnitsIn: "MB" # MB, GB
# Auto accept usage reports, works only if distributorKey is set
reportUsageAutoAccept: true
# Supported schemas: hourly, daily, monthly
reportPeriod: "daily"
uploadImages: true
paidImages:
CentOS-10: "accfe74c-4a15-4432-a54d-7f43b2c4d0a2"
img2: "UUID"
img3: "UUID"
PRD-000-000-002:
approveTemplate: "TL-989-070-904"
name: "VHS7-OnApp-Cloud"
type: "onapp"
bucketId: 1
userRoleId: 2
groupId: 17
reportUsage: true
# Auto accept usage reports, works only if distributorKey is set
reportUsageAutoAccept: false
# Supported schemas: hourly, daily, monthly
reportPeriod: "daily" # hourly, daily, monthly