chef-provisioning-oneview 1.2.1 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +119 -65
- data/chef-provisioning-oneview.gemspec +39 -0
- data/lib/chef/provisioning/create_machine.rb +43 -46
- data/lib/chef/provisioning/customize_machine.rb +50 -48
- data/lib/chef/provisioning/helpers.rb +18 -0
- data/lib/chef/provisioning/icsp/api_v104.rb +3 -2
- data/lib/chef/provisioning/icsp/icsp_helper.rb +288 -0
- data/lib/chef/provisioning/icsp/rest.rb +50 -0
- data/lib/chef/provisioning/oneview/oneview_helper.rb +53 -0
- data/lib/chef/provisioning/oneview/san_storage.rb +69 -69
- data/lib/chef/provisioning/oneview_driver.rb +124 -105
- data/lib/chef/provisioning/version.rb +1 -1
- metadata +23 -61
- data/Rakefile +0 -19
- data/lib/chef/provisioning/icsp/icsp_api.rb +0 -284
- data/lib/chef/provisioning/oneview/oneview_api.rb +0 -186
- data/lib/chef/provisioning/oneview/v1.2/api.rb +0 -3
- data/lib/chef/provisioning/oneview/v2.0/api.rb +0 -3
- data/lib/chef/provisioning/rest.rb +0 -52
- data/spec/shared_context.rb +0 -78
- data/spec/spec_helper.rb +0 -23
- data/spec/support/fake_action_handler.rb +0 -6
- data/spec/support/fake_icsp.rb +0 -73
- data/spec/support/fake_machine_spec.rb +0 -18
- data/spec/support/fake_oneview.rb +0 -148
- data/spec/support/fixtures/icsp/v102/error_404.json +0 -14
- data/spec/support/fixtures/icsp/v102/login.json +0 -5
- data/spec/support/fixtures/icsp/v102/os-deployment-build-plans.json +0 -99
- data/spec/support/fixtures/icsp/v102/os-deployment-servers.json +0 -179
- data/spec/support/fixtures/icsp/v102/os-deployment-servers_1670001.json +0 -83
- data/spec/support/fixtures/icsp/v102/os-deployment-servers_fakesn.json +0 -9
- data/spec/support/fixtures/icsp/v102/server_by_sn_VCGE9KB041.json +0 -45
- data/spec/support/fixtures/icsp/v102/server_by_sn_empty.json +0 -16
- data/spec/support/fixtures/icsp/v102/version.json +0 -4
- data/spec/support/fixtures/oneview/v120/error_404.json +0 -14
- data/spec/support/fixtures/oneview/v120/login.json +0 -5
- data/spec/support/fixtures/oneview/v120/server-hardware.json +0 -1476
- data/spec/support/fixtures/oneview/v120/server-hardware_Template-WebServer.json +0 -468
- data/spec/support/fixtures/oneview/v120/server-hardware_specific.json +0 -151
- data/spec/support/fixtures/oneview/v120/server-profiles.json +0 -369
- data/spec/support/fixtures/oneview/v120/server-profiles_invalid_filter.json +0 -14
- data/spec/support/fixtures/oneview/v120/server-profiles_name_Template-WebServer.json +0 -133
- data/spec/support/fixtures/oneview/v120/server-profiles_name_Template-WebServerWithSAN.json +0 -200
- data/spec/support/fixtures/oneview/v120/server-profiles_name_chef-web01.json +0 -133
- data/spec/support/fixtures/oneview/v120/server-profiles_name_chef-web03.json +0 -133
- data/spec/support/fixtures/oneview/v120/server-profiles_name_empty.json +0 -15
- data/spec/support/fixtures/oneview/v120/server-profiles_sn_VCGE9KB041.json +0 -133
- data/spec/support/fixtures/oneview/v120/server-profiles_sn_VCGE9KB042.json +0 -206
- data/spec/support/fixtures/oneview/v120/server-profiles_sn_empty.json +0 -15
- data/spec/support/fixtures/oneview/v120/storage-volumes_1B5D3CA2-6C5B-41C2-8B97-1821F1883F22.json +0 -26
- data/spec/support/fixtures/oneview/v120/tasks_fake_active.json +0 -5
- data/spec/support/fixtures/oneview/v120/tasks_fake_complete.json +0 -5
- data/spec/support/fixtures/oneview/v120/version.json +0 -4
- data/spec/support/fixtures/oneview/v200/server-profile-templates_WebServerTemplate.json +0 -109
- data/spec/support/fixtures/oneview/v200/server-profile-templates_WebServerTemplateWithSAN.json +0 -144
- data/spec/support/fixtures/oneview/v200/server-profile-templates_invalid.json +0 -16
- data/spec/support/fixtures/oneview/v200/server-profile-templates_new-profile_WebServerTemplate.json +0 -125
- data/spec/support/fixtures/oneview/v200/server-profile-templates_new-profile_WebServerTemplateWithSAN.json +0 -178
- data/spec/support/fixtures/oneview/v200/version.json +0 -4
- data/spec/unit/create_machine_spec.rb +0 -78
- data/spec/unit/destroy_spec.rb +0 -26
- data/spec/unit/icsp_nic_teams_spec.rb +0 -38
- data/spec/unit/icsp_search_spec.rb +0 -25
- data/spec/unit/oneview_driver_spec.rb +0 -79
- data/spec/unit/oneview_login_spec.rb +0 -17
- data/spec/unit/oneview_power_spec.rb +0 -51
- data/spec/unit/oneview_san_spec.rb +0 -86
- data/spec/unit/oneview_search_spec.rb +0 -63
- data/spec/unit/rest_api_spec.rb +0 -115
@@ -1,151 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"type": "server-hardware-3",
|
3
|
-
"name": "dazzle, bay 2",
|
4
|
-
"state": "ProfileApplied",
|
5
|
-
"stateReason": "NotApplicable",
|
6
|
-
"assetTag": "\n ",
|
7
|
-
"category": "server-hardware",
|
8
|
-
"created": "2015-07-02T16:24:23.447Z",
|
9
|
-
"description": null,
|
10
|
-
"eTag": "1439180722361",
|
11
|
-
"formFactor": "HalfHeight",
|
12
|
-
"licensingIntent": "OneViewNoiLO",
|
13
|
-
"locationUri": "/rest/enclosures/09SGH236PMVW",
|
14
|
-
"memoryMb": 16384,
|
15
|
-
"model": "ProLiant BL460c Gen8",
|
16
|
-
"modified": "2015-08-10T04:25:22.361Z",
|
17
|
-
"mpDnsName": "ILOMAQ96601Z4",
|
18
|
-
"mpFirmwareVersion": "2.10 Jan 15 2015",
|
19
|
-
"mpIpAddress": "172.125.24.230",
|
20
|
-
"mpModel": "iLO4",
|
21
|
-
"partNumber": "666161-B21",
|
22
|
-
"portMap": {
|
23
|
-
"deviceSlots": [
|
24
|
-
{
|
25
|
-
"deviceName": "HP FlexFabric 10Gb 2-port 554FLB Adapter",
|
26
|
-
"location": "Flb",
|
27
|
-
"oaSlotNumber": 9,
|
28
|
-
"physicalPorts": [
|
29
|
-
{
|
30
|
-
"interconnectPort": 2,
|
31
|
-
"interconnectUri": "/rest/interconnects/34501559-719f-4393-9fb1-a43714037f06",
|
32
|
-
"mac": "11:11:11:11:31:28",
|
33
|
-
"portNumber": 1,
|
34
|
-
"type": "Ethernet",
|
35
|
-
"virtualPorts": [
|
36
|
-
{
|
37
|
-
"mac": "11:11:11:11:01:14",
|
38
|
-
"portFunction": "a",
|
39
|
-
"portNumber": 1,
|
40
|
-
"wwnn": null,
|
41
|
-
"wwpn": null
|
42
|
-
},
|
43
|
-
{
|
44
|
-
"mac": "11:11:11:11:31:29",
|
45
|
-
"portFunction": "b",
|
46
|
-
"portNumber": 2,
|
47
|
-
"wwnn": "11:11:11:11:11:11:11:11",
|
48
|
-
"wwpn": "11:11:11:11:11:11:11:11"
|
49
|
-
},
|
50
|
-
{
|
51
|
-
"mac": "11:11:11:11:31:2A",
|
52
|
-
"portFunction": "c",
|
53
|
-
"portNumber": 3,
|
54
|
-
"wwnn": null,
|
55
|
-
"wwpn": null
|
56
|
-
},
|
57
|
-
{
|
58
|
-
"mac": "11:11:11:11:31:2B",
|
59
|
-
"portFunction": "d",
|
60
|
-
"portNumber": 4,
|
61
|
-
"wwnn": null,
|
62
|
-
"wwpn": null
|
63
|
-
}
|
64
|
-
],
|
65
|
-
"wwn": null
|
66
|
-
},
|
67
|
-
{
|
68
|
-
"interconnectPort": 2,
|
69
|
-
"interconnectUri": "/rest/interconnects/d6c76eb3-10e6-43bf-95a6-ec824dc7bb2e",
|
70
|
-
"mac": "11:11:11:11:31:2C",
|
71
|
-
"portNumber": 2,
|
72
|
-
"type": "Ethernet",
|
73
|
-
"virtualPorts": [
|
74
|
-
{
|
75
|
-
"mac": "11:11:11:11:01:15",
|
76
|
-
"portFunction": "a",
|
77
|
-
"portNumber": 1,
|
78
|
-
"wwnn": null,
|
79
|
-
"wwpn": null
|
80
|
-
},
|
81
|
-
{
|
82
|
-
"mac": "11:11:11:11:31:2D",
|
83
|
-
"portFunction": "b",
|
84
|
-
"portNumber": 2,
|
85
|
-
"wwnn": "11:11:11:11:11:11:11:11",
|
86
|
-
"wwpn": "11:11:11:11:11:11:11:11"
|
87
|
-
},
|
88
|
-
{
|
89
|
-
"mac": "11:11:11:11:31:2E",
|
90
|
-
"portFunction": "c",
|
91
|
-
"portNumber": 3,
|
92
|
-
"wwnn": null,
|
93
|
-
"wwpn": null
|
94
|
-
},
|
95
|
-
{
|
96
|
-
"mac": "11:11:11:11:31:2F",
|
97
|
-
"portFunction": "d",
|
98
|
-
"portNumber": 4,
|
99
|
-
"wwnn": null,
|
100
|
-
"wwpn": null
|
101
|
-
}
|
102
|
-
],
|
103
|
-
"wwn": null
|
104
|
-
}
|
105
|
-
],
|
106
|
-
"slotNumber": 1
|
107
|
-
},
|
108
|
-
{
|
109
|
-
"deviceName": "",
|
110
|
-
"location": "Mezz",
|
111
|
-
"oaSlotNumber": 1,
|
112
|
-
"physicalPorts": [
|
113
|
-
|
114
|
-
],
|
115
|
-
"slotNumber": 1
|
116
|
-
},
|
117
|
-
{
|
118
|
-
"deviceName": "",
|
119
|
-
"location": "Mezz",
|
120
|
-
"oaSlotNumber": 2,
|
121
|
-
"physicalPorts": [
|
122
|
-
|
123
|
-
],
|
124
|
-
"slotNumber": 2
|
125
|
-
}
|
126
|
-
]
|
127
|
-
},
|
128
|
-
"position": 2,
|
129
|
-
"powerLock": false,
|
130
|
-
"powerState": "Powering-On",
|
131
|
-
"processorCoreCount": 6,
|
132
|
-
"processorCount": 1,
|
133
|
-
"processorSpeedMhz": 2000,
|
134
|
-
"processorType": "Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz",
|
135
|
-
"refreshState": "NotRefreshing",
|
136
|
-
"romVersion": "I31 11/02/2014",
|
137
|
-
"serialNumber": "MAQ96601Z4",
|
138
|
-
"serverGroupUri": "/rest/enclosure-groups/3a11ccdd-b352-4046-a568-a8b0faa6cc39",
|
139
|
-
"serverHardwareTypeUri": "/rest/server-hardware-types/2947DC35-BE48-4075-A3FD-254A9B42F5BD",
|
140
|
-
"serverProfileUri": "/rest/server-profiles/1c5e807d-acbe-4ee8-868b-2fb0b6504474",
|
141
|
-
"shortModel": "BL460c Gen8",
|
142
|
-
"signature": {
|
143
|
-
"personalityChecksum": 2015957748,
|
144
|
-
"serverHwChecksum": 508556751
|
145
|
-
},
|
146
|
-
"status": "OK",
|
147
|
-
"uri": "/rest/server-hardware/31363636-3136-584D-5132-333230314D38",
|
148
|
-
"uuid": "31363636-3136-584D-5132-333230314D38",
|
149
|
-
"virtualSerialNumber": "VCGE9KB041",
|
150
|
-
"virtualUuid": "1c5e807d-acbe-4ee8-868b-2fb0b6504474"
|
151
|
-
}
|
@@ -1,369 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"type": "ServerProfileListV4",
|
3
|
-
"members": [
|
4
|
-
{
|
5
|
-
"type": "ServerProfileV4",
|
6
|
-
"uri": "/rest/server-profiles/1c5e807d-acbe-4ee8-868b-2fb0b6504474",
|
7
|
-
"name": "chef-web01",
|
8
|
-
"description": "Web server machine template",
|
9
|
-
"serialNumber": "VCGE9KB041",
|
10
|
-
"uuid": "1c5e807d-acbe-4ee8-868b-2fb0b6504474",
|
11
|
-
"serverHardwareUri": "/rest/server-hardware/31363636-3136-584D-5132-333230314D38",
|
12
|
-
"serverHardwareTypeUri": "/rest/server-hardware-types/2947DC35-BE48-4075-A3FD-254A9B42F5BD",
|
13
|
-
"enclosureGroupUri": "/rest/enclosure-groups/3a11ccdd-b352-4046-a568-a8b0faa6cc39",
|
14
|
-
"enclosureUri": "/rest/enclosures/09SGH236PMVW",
|
15
|
-
"enclosureBay": 2,
|
16
|
-
"affinity": "Bay",
|
17
|
-
"associatedServer": null,
|
18
|
-
"hideUnusedFlexNics": true,
|
19
|
-
"firmware": {
|
20
|
-
"forceInstallFirmware": false,
|
21
|
-
"manageFirmware": true,
|
22
|
-
"firmwareBaselineUri": "/rest/firmware-drivers/bp-hp-service-pack-for-proliant-oneview-2014-11-30-05"
|
23
|
-
},
|
24
|
-
"macType": "Virtual",
|
25
|
-
"wwnType": "Virtual",
|
26
|
-
"serialNumberType": "Virtual",
|
27
|
-
"category": "server-profiles",
|
28
|
-
"created": "20150810T040139.738Z",
|
29
|
-
"modified": "20150810T042450.221Z",
|
30
|
-
"status": "OK",
|
31
|
-
"state": "Normal",
|
32
|
-
"inProgress": false,
|
33
|
-
"taskUri": "/rest/tasks/2A17C3F9-6DBF-40B1-B99E-E8BA40848B40",
|
34
|
-
"connections": [
|
35
|
-
{
|
36
|
-
"id": 1,
|
37
|
-
"name": "Altair PXE 1133",
|
38
|
-
"functionType": "Ethernet",
|
39
|
-
"deploymentStatus": "Deployed",
|
40
|
-
"networkUri": "/rest/ethernet-networks/02b0b5c3-1a0a-4d5f-b5c9-0c7532cb1e5e",
|
41
|
-
"portId": "Flb 1:1-a",
|
42
|
-
"interconnectUri": "/rest/interconnects/34501559-719f-4393-9fb1-a43714037f06",
|
43
|
-
"macType": "Virtual",
|
44
|
-
"wwpnType": "Virtual",
|
45
|
-
"mac": "11:11:11:11:01:14",
|
46
|
-
"wwnn": null,
|
47
|
-
"wwpn": null,
|
48
|
-
"requestedMbps": "2500",
|
49
|
-
"allocatedMbps": 2500,
|
50
|
-
"maximumMbps": 10000,
|
51
|
-
"boot": {
|
52
|
-
"priority": "Primary"
|
53
|
-
}
|
54
|
-
},
|
55
|
-
{
|
56
|
-
"id": 2,
|
57
|
-
"name": "corpnet 10",
|
58
|
-
"functionType": "Ethernet",
|
59
|
-
"deploymentStatus": "Deployed",
|
60
|
-
"networkUri": "/rest/ethernet-networks/7a4698ae-5933-4e2e-8af3-57893c23a2d2",
|
61
|
-
"portId": "Flb 1:2-a",
|
62
|
-
"interconnectUri": "/rest/interconnects/d6c76eb3-10e6-43bf-95a6-ec824dc7bb2e",
|
63
|
-
"macType": "Virtual",
|
64
|
-
"wwpnType": "Virtual",
|
65
|
-
"mac": "11:11:11:11:01:15",
|
66
|
-
"wwnn": null,
|
67
|
-
"wwpn": null,
|
68
|
-
"requestedMbps": "2500",
|
69
|
-
"allocatedMbps": 2500,
|
70
|
-
"maximumMbps": 10000,
|
71
|
-
"boot": {
|
72
|
-
"priority": "NotBootable"
|
73
|
-
}
|
74
|
-
}
|
75
|
-
],
|
76
|
-
"bootMode": null,
|
77
|
-
"boot": {
|
78
|
-
"manageBoot": true,
|
79
|
-
"order": [
|
80
|
-
"HardDisk",
|
81
|
-
"PXE",
|
82
|
-
"CD",
|
83
|
-
"Floppy",
|
84
|
-
"USB"
|
85
|
-
]
|
86
|
-
},
|
87
|
-
"bios": {
|
88
|
-
"manageBios": true,
|
89
|
-
"overriddenSettings": [
|
90
|
-
{
|
91
|
-
"id": "158",
|
92
|
-
"value": "2"
|
93
|
-
},
|
94
|
-
{
|
95
|
-
"id": "181",
|
96
|
-
"value": "1"
|
97
|
-
},
|
98
|
-
{
|
99
|
-
"id": "176",
|
100
|
-
"value": "1"
|
101
|
-
}
|
102
|
-
]
|
103
|
-
},
|
104
|
-
"localStorage": {
|
105
|
-
"logicalDrives": [
|
106
|
-
{
|
107
|
-
"raidLevel": "RAID0",
|
108
|
-
"bootable": true
|
109
|
-
}
|
110
|
-
],
|
111
|
-
"manageLocalStorage": true,
|
112
|
-
"initialize": false
|
113
|
-
},
|
114
|
-
"sanStorage": {
|
115
|
-
"volumeAttachments": [
|
116
|
-
|
117
|
-
],
|
118
|
-
"manageSanStorage": false
|
119
|
-
},
|
120
|
-
"eTag": "1439179303124/6"
|
121
|
-
},
|
122
|
-
{
|
123
|
-
"type": "ServerProfileV4",
|
124
|
-
"uri": "/rest/server-profiles/6c5e4e2b-5461-4978-9807-c96a7e0d445b",
|
125
|
-
"name": "chef-web02",
|
126
|
-
"description": "Web server machine template",
|
127
|
-
"serialNumber": "VCGE7KB963",
|
128
|
-
"uuid": "6c5e4e2b-5461-4978-9807-c96a7e0d445b",
|
129
|
-
"serverHardwareUri": "/rest/server-hardware/31363636-3136-584D-5132-333230314D58",
|
130
|
-
"serverHardwareTypeUri": "/rest/server-hardware-types/2947DC35-BE48-4075-A3FD-254A9B42F5BD",
|
131
|
-
"enclosureGroupUri": "/rest/enclosure-groups/3a11ccdd-b352-4046-a568-a8b0faa6cc39",
|
132
|
-
"enclosureUri": "/rest/enclosures/09SGH236PMVW",
|
133
|
-
"enclosureBay": 3,
|
134
|
-
"affinity": "Bay",
|
135
|
-
"associatedServer": null,
|
136
|
-
"hideUnusedFlexNics": true,
|
137
|
-
"firmware": {
|
138
|
-
"forceInstallFirmware": false,
|
139
|
-
"manageFirmware": true,
|
140
|
-
"firmwareBaselineUri": "/rest/firmware-drivers/bp-hp-service-pack-for-proliant-oneview-2014-11-30-05"
|
141
|
-
},
|
142
|
-
"macType": "Virtual",
|
143
|
-
"wwnType": "Virtual",
|
144
|
-
"serialNumberType": "Virtual",
|
145
|
-
"category": "server-profiles",
|
146
|
-
"created": "20150810T040150.548Z",
|
147
|
-
"modified": "20150810T042504.190Z",
|
148
|
-
"status": "OK",
|
149
|
-
"state": "Normal",
|
150
|
-
"inProgress": false,
|
151
|
-
"taskUri": "/rest/tasks/449E1A81-E6F2-45B7-AD11-AB398EFDC4D7",
|
152
|
-
"connections": [
|
153
|
-
{
|
154
|
-
"id": 1,
|
155
|
-
"name": "Altair PXE 1133",
|
156
|
-
"functionType": "Ethernet",
|
157
|
-
"deploymentStatus": "Deployed",
|
158
|
-
"networkUri": "/rest/ethernet-networks/02b0b5c3-1a0a-4d5f-b5c9-0c7532cb1e5e",
|
159
|
-
"portId": "Flb 1:1-a",
|
160
|
-
"interconnectUri": "/rest/interconnects/34501559-719f-4393-9fb1-a43714037f06",
|
161
|
-
"macType": "Virtual",
|
162
|
-
"wwpnType": "Virtual",
|
163
|
-
"mac": "11:11:11:11:01:16",
|
164
|
-
"wwnn": null,
|
165
|
-
"wwpn": null,
|
166
|
-
"requestedMbps": "2500",
|
167
|
-
"allocatedMbps": 2500,
|
168
|
-
"maximumMbps": 10000,
|
169
|
-
"boot": {
|
170
|
-
"priority": "Primary"
|
171
|
-
}
|
172
|
-
},
|
173
|
-
{
|
174
|
-
"id": 2,
|
175
|
-
"name": "corpnet 10",
|
176
|
-
"functionType": "Ethernet",
|
177
|
-
"deploymentStatus": "Deployed",
|
178
|
-
"networkUri": "/rest/ethernet-networks/7a4698ae-5933-4e2e-8af3-57893c23a2d2",
|
179
|
-
"portId": "Flb 1:2-a",
|
180
|
-
"interconnectUri": "/rest/interconnects/d6c76eb3-10e6-43bf-95a6-ec824dc7bb2e",
|
181
|
-
"macType": "Virtual",
|
182
|
-
"wwpnType": "Virtual",
|
183
|
-
"mac": "11:11:11:11:01:17",
|
184
|
-
"wwnn": null,
|
185
|
-
"wwpn": null,
|
186
|
-
"requestedMbps": "2500",
|
187
|
-
"allocatedMbps": 2500,
|
188
|
-
"maximumMbps": 10000,
|
189
|
-
"boot": {
|
190
|
-
"priority": "NotBootable"
|
191
|
-
}
|
192
|
-
}
|
193
|
-
],
|
194
|
-
"bootMode": null,
|
195
|
-
"boot": {
|
196
|
-
"manageBoot": true,
|
197
|
-
"order": [
|
198
|
-
"HardDisk",
|
199
|
-
"PXE",
|
200
|
-
"CD",
|
201
|
-
"Floppy",
|
202
|
-
"USB"
|
203
|
-
]
|
204
|
-
},
|
205
|
-
"bios": {
|
206
|
-
"manageBios": true,
|
207
|
-
"overriddenSettings": [
|
208
|
-
{
|
209
|
-
"id": "181",
|
210
|
-
"value": "1"
|
211
|
-
},
|
212
|
-
{
|
213
|
-
"id": "176",
|
214
|
-
"value": "1"
|
215
|
-
},
|
216
|
-
{
|
217
|
-
"id": "158",
|
218
|
-
"value": "2"
|
219
|
-
}
|
220
|
-
]
|
221
|
-
},
|
222
|
-
"localStorage": {
|
223
|
-
"logicalDrives": [
|
224
|
-
{
|
225
|
-
"raidLevel": "RAID0",
|
226
|
-
"bootable": true
|
227
|
-
}
|
228
|
-
],
|
229
|
-
"manageLocalStorage": true,
|
230
|
-
"initialize": false
|
231
|
-
},
|
232
|
-
"sanStorage": {
|
233
|
-
"volumeAttachments": [
|
234
|
-
|
235
|
-
],
|
236
|
-
"manageSanStorage": false
|
237
|
-
},
|
238
|
-
"eTag": "1439179313913/6"
|
239
|
-
},
|
240
|
-
{
|
241
|
-
"type": "ServerProfileV4",
|
242
|
-
"uri": "/rest/server-profiles/a16654c6-d12d-4e42-aa04-8868cf3dc31a",
|
243
|
-
"name": "Template - Web Server",
|
244
|
-
"description": "Web server machine template",
|
245
|
-
"serialNumber": "VCGE9KB035",
|
246
|
-
"uuid": "a16654c6-d12d-4e42-aa04-8868cf3dc31a",
|
247
|
-
"serverHardwareUri": null,
|
248
|
-
"serverHardwareTypeUri": "/rest/server-hardware-types/2947DC35-BE48-4075-A3FD-254A9B42F5BD",
|
249
|
-
"enclosureGroupUri": "/rest/enclosure-groups/3a11ccdd-b352-4046-a568-a8b0faa6cc39",
|
250
|
-
"enclosureUri": null,
|
251
|
-
"enclosureBay": null,
|
252
|
-
"affinity": "Bay",
|
253
|
-
"associatedServer": null,
|
254
|
-
"hideUnusedFlexNics": true,
|
255
|
-
"firmware": {
|
256
|
-
"forceInstallFirmware": false,
|
257
|
-
"manageFirmware": true,
|
258
|
-
"firmwareBaselineUri": "/rest/firmware-drivers/bp-hp-service-pack-for-proliant-oneview-2014-11-30-05"
|
259
|
-
},
|
260
|
-
"macType": "Virtual",
|
261
|
-
"wwnType": "Virtual",
|
262
|
-
"serialNumberType": "Virtual",
|
263
|
-
"category": "server-profiles",
|
264
|
-
"created": "20150730T115836.727Z",
|
265
|
-
"modified": "20150807T051446.275Z",
|
266
|
-
"status": "OK",
|
267
|
-
"state": "Normal",
|
268
|
-
"inProgress": false,
|
269
|
-
"taskUri": "/rest/tasks/26235118-827A-445D-9E5D-F2BBCAC8E9E8",
|
270
|
-
"connections": [
|
271
|
-
{
|
272
|
-
"id": 1,
|
273
|
-
"name": "Altair PXE 1133",
|
274
|
-
"functionType": "Ethernet",
|
275
|
-
"deploymentStatus": "Reserved",
|
276
|
-
"networkUri": "/rest/ethernet-networks/02b0b5c3-1a0a-4d5f-b5c9-0c7532cb1e5e",
|
277
|
-
"portId": "Flb 1:1-a",
|
278
|
-
"interconnectUri": null,
|
279
|
-
"macType": "Virtual",
|
280
|
-
"wwpnType": "Virtual",
|
281
|
-
"mac": "11:11:11:11:00:D8",
|
282
|
-
"wwnn": null,
|
283
|
-
"wwpn": null,
|
284
|
-
"requestedMbps": "2500",
|
285
|
-
"allocatedMbps": 2500,
|
286
|
-
"maximumMbps": 10000,
|
287
|
-
"boot": {
|
288
|
-
"priority": "Primary"
|
289
|
-
}
|
290
|
-
},
|
291
|
-
{
|
292
|
-
"id": 2,
|
293
|
-
"name": "corpnet 10",
|
294
|
-
"functionType": "Ethernet",
|
295
|
-
"deploymentStatus": "Reserved",
|
296
|
-
"networkUri": "/rest/ethernet-networks/7a4698ae-5933-4e2e-8af3-57893c23a2d2",
|
297
|
-
"portId": "Flb 1:2-a",
|
298
|
-
"interconnectUri": null,
|
299
|
-
"macType": "Virtual",
|
300
|
-
"wwpnType": "Virtual",
|
301
|
-
"mac": "11:11:11:11:00:D9",
|
302
|
-
"wwnn": null,
|
303
|
-
"wwpn": null,
|
304
|
-
"requestedMbps": "2500",
|
305
|
-
"allocatedMbps": 2500,
|
306
|
-
"maximumMbps": 10000,
|
307
|
-
"boot": {
|
308
|
-
"priority": "NotBootable"
|
309
|
-
}
|
310
|
-
}
|
311
|
-
],
|
312
|
-
"bootMode": null,
|
313
|
-
"boot": {
|
314
|
-
"manageBoot": true,
|
315
|
-
"order": [
|
316
|
-
"HardDisk",
|
317
|
-
"PXE",
|
318
|
-
"CD",
|
319
|
-
"Floppy",
|
320
|
-
"USB"
|
321
|
-
]
|
322
|
-
},
|
323
|
-
"bios": {
|
324
|
-
"manageBios": true,
|
325
|
-
"overriddenSettings": [
|
326
|
-
{
|
327
|
-
"id": "181",
|
328
|
-
"value": "1"
|
329
|
-
},
|
330
|
-
{
|
331
|
-
"id": "158",
|
332
|
-
"value": "2"
|
333
|
-
},
|
334
|
-
{
|
335
|
-
"id": "176",
|
336
|
-
"value": "1"
|
337
|
-
}
|
338
|
-
]
|
339
|
-
},
|
340
|
-
"localStorage": {
|
341
|
-
"logicalDrives": [
|
342
|
-
{
|
343
|
-
"raidLevel": "RAID0",
|
344
|
-
"bootable": true
|
345
|
-
}
|
346
|
-
],
|
347
|
-
"manageLocalStorage": true,
|
348
|
-
"initialize": true
|
349
|
-
},
|
350
|
-
"sanStorage": {
|
351
|
-
"volumeAttachments": [
|
352
|
-
|
353
|
-
],
|
354
|
-
"manageSanStorage": false
|
355
|
-
},
|
356
|
-
"eTag": "1438924486161/12"
|
357
|
-
}
|
358
|
-
],
|
359
|
-
"total": 3,
|
360
|
-
"start": 0,
|
361
|
-
"prevPageUri": null,
|
362
|
-
"nextPageUri": null,
|
363
|
-
"count": 3,
|
364
|
-
"category": "server-profiles",
|
365
|
-
"created": "20150810T223033.707Z",
|
366
|
-
"eTag": "20150810T223033.707Z",
|
367
|
-
"modified": "20150810T223033.707Z",
|
368
|
-
"uri": "/rest/server-profiles"
|
369
|
-
}
|