forked from nuagenetworks/nuage-metroae
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstcvs.json
110 lines (110 loc) · 4.33 KB
/
stcvs.json
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
110
{
"$schema": "http://json-schema.org/draft-06/schema#",
"$id": "urn:nuage-metroae:stcvs",
"title": "STCv",
"description": "Specify configuration for STCv VMs.",
"type": "array",
"items": {
"type": "object",
"title": "STCv",
"additionalProperties": false,
"properties": {
"target_server": {
"type": "string",
"format": "hostname",
"title": "Target Server Ip or FQDN",
"description": "Hostname or IP address of the KVM hypervisor where the STCv VM will be instantiated",
"sectionBegin": "Target Server and VM info",
"propertyOrder": 10
},
"target_server_type": {
"type": "string",
"title": "Target Server Type",
"description": "Type of hypervisor environment into which the instance will be created",
"propertyOrder": 20,
"enum": ["kvm", "vcenter"]
},
"hostname": {
"title": "VM Hostname",
"format": "hostname",
"type": "string",
"description": "Hostname to apply to the STCv VM",
"propertyOrder": 30
},
"vmname": {
"type": "string",
"format": "hostname",
"title": "VM name",
"default": "(Hostname)",
"description": "Name of the Virtual Machine on the Hypervisor",
"sectionEnd": "Target Server and VM info",
"propertyOrder": 40
},
"mgmt_ip": {
"title": "VM Management IP",
"description": "IP address to apply to the management interface of the STCv VM",
"type": "string",
"format": "ipv4",
"sectionBegin": "Management Network",
"propertyOrder": 50
},
"mgmt_gateway": {
"title": "VM Management Gateway",
"description": "IP address of the network gateway for the management interface of the STCv VM",
"type": "string",
"format": "ipv4",
"propertyOrder": 60
},
"mgmt_ip_prefix": {
"type": "integer",
"title": "Management Network Prefix Length",
"description": "Network prefix length for the STCv management interface",
"minimum": 0,
"maximum": 32,
"propertyOrder": 70
},
"mgmt_bridge": {
"title": "Management Bridge",
"type": "string",
"description": "Bridge to connect the management interface of the STCv VM",
"sectionEnd": "Management Network",
"propertyOrder": 80
},
"data_bridge1": {
"title": "Data Bridge 1",
"type": "string",
"description": "Bridge to connect the first data interface of the STCv VM",
"sectionBegin": "Data Network",
"propertyOrder": 90
},
"data_bridge2": {
"title": "Data Bridge 2",
"type": "string",
"description": "Bridge to connect the second data interface of the STCv VM",
"sectionEnd": "Data Network",
"propertyOrder": 100
},
"stcv_destination_image_path": {
"title": "Image path",
"type": "string",
"description": "Path to the STCv qcow2 image on the target server",
"sectionBegin": "Image CPU and RAM",
"propertyOrder": 110
},
"vcpus": {
"title": "VM VCPUs",
"type": "integer",
"description": "Number of vCPUs to apply to the STCv VM",
"propertyOrder": 120
},
"ram": {
"title": "VM RAM",
"type": "integer",
"description": "Amount of RAM to apply to the STCv VM",
"sectionEnd": "Image CPU and RAM",
"propertyOrder": 130
}
},
"required": ["hostname", "target_server", "mgmt_ip", "mgmt_gateway", "mgmt_ip_prefix"]
}
}