-
Notifications
You must be signed in to change notification settings - Fork 4
/
storage_container_pe.yml
105 lines (95 loc) · 3.08 KB
/
storage_container_pe.yml
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
pe_creds: &pe_creds
# Specify a user with permission to make API calls.
pe_credential: pe_user # credential reference from "vaults" in global.yml file
pe_container: &pe_container
name: Automation-container
# All these below parameters are optional
#storage_pool_uuid: uuid # Which storage pool to use, comment it to auto pick storage pool
reserved_in_gb: 1 # Represents the minimum exclusively reserved storage capacity available for the storage container
advertisedCapacity_in_gb: 1 # Represents the maximum storage capacity available for the storage container to use
replication_factor: 2 # Number of data copies to maintain
compression_enabled: true # true/ false Only Inline compression is supported yet
compression_delay_in_secs: 0
erasure_code: "OFF" # OFF/ ON # Erasure code requires a minimum of 4 nodes when using RF2 and a minimum of 6 nodes when using RF3
on_disk_dedup: "OFF" # OFF/ ON # Deduplication is not supported with fewer than 3 nodes
nfsWhitelistAddress: [ ] # Access list for storage container
#Create
clusters:
# configure the below clusters in the site
valid-cluster-01-ip:
# Use global pe creds for authentication
<<: *pe_creds
# Use global config
containers:
# Use global storage container config
- <<: *pe_container
valid-cluster-02-ip:
# can be defined locally as well
pe_credential: pe_user # credential reference from "vaults" in global.yml file
containers:
- name: Automation-container1
# All these below parameters are optional
reserved_in_gb: 2
advertisedCapacity_in_gb: 1
replication_factor: 2
compression_enabled: true
compression_delay_in_secs: 0
erasure_code: "OFF"
on_disk_dedup: "OFF"
nfsWhitelistAddress: [ ]
#Delete
clusters:
valid-cluster-01-ip:
pe_credential: pe_user
containers:
- name: Automation-container1
######################################## SCHEMA DOCUMENTATION ########################################
### ---CREATE SCHEMA --- ###
# containers:
# type: list
# required: false
# schema:
# type: dict
# schema:
# name:
# type: string
# required: true
# advertisedCapacity_in_gb:
# type: integer
# required: false
# replication_factor:
# type: integer
# required: true
# compression_enabled:
# type: boolean
# required: false
# compression_delay_in_secs:
# type: integer
# required: false
# erasure_code:
# type: string
# required: false
# allowed:
# - 'OFF'
# - 'ON'
# on_disk_dedup:
# type: string
# required: false
# allowed:
# - 'OFF'
# - 'ON'
# nfsWhitelistAddress:
# type: list
# required: false
#
### ---DELETE SCHEMA --- ###
# containers:
# type: list
# schema:
# type: dict
# schema:
# name:
# type: string
# required: true
#
####################################################################################################