forked from nutanixdev/zerotouch-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathobjectstore_buckets.yml
109 lines (100 loc) · 2.49 KB
/
objectstore_buckets.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
106
107
108
109
pc_ip: valid-pc-ip
# Specify a user with permission to make API calls.
pc_credential: pc_user # credential reference from "vaults" in global.yml file
#Create
objects:
objectstores:
- name: objectstore01
domain: eng.company.com
cluster: cluster01
network: subnet01
# Specify 4 static IPs
static_ip_list:
- ip1
- ip2
- ip3
- ip4
num_worker_nodes: 1
buckets:
- name: bucket1
user_access_list:
- name: bucket2
user_access_list:
- name: objectstore02
domain: eng.company.com
cluster: cluster01
network: subnet01
# Specify 4 static IPs
static_ip_list:
- ip1
- ip2
- ip3
- ip4
num_worker_nodes: 1
buckets:
- name: bucket1
user_access_list:
#Delete
objects:
objectstores:
- name: objectstore01
######################################## SCHEMA DOCUMENTATION ########################################
### ---CREATE SCHEMA --- ###
# objects:
# type: dict
# schema:
# objectstores:
# type: list
# schema:
# type: dict
# schema:
# name:
# type: string
# required: true
# domain:
# type: string
# required: true
# cluster:
# type: string
# required: true
# network:
# type: string
# required: true
# static_ip_list:
# type: list
# required: true
# num_worker_nodes:
# type: integer
# required: true
# buckets:
# type: list
# schema:
# type: dict
# schema:
# name:
# type: string
# required: true
# user_access_list:
# type: list
# required: true
#
### ---DELETE SCHEMA --- ###
# objects:
# type: dict
# schema:
# objectstores:
# type: list
# schema:
# type: dict
# schema:
# name:
# type: string
# required: true
#
####################################################################################################