-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpc_image.yml
57 lines (48 loc) · 1.43 KB
/
pc_image.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
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
images:
# Images that needs to be uploaded to the PC clusters
- url: http://url-to-download-image-from # url where the image file is located
name: image-name # name of the image to be uploaded to the PC clusters
image_type: DISK_IMAGE # image type that is uploaded. Allowed values: DISK_IMAGE, ISO_IMAGE
cluster_name_list: [cluster-1, cluster-2] # cluster names to upload images. We can upload to multiple clusters
#Delete
#TODO Delete Using UUID
images:
- name: image-name
######################################## SCHEMA DOCUMENTATION ########################################
### ---CREATE SCHEMA --- ###
# images:
# type: list
# schema:
# type: dict
# schema:
# url:
# type: string
# required: true
# name:
# type: string
# required: true
# cluster_name_list:
# type: list
# required: true
# image_type:
# type: string
# required: true
# allowed:
# - DISK_IMAGE
# - ISO_IMAGE
#
### ---DELETE SCHEMA --- ###
# images:
# type: list
# schema:
# type: dict
# schema:
# name:
# type: string
# required: true
#
####################################################################################################