@itentialopensource/adapter-vmware_vcenter 0.12.5 → 0.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AUTH.md +4 -4
- package/BROKER.md +31 -19
- package/CHANGELOG.md +16 -0
- package/PROPERTIES.md +5 -0
- package/README.md +60 -63
- package/TAB2.md +78 -1782
- package/compliance-report.json +9 -0
- package/compliance-report.txt +5 -0
- package/metadata.json +15 -3
- package/package.json +13 -15
- package/propertiesSchema.json +5 -0
- package/refs?service=git-upload-pack +0 -0
- package/report/adapterInfo.json +4 -4
- package/report/updateReport1717535466612.json +120 -0
- package/sampleProperties.json +37 -25
- package/test/integration/adapterTestIntegration.js +1 -0
- package/test/unit/adapterTestUnit.js +7 -9
package/TAB2.md
CHANGED
|
@@ -2,263 +2,53 @@
|
|
|
2
2
|
|
|
3
3
|
## Table of Contents
|
|
4
4
|
|
|
5
|
-
- [
|
|
6
|
-
- [
|
|
7
|
-
- [
|
|
8
|
-
- [
|
|
9
|
-
|
|
10
|
-
- [Configuration](#configuration)
|
|
11
|
-
- [Example Properties](#example-properties)
|
|
12
|
-
- [Connection Properties](#connection-properties)
|
|
13
|
-
- [Authentication Properties](#authentication-properties)
|
|
14
|
-
- [Healthcheck Properties](#healthcheck-properties)
|
|
15
|
-
- [Request Properties](#request-properties)
|
|
16
|
-
- [SSL Properties](#ssl-properties)
|
|
17
|
-
- [Throttle Properties](#throttle-properties)
|
|
18
|
-
- [Proxy Properties](#proxy-properties)
|
|
19
|
-
- [Mongo Properties](#mongo-properties)
|
|
20
|
-
- [Device Broker Properties](#device-broker-properties)
|
|
21
|
-
- [Using this Adapter](#using-this-adapter)
|
|
22
|
-
- [Generic Adapter Calls](#generic-adapter-calls)
|
|
23
|
-
- [Adapter Cache Calls](#adapter-cache-calls)
|
|
24
|
-
- [Adapter Broker Calls](#adapter-broker-calls)
|
|
25
|
-
- [Specific Adapter Calls](#specific-adapter-calls)
|
|
26
|
-
- [Authentication](#authentication)
|
|
27
|
-
- [Additional Information](#additional-information)
|
|
28
|
-
- [Enhancements](#enhancements)
|
|
29
|
-
- [Contributing](#contributing)
|
|
30
|
-
- [Helpful Links](#helpful-links)
|
|
31
|
-
- [Node Scripts](#node-scripts)
|
|
32
|
-
- [Troubleshoot](#troubleshoot)
|
|
33
|
-
- [Connectivity Issues](#connectivity-issues)
|
|
34
|
-
- [Functional Issues](#functional-issues)
|
|
5
|
+
- [Specific Adapter Information](#specific-adapter-information)
|
|
6
|
+
- [Authentication](#authentication)
|
|
7
|
+
- [Sample Properties](#sample-properties)
|
|
8
|
+
- [Swagger](#swagger)
|
|
9
|
+
- [Generic Adapter Information](#generic-adapter-information)
|
|
35
10
|
|
|
36
|
-
##
|
|
37
|
-
|
|
38
|
-
These instructions will help you get a copy of the project on your local machine for development and testing. Reading this section is also helpful for deployments as it provides you with pertinent information on prerequisites and properties.
|
|
39
|
-
|
|
40
|
-
### Helpful Background Information
|
|
41
|
-
|
|
42
|
-
There is <a href="https://docs.itential.com/opensource/docs/adapters" target="_blank">Adapter documentation available on the Itential Documentation Site</a>. This documentation includes information and examples that are helpful for:
|
|
43
|
-
|
|
44
|
-
```text
|
|
45
|
-
Authentication
|
|
46
|
-
IAP Service Instance Configuration
|
|
47
|
-
Code Files
|
|
48
|
-
Endpoint Configuration (Action & Schema)
|
|
49
|
-
Mock Data
|
|
50
|
-
Adapter Generic Methods
|
|
51
|
-
Headers
|
|
52
|
-
Security
|
|
53
|
-
Linting and Testing
|
|
54
|
-
Build an Adapter
|
|
55
|
-
Troubleshooting an Adapter
|
|
56
|
-
```
|
|
57
|
-
|
|
58
|
-
Others will be added over time.
|
|
59
|
-
Want to build a new adapter? Use the <a href="https://adapters.itential.io" target="_blank">Itential Adapter Builder</a>
|
|
60
|
-
|
|
61
|
-
### Prerequisites
|
|
62
|
-
|
|
63
|
-
The following is a list of required packages for installation on the system the adapter will run on:
|
|
64
|
-
|
|
65
|
-
```text
|
|
66
|
-
Node.js
|
|
67
|
-
npm
|
|
68
|
-
Git
|
|
69
|
-
```
|
|
70
|
-
|
|
71
|
-
The following list of packages are required for Itential opensource adapters or custom adapters that have been built utilizing the Itential Adapter Builder. You can install these packages by running npm install inside the adapter directory.
|
|
72
|
-
|
|
73
|
-
<table border="1" class="bordered-table">
|
|
74
|
-
<tr>
|
|
75
|
-
<th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Package</span></th>
|
|
76
|
-
<th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Description</span></th>
|
|
77
|
-
</tr>
|
|
78
|
-
<tr>
|
|
79
|
-
<td style="padding:15px">@itentialopensource/adapter-utils</td>
|
|
80
|
-
<td style="padding:15px">Runtime library classes for all adapters; includes request handling, connection, authentication throttling, and translation.</td>
|
|
81
|
-
</tr>
|
|
82
|
-
<tr>
|
|
83
|
-
<td style="padding:15px">ajv</td>
|
|
84
|
-
<td style="padding:15px">Required for validation of adapter properties to integrate with Vmware_vCenter.</td>
|
|
85
|
-
</tr>
|
|
86
|
-
<tr>
|
|
87
|
-
<td style="padding:15px">axios</td>
|
|
88
|
-
<td style="padding:15px">Utilized by the node scripts that are included with the adapter; helps to build and extend the functionality.</td>
|
|
89
|
-
</tr>
|
|
90
|
-
<tr>
|
|
91
|
-
<td style="padding:15px">commander</td>
|
|
92
|
-
<td style="padding:15px">Utilized by the node scripts that are included with the adapter; helps to build and extend the functionality.</td>
|
|
93
|
-
</tr>
|
|
94
|
-
<tr>
|
|
95
|
-
<td style="padding:15px">dns-lookup-promise</td>
|
|
96
|
-
<td style="padding:15px">Utilized by the node scripts that are included with the adapter; helps to build and extend the functionality.</td>
|
|
97
|
-
</tr>
|
|
98
|
-
<tr>
|
|
99
|
-
<td style="padding:15px">fs-extra</td>
|
|
100
|
-
<td style="padding:15px">Utilized by the node scripts that are included with the adapter; helps to build and extend the functionality.</td>
|
|
101
|
-
</tr>
|
|
102
|
-
<tr>
|
|
103
|
-
<td style="padding:15px">mocha</td>
|
|
104
|
-
<td style="padding:15px">Testing library that is utilized by some of the node scripts that are included with the adapter.</td>
|
|
105
|
-
</tr>
|
|
106
|
-
<tr>
|
|
107
|
-
<td style="padding:15px">mocha-param</td>
|
|
108
|
-
<td style="padding:15px">Testing library that is utilized by some of the node scripts that are included with the adapter.</td>
|
|
109
|
-
</tr>
|
|
110
|
-
<tr>
|
|
111
|
-
<td style="padding:15px">mongodb</td>
|
|
112
|
-
<td style="padding:15px">Utilized by the node scripts that are included with the adapter; helps to build and extend the functionality.</td>
|
|
113
|
-
</tr>
|
|
114
|
-
<tr>
|
|
115
|
-
<td style="padding:15px">nyc</td>
|
|
116
|
-
<td style="padding:15px">Testing coverage library that is utilized by some of the node scripts that are included with the adapter.</td>
|
|
117
|
-
</tr>
|
|
118
|
-
<tr>
|
|
119
|
-
<td style="padding:15px">ping</td>
|
|
120
|
-
<td style="padding:15px">Utilized by the node scripts that are included with the adapter; helps to build and extend the functionality.</td>
|
|
121
|
-
</tr>
|
|
122
|
-
<tr>
|
|
123
|
-
<td style="padding:15px">readline-sync</td>
|
|
124
|
-
<td style="padding:15px">Utilized by the node script that comes with the adapter; helps to test unit and integration functionality.</td>
|
|
125
|
-
</tr>
|
|
126
|
-
<tr>
|
|
127
|
-
<td style="padding:15px">semver</td>
|
|
128
|
-
<td style="padding:15px">Utilized by the node scripts that are included with the adapter; helps to build and extend the functionality.</td>
|
|
129
|
-
</tr>
|
|
130
|
-
<tr>
|
|
131
|
-
<td style="padding:15px">winston</td>
|
|
132
|
-
<td style="padding:15px">Utilized by the node scripts that are included with the adapter; helps to build and extend the functionality.</td>
|
|
133
|
-
</tr>
|
|
134
|
-
</table>
|
|
135
|
-
<br>
|
|
136
|
-
|
|
137
|
-
If you are developing and testing a custom adapter, or have testing capabilities on an Itential opensource adapter, you will need to install these packages as well.
|
|
138
|
-
|
|
139
|
-
```text
|
|
140
|
-
chai
|
|
141
|
-
eslint
|
|
142
|
-
eslint-config-airbnb-base
|
|
143
|
-
eslint-plugin-import
|
|
144
|
-
eslint-plugin-json
|
|
145
|
-
testdouble
|
|
146
|
-
```
|
|
147
|
-
|
|
148
|
-
### How to Install
|
|
149
|
-
|
|
150
|
-
1. Set up the name space location in your IAP node_modules.
|
|
151
|
-
|
|
152
|
-
```bash
|
|
153
|
-
cd /opt/pronghorn/current/node_modules (* could be in a different place)
|
|
154
|
-
if the @itentialopensource directory does not exist, create it:
|
|
155
|
-
mkdir @itentialopensource
|
|
156
|
-
```
|
|
157
|
-
|
|
158
|
-
2. Clone/unzip/tar the adapter into your IAP environment.
|
|
159
|
-
|
|
160
|
-
```bash
|
|
161
|
-
cd \@itentialopensource
|
|
162
|
-
git clone git@gitlab.com:\@itentialopensource/adapters/adapter-vmware_vcenter
|
|
163
|
-
or
|
|
164
|
-
unzip adapter-vmware_vcenter.zip
|
|
165
|
-
or
|
|
166
|
-
tar -xvf adapter-vmware_vcenter.tar
|
|
167
|
-
```
|
|
168
|
-
|
|
169
|
-
3. Run the adapter install script.
|
|
170
|
-
|
|
171
|
-
```bash
|
|
172
|
-
cd adapter-vmware_vcenter
|
|
173
|
-
npm install
|
|
174
|
-
npm run lint:errors
|
|
175
|
-
npm run test
|
|
176
|
-
```
|
|
177
|
-
|
|
178
|
-
4. Restart IAP
|
|
179
|
-
|
|
180
|
-
```bash
|
|
181
|
-
systemctl restart pronghorn
|
|
182
|
-
```
|
|
183
|
-
|
|
184
|
-
5. Create an adapter service instance configuration in IAP Admin Essentials GUI
|
|
185
|
-
|
|
186
|
-
6. Copy the properties from the sampleProperties.json and paste them into the service instance configuration in the inner/second properties field.
|
|
187
|
-
|
|
188
|
-
7. Change the adapter service instance configuration (host, port, credentials, etc) in IAP Admin Essentials GUI
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
For an easier install of the adapter use npm run adapter:install, it will install the adapter in IAP. Please note that it can be dependent on where the adapter is installed and on the version of IAP so it is subject to fail. If using this, you can replace step 3-5 above with these:
|
|
192
|
-
|
|
193
|
-
3. Install adapter dependencies and check the adapter.
|
|
194
|
-
|
|
195
|
-
```bash
|
|
196
|
-
cd adapter-vmware_vcenter
|
|
197
|
-
npm run adapter:install
|
|
198
|
-
```
|
|
199
|
-
|
|
200
|
-
4. Restart IAP
|
|
201
|
-
|
|
202
|
-
```bash
|
|
203
|
-
systemctl restart pronghorn
|
|
204
|
-
```
|
|
205
|
-
|
|
206
|
-
5. Change the adapter service instance configuration (host, port, credentials, etc) in IAP Admin Essentials GUI
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
### Testing
|
|
210
|
-
|
|
211
|
-
Mocha is generally used to test all Itential Opensource Adapters. There are unit tests as well as integration tests performed. Integration tests can generally be run as standalone using mock data and running the adapter in stub mode, or as integrated. When running integrated, every effort is made to prevent environmental failures, however there is still a possibility.
|
|
212
|
-
|
|
213
|
-
#### Unit Testing
|
|
214
|
-
|
|
215
|
-
Unit Testing includes testing basic adapter functionality as well as error conditions that are triggered in the adapter prior to any integration. There are two ways to run unit tests. The prefered method is to use the testRunner script; however, both methods are provided here.
|
|
216
|
-
|
|
217
|
-
```bash
|
|
218
|
-
node utils/testRunner --unit
|
|
219
|
-
|
|
220
|
-
npm run test:unit
|
|
221
|
-
npm run test:baseunit
|
|
222
|
-
```
|
|
223
|
-
|
|
224
|
-
To add new unit tests, edit the `test/unit/adapterTestUnit.js` file. The tests that are already in this file should provide guidance for adding additional tests.
|
|
225
|
-
|
|
226
|
-
#### Integration Testing - Standalone
|
|
227
|
-
|
|
228
|
-
Standalone Integration Testing requires mock data to be provided with the entities. If this data is not provided, standalone integration testing will fail. When the adapter is set to run in stub mode (setting the stub property to true), the adapter will run through its code up to the point of making the request. It will then retrieve the mock data and return that as if it had received that data as the response from Vmware_vCenter. It will then translate the data so that the adapter can return the expected response to the rest of the Itential software. Standalone is the default integration test.
|
|
229
|
-
|
|
230
|
-
Similar to unit testing, there are two ways to run integration tests. Using the testRunner script is better because it prevents you from having to edit the test script; it will also resets information after testing is complete so that credentials are not saved in the file.
|
|
231
|
-
|
|
232
|
-
```bash
|
|
233
|
-
node utils/testRunner
|
|
234
|
-
answer no at the first prompt
|
|
235
|
-
|
|
236
|
-
npm run test:integration
|
|
237
|
-
```
|
|
238
|
-
|
|
239
|
-
To add new integration tests, edit the `test/integration/adapterTestIntegration.js` file. The tests that are already in this file should provide guidance for adding additional tests.
|
|
240
|
-
|
|
241
|
-
#### Integration Testing
|
|
11
|
+
## Specific Adapter Information
|
|
12
|
+
### Authentication
|
|
242
13
|
|
|
243
|
-
|
|
14
|
+
This document will go through the steps for authenticating the VMware vCenter adapter with Session Id Authentication. Properly configuring the properties for an adapter in IAP is critical for getting the adapter online. You can read more about adapter authentication <a href="https://docs.itential.com/opensource/docs/authentication" target="_blank">HERE</a>.
|
|
244
15
|
|
|
245
|
-
|
|
16
|
+
#### Session Id Authentication
|
|
17
|
+
The VMware vCenter adapter requires Session Id Authentication. If you change authentication methods, you should change this section accordingly and merge it back into the adapter repository.
|
|
246
18
|
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
19
|
+
STEPS
|
|
20
|
+
1. Ensure you have access to a VMware vCenter server and that it is running
|
|
21
|
+
2. Follow the steps in the README.md to import the adapter into IAP if you have not already done so
|
|
22
|
+
3. Use the properties below for the ```properties.authentication``` field
|
|
23
|
+
```json
|
|
24
|
+
"authentication": {
|
|
25
|
+
"auth_method": "request_token",
|
|
26
|
+
"username": "<username>",
|
|
27
|
+
"password": "<password>",
|
|
28
|
+
"token_timeout": 180000,
|
|
29
|
+
"token_cache": "local",
|
|
30
|
+
"invalid_token_error": 401,
|
|
31
|
+
"auth_field": "header.headers.Cookie",
|
|
32
|
+
"auth_field_format": "vmware-api-session-id={token}"
|
|
33
|
+
}
|
|
251
34
|
```
|
|
35
|
+
you can leave all of the other properties in the authentication section, they will not be used for VMware vCenter Session Id authentication.<br>
|
|
36
|
+
4. Restart the adapter. If your properties were set correctly, the adapter should go online.
|
|
252
37
|
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
38
|
+
#### Troubleshooting
|
|
39
|
+
- Make sure you copied over the correct username and password.
|
|
40
|
+
- Turn on debug level logs for the adapter in IAP Admin Essentials.
|
|
41
|
+
- Turn on auth_logging for the adapter in IAP Admin Essentials (adapter properties).
|
|
42
|
+
- Investigate the logs - in particular:
|
|
43
|
+
- The FULL REQUEST log to make sure the proper headers are being sent with the request.
|
|
44
|
+
- The FULL BODY log to make sure the payload is accurate.
|
|
45
|
+
- The CALL RETURN log to see what the other system is telling us.
|
|
46
|
+
- Credentials should be ** masked ** by the adapter so make sure you verify the username and password - including that there are erroneous spaces at the front or end.
|
|
47
|
+
- Remember when you are done to turn auth_logging off as you do not want to log credentials.
|
|
258
48
|
|
|
259
|
-
|
|
49
|
+
### Sample Properties
|
|
260
50
|
|
|
261
|
-
|
|
51
|
+
Sample Properties can be used to help you configure the adapter in the Itential Automation Platform. You will need to update connectivity information such as the host, port, protocol and credentials.
|
|
262
52
|
|
|
263
53
|
```json
|
|
264
54
|
"properties": {
|
|
@@ -374,30 +164,32 @@ This section defines **all** the properties that are available for the adapter,
|
|
|
374
164
|
}
|
|
375
165
|
},
|
|
376
166
|
"devicebroker": {
|
|
167
|
+
"enabled": false,
|
|
377
168
|
"getDevice": [
|
|
378
169
|
{
|
|
379
|
-
"path": "/
|
|
170
|
+
"path": "/not/mapped",
|
|
380
171
|
"method": "GET",
|
|
381
172
|
"query": {},
|
|
382
173
|
"body": {},
|
|
383
174
|
"headers": {},
|
|
384
175
|
"handleFailure": "ignore",
|
|
385
176
|
"requestFields": {
|
|
386
|
-
"
|
|
177
|
+
"insample": "{port}"
|
|
387
178
|
},
|
|
388
179
|
"responseDatakey": "",
|
|
389
180
|
"responseFields": {
|
|
390
|
-
"name": "
|
|
391
|
-
"ostype": "
|
|
392
|
-
"ostypePrefix": "
|
|
393
|
-
"
|
|
394
|
-
"
|
|
181
|
+
"name": "{this}{||}{that}",
|
|
182
|
+
"ostype": "{osfield}",
|
|
183
|
+
"ostypePrefix": "meraki-",
|
|
184
|
+
"port": "{port}",
|
|
185
|
+
"ipaddress": "{ip_addr}",
|
|
186
|
+
"serial": "{serial}"
|
|
395
187
|
}
|
|
396
188
|
}
|
|
397
189
|
],
|
|
398
190
|
"getDevicesFiltered": [
|
|
399
191
|
{
|
|
400
|
-
"path": "/
|
|
192
|
+
"path": "/not/mapped",
|
|
401
193
|
"method": "GET",
|
|
402
194
|
"pagination": {
|
|
403
195
|
"offsetVar": "",
|
|
@@ -412,42 +204,44 @@ This section defines **all** the properties that are available for the adapter,
|
|
|
412
204
|
"requestFields": {},
|
|
413
205
|
"responseDatakey": "",
|
|
414
206
|
"responseFields": {
|
|
415
|
-
"name": "
|
|
416
|
-
"ostype": "
|
|
417
|
-
"ostypePrefix": "
|
|
418
|
-
"
|
|
419
|
-
"
|
|
207
|
+
"name": "{this}{||}{that}",
|
|
208
|
+
"ostype": "{osfield}",
|
|
209
|
+
"ostypePrefix": "meraki-",
|
|
210
|
+
"port": "{port}",
|
|
211
|
+
"ipaddress": "{ip_addr}",
|
|
212
|
+
"serial": "{serial}",
|
|
213
|
+
"id": "{myid}"
|
|
420
214
|
}
|
|
421
215
|
}
|
|
422
216
|
],
|
|
423
217
|
"isAlive": [
|
|
424
218
|
{
|
|
425
|
-
"path": "/
|
|
219
|
+
"path": "/not/mapped/{devID}",
|
|
426
220
|
"method": "GET",
|
|
427
221
|
"query": {},
|
|
428
222
|
"body": {},
|
|
429
223
|
"headers": {},
|
|
430
224
|
"handleFailure": "ignore",
|
|
431
225
|
"requestFields": {
|
|
432
|
-
"
|
|
226
|
+
"devID": "{id}"
|
|
433
227
|
},
|
|
434
228
|
"responseDatakey": "",
|
|
435
229
|
"responseFields": {
|
|
436
|
-
"status": "
|
|
437
|
-
"statusValue": "
|
|
230
|
+
"status": "return2xx",
|
|
231
|
+
"statusValue": "AD.200"
|
|
438
232
|
}
|
|
439
233
|
}
|
|
440
234
|
],
|
|
441
235
|
"getConfig": [
|
|
442
236
|
{
|
|
443
|
-
"path": "/
|
|
237
|
+
"path": "/not/mapped/{devID}",
|
|
444
238
|
"method": "GET",
|
|
445
239
|
"query": {},
|
|
446
240
|
"body": {},
|
|
447
241
|
"headers": {},
|
|
448
242
|
"handleFailure": "ignore",
|
|
449
243
|
"requestFields": {
|
|
450
|
-
"
|
|
244
|
+
"devID": "{id}"
|
|
451
245
|
},
|
|
452
246
|
"responseDatakey": "",
|
|
453
247
|
"responseFields": {}
|
|
@@ -455,7 +249,7 @@ This section defines **all** the properties that are available for the adapter,
|
|
|
455
249
|
],
|
|
456
250
|
"getCount": [
|
|
457
251
|
{
|
|
458
|
-
"path": "/
|
|
252
|
+
"path": "/not/mapped",
|
|
459
253
|
"method": "GET",
|
|
460
254
|
"query": {},
|
|
461
255
|
"body": {},
|
|
@@ -471,15 +265,15 @@ This section defines **all** the properties that are available for the adapter,
|
|
|
471
265
|
"enabled": false,
|
|
472
266
|
"entities": [
|
|
473
267
|
{
|
|
474
|
-
"entityType": "",
|
|
475
|
-
"frequency":
|
|
268
|
+
"entityType": "device",
|
|
269
|
+
"frequency": 3600,
|
|
476
270
|
"flushOnFail": false,
|
|
477
|
-
"limit":
|
|
271
|
+
"limit": 10000,
|
|
478
272
|
"retryAttempts": 5,
|
|
479
273
|
"sort": true,
|
|
480
274
|
"populate": [
|
|
481
275
|
{
|
|
482
|
-
"path": "",
|
|
276
|
+
"path": "/not/mapped",
|
|
483
277
|
"method": "GET",
|
|
484
278
|
"pagination": {
|
|
485
279
|
"offsetVar": "",
|
|
@@ -493,7 +287,15 @@ This section defines **all** the properties that are available for the adapter,
|
|
|
493
287
|
"handleFailure": "ignore",
|
|
494
288
|
"requestFields": {},
|
|
495
289
|
"responseDatakey": "",
|
|
496
|
-
"responseFields": {
|
|
290
|
+
"responseFields": {
|
|
291
|
+
"name": "{this}{||}{that}",
|
|
292
|
+
"ostype": "{osfield}",
|
|
293
|
+
"ostypePrefix": "meraki-",
|
|
294
|
+
"port": "{port}",
|
|
295
|
+
"ipaddress": "{ip_addr}",
|
|
296
|
+
"serial": "{serial}",
|
|
297
|
+
"id": "{myid}"
|
|
298
|
+
}
|
|
497
299
|
}
|
|
498
300
|
],
|
|
499
301
|
"cachedTasks": [
|
|
@@ -508,1513 +310,7 @@ This section defines **all** the properties that are available for the adapter,
|
|
|
508
310
|
}
|
|
509
311
|
}
|
|
510
312
|
```
|
|
313
|
+
### [Swagger](https://gitlab.com/itentialopensource/adapters/adapter-vmware_vcenter/-/blob/master/report/adapter-openapi.json)
|
|
511
314
|
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
These base properties are used to connect to Vmware_vCenter upon the adapter initially coming up. It is important to set these properties appropriately.
|
|
515
|
-
|
|
516
|
-
<table border="1" class="bordered-table">
|
|
517
|
-
<tr>
|
|
518
|
-
<th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Property</span></th>
|
|
519
|
-
<th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Description</span></th>
|
|
520
|
-
</tr>
|
|
521
|
-
<tr>
|
|
522
|
-
<td style="padding:15px">host</td>
|
|
523
|
-
<td style="padding:15px">Required. A fully qualified domain name or IP address.</td>
|
|
524
|
-
</tr>
|
|
525
|
-
<tr>
|
|
526
|
-
<td style="padding:15px">port</td>
|
|
527
|
-
<td style="padding:15px">Required. Used to connect to the server.</td>
|
|
528
|
-
</tr>
|
|
529
|
-
<tr>
|
|
530
|
-
<td style="padding:15px">base_path</td>
|
|
531
|
-
<td style="padding:15px">Optional. Used to define part of a path that is consistent for all or most endpoints. It makes the URIs easier to use and maintain but can be overridden on individual calls. An example **base_path** might be `/rest/api`. Default is ``.</td>
|
|
532
|
-
</tr>
|
|
533
|
-
<tr>
|
|
534
|
-
<td style="padding:15px">version</td>
|
|
535
|
-
<td style="padding:15px">Optional. Used to set a global version for action endpoints. This makes it faster to update the adapter when endpoints change. As with the base-path, version can be overridden on individual endpoints. Default is ``.</td>
|
|
536
|
-
</tr>
|
|
537
|
-
<tr>
|
|
538
|
-
<td style="padding:15px">cache_location</td>
|
|
539
|
-
<td style="padding:15px">Optional. Used to define where the adapter cache is located. The cache is used to maintain an entity list to improve performance. Storage locally is lost when the adapter is restarted. Storage in Redis is preserved upon adapter restart. Default is none which means no caching of the entity list.</td>
|
|
540
|
-
</tr>
|
|
541
|
-
<tr>
|
|
542
|
-
<td style="padding:15px">encode_pathvars</td>
|
|
543
|
-
<td style="padding:15px">Optional. Used to tell the adapter to encode path variables or not. The default behavior is to encode them so this property can be used to stop that behavior.</td>
|
|
544
|
-
</tr>
|
|
545
|
-
<tr>
|
|
546
|
-
<td style="padding:15px">encode_queryvars</td>
|
|
547
|
-
<td style="padding:15px">Optional. Used to tell the adapter to encode query parameters or not. The default behavior is to encode them so this property can be used to stop that behavior.</td>
|
|
548
|
-
</tr>
|
|
549
|
-
<tr>
|
|
550
|
-
<td style="padding:15px">save_metric</td>
|
|
551
|
-
<td style="padding:15px">Optional. Used to tell the adapter to save metric information (this does not impact metrics returned on calls). This allows the adapter to gather metrics over time. Metric data can be stored in a database or on the file system.</td>
|
|
552
|
-
</tr>
|
|
553
|
-
<tr>
|
|
554
|
-
<td style="padding:15px">stub</td>
|
|
555
|
-
<td style="padding:15px">Optional. Indicates whether the stub should run instead of making calls to Vmware_vCenter (very useful during basic testing). Default is false (which means connect to Vmware_vCenter).</td>
|
|
556
|
-
</tr>
|
|
557
|
-
<tr>
|
|
558
|
-
<td style="padding:15px">protocol</td>
|
|
559
|
-
<td style="padding:15px">Optional. Notifies the adapter whether to use HTTP or HTTPS. Default is HTTP.</td>
|
|
560
|
-
</tr>
|
|
561
|
-
</table>
|
|
562
|
-
<br>
|
|
563
|
-
|
|
564
|
-
A connectivity check tells IAP the adapter has loaded successfully.
|
|
565
|
-
|
|
566
|
-
### Authentication Properties
|
|
567
|
-
|
|
568
|
-
The following properties are used to define the authentication process to Vmware_vCenter.
|
|
569
|
-
|
|
570
|
-
>**Note**: Depending on the method that is used to authenticate with Vmware_vCenter, you may not need to set all of the authentication properties.
|
|
571
|
-
|
|
572
|
-
<table border="1" class="bordered-table">
|
|
573
|
-
<tr>
|
|
574
|
-
<th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Property</span></th>
|
|
575
|
-
<th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Description</span></th>
|
|
576
|
-
</tr>
|
|
577
|
-
<tr>
|
|
578
|
-
<td style="padding:15px">auth_method</td>
|
|
579
|
-
<td style="padding:15px">Required. Used to define the type of authentication currently supported. Authentication methods currently supported are: `basic user_password`, `static_token`, `request_token`, and `no_authentication`.</td>
|
|
580
|
-
</tr>
|
|
581
|
-
<tr>
|
|
582
|
-
<td style="padding:15px">username</td>
|
|
583
|
-
<td style="padding:15px">Used to authenticate with Vmware_vCenter on every request or when pulling a token that will be used in subsequent requests.</td>
|
|
584
|
-
</tr>
|
|
585
|
-
<tr>
|
|
586
|
-
<td style="padding:15px">password</td>
|
|
587
|
-
<td style="padding:15px">Used to authenticate with Vmware_vCenter on every request or when pulling a token that will be used in subsequent requests.</td>
|
|
588
|
-
</tr>
|
|
589
|
-
<tr>
|
|
590
|
-
<td style="padding:15px">token</td>
|
|
591
|
-
<td style="padding:15px">Defines a static token that can be used on all requests. Only used with `static_token` as an authentication method (auth\_method).</td>
|
|
592
|
-
</tr>
|
|
593
|
-
<tr>
|
|
594
|
-
<td style="padding:15px">invalid_token_error</td>
|
|
595
|
-
<td style="padding:15px">Defines the HTTP error that is received when the token is invalid. Notifies the adapter to pull a new token and retry the request. Default is 401.</td>
|
|
596
|
-
</tr>
|
|
597
|
-
<tr>
|
|
598
|
-
<td style="padding:15px">token_timeout</td>
|
|
599
|
-
<td style="padding:15px">Defines how long a token is valid. Measured in milliseconds. Once a dynamic token is no longer valid, the adapter has to pull a new token. If the token_timeout is set to -1, the adapter will pull a token on every request to Vmware_vCenter. If the timeout_token is 0, the adapter will use the expiration from the token response to determine when the token is no longer valid.</td>
|
|
600
|
-
</tr>
|
|
601
|
-
<tr>
|
|
602
|
-
<td style="padding:15px">token_cache</td>
|
|
603
|
-
<td style="padding:15px">Used to determine where the token should be stored (local memory or in Redis).</td>
|
|
604
|
-
</tr>
|
|
605
|
-
<tr>
|
|
606
|
-
<td style="padding:15px">auth_field</td>
|
|
607
|
-
<td style="padding:15px">Defines the request field the authentication (e.g., token are basic auth credentials) needs to be placed in order for the calls to work.</td>
|
|
608
|
-
</tr>
|
|
609
|
-
<tr>
|
|
610
|
-
<td style="padding:15px">auth_field_format</td>
|
|
611
|
-
<td style="padding:15px">Defines the format of the auth\_field. See examples below. Items enclosed in {} inform the adapter to perofrm an action prior to sending the data. It may be to replace the item with a value or it may be to encode the item.</td>
|
|
612
|
-
</tr>
|
|
613
|
-
<tr>
|
|
614
|
-
<td style="padding:15px">auth_logging</td>
|
|
615
|
-
<td style="padding:15px">Setting this true will add some additional logs but this should only be done when trying to debug an issue as certain credential information may be logged out when this is true.</td>
|
|
616
|
-
</tr>
|
|
617
|
-
<tr>
|
|
618
|
-
<td style="padding:15px">client_id</td>
|
|
619
|
-
<td style="padding:15px">Provide a client id when needed, this is common on some types of OAuth.</td>
|
|
620
|
-
</tr>
|
|
621
|
-
<tr>
|
|
622
|
-
<td style="padding:15px">client_secret</td>
|
|
623
|
-
<td style="padding:15px">Provide a client secret when needed, this is common on some types of OAuth.</td>
|
|
624
|
-
</tr>
|
|
625
|
-
<tr>
|
|
626
|
-
<td style="padding:15px">grant_type</td>
|
|
627
|
-
<td style="padding:15px">Provide a grant type when needed, this is common on some types of OAuth.</td>
|
|
628
|
-
</tr>
|
|
629
|
-
</table>
|
|
630
|
-
<br>
|
|
631
|
-
|
|
632
|
-
#### Examples of authentication field format
|
|
633
|
-
|
|
634
|
-
```json
|
|
635
|
-
"{token}"
|
|
636
|
-
"Token {token}"
|
|
637
|
-
"{username}:{password}"
|
|
638
|
-
"Basic {b64}{username}:{password}{/b64}"
|
|
639
|
-
```
|
|
640
|
-
|
|
641
|
-
### Healthcheck Properties
|
|
642
|
-
|
|
643
|
-
The healthcheck properties defines the API that runs the healthcheck to tell the adapter that it can reach Vmware_vCenter. There are currently three types of healthchecks.
|
|
644
|
-
|
|
645
|
-
- None - Not recommended. Adapter will not run a healthcheck. Consequently, unable to determine before making a request if the adapter can reach Vmware_vCenter.
|
|
646
|
-
- Startup - Adapter will check for connectivity when the adapter initially comes up, but it will not check afterwards.
|
|
647
|
-
- Intermittent - Adapter will check connectivity to Vmware_vCenter at a frequency defined in the `frequency` property.
|
|
648
|
-
|
|
649
|
-
<table border="1" class="bordered-table">
|
|
650
|
-
<tr>
|
|
651
|
-
<th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Property</span></th>
|
|
652
|
-
<th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Description</span></th>
|
|
653
|
-
</tr>
|
|
654
|
-
<tr>
|
|
655
|
-
<td style="padding:15px">type</td>
|
|
656
|
-
<td style="padding:15px">Required. The type of health check to run.</td>
|
|
657
|
-
</tr>
|
|
658
|
-
<tr>
|
|
659
|
-
<td style="padding:15px">frequency</td>
|
|
660
|
-
<td style="padding:15px">Required if intermittent. Defines how often the health check should run. Measured in milliseconds. Default is 300000.</td>
|
|
661
|
-
</tr>
|
|
662
|
-
<tr>
|
|
663
|
-
<td style="padding:15px">query_object</td>
|
|
664
|
-
<td style="padding:15px">Query parameters to be added to the adapter healthcheck call.</td>
|
|
665
|
-
</tr>
|
|
666
|
-
</table>
|
|
667
|
-
<br>
|
|
668
|
-
|
|
669
|
-
### Request Properties
|
|
670
|
-
|
|
671
|
-
The request section defines properties to help handle requests.
|
|
672
|
-
|
|
673
|
-
<table border="1" class="bordered-table">
|
|
674
|
-
<tr>
|
|
675
|
-
<th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Property</span></th>
|
|
676
|
-
<th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Description</span></th>
|
|
677
|
-
</tr>
|
|
678
|
-
<tr>
|
|
679
|
-
<td style="padding:15px">number_redirects</td>
|
|
680
|
-
<td style="padding:15px">Optional. Tells the adapter that the request may be redirected and gives it a maximum number of redirects to allow before returning an error. Default is 0 - no redirects.</td>
|
|
681
|
-
</tr>
|
|
682
|
-
<tr>
|
|
683
|
-
<td style="padding:15px">number_retries</td>
|
|
684
|
-
<td style="padding:15px">Tells the adapter how many times to retry a request that has either aborted or reached a limit error before giving up and returning an error.</td>
|
|
685
|
-
</tr>
|
|
686
|
-
<tr>
|
|
687
|
-
<td style="padding:15px">limit_retry_error</td>
|
|
688
|
-
<td style="padding:15px">Optional. Can be either an integer or an array. Indicates the http error status number to define that no capacity was available and, after waiting a short interval, the adapter can retry the request. If an array is provvided, the array can contain integers or strings. Strings in the array are used to define ranges (e.g. "502-506"). Default is [0].</td>
|
|
689
|
-
</tr>
|
|
690
|
-
<tr>
|
|
691
|
-
<td style="padding:15px">failover_codes</td>
|
|
692
|
-
<td style="padding:15px">An array of error codes for which the adapter will send back a failover flag to IAP so that the Platform can attempt the action in another adapter.</td>
|
|
693
|
-
</tr>
|
|
694
|
-
<tr>
|
|
695
|
-
<td style="padding:15px">attempt_timeout</td>
|
|
696
|
-
<td style="padding:15px">Optional. Tells how long the adapter should wait before aborting the attempt. On abort, the adapter will do one of two things: 1) return the error; or 2) if **healthcheck\_on\_timeout** is set to true, it will abort the request and run a Healthcheck until it re-establishes connectivity to Vmware_vCenter, and then will re-attempt the request that aborted. Default is 5000 milliseconds.</td>
|
|
697
|
-
</tr>
|
|
698
|
-
<tr>
|
|
699
|
-
<td style="padding:15px">global_request</td>
|
|
700
|
-
<td style="padding:15px">Optional. This is information that the adapter can include in all requests to the other system. This is easier to define and maintain than adding this information in either the code (adapter.js) or the action files.</td>
|
|
701
|
-
</tr>
|
|
702
|
-
<tr>
|
|
703
|
-
<td style="padding:15px">global_request -> payload</td>
|
|
704
|
-
<td style="padding:15px">Optional. Defines any information that should be included on all requests sent to the other system that have a payload/body.</td>
|
|
705
|
-
</tr>
|
|
706
|
-
<tr>
|
|
707
|
-
<td style="padding:15px">global_request -> uriOptions</td>
|
|
708
|
-
<td style="padding:15px">Optional. Defines any information that should be sent as untranslated query options (e.g. page, size) on all requests to the other system.</td>
|
|
709
|
-
</tr>
|
|
710
|
-
<tr>
|
|
711
|
-
<td style="padding:15px">global_request -> addlHeaders</td>
|
|
712
|
-
<td style="padding:15px">Optioonal. Defines any headers that should be sent on all requests to the other system.</td>
|
|
713
|
-
</tr>
|
|
714
|
-
<tr>
|
|
715
|
-
<td style="padding:15px">global_request -> authData</td>
|
|
716
|
-
<td style="padding:15px">Optional. Defines any additional authentication data used to authentice with the other system. This authData needs to be consistent on every request.</td>
|
|
717
|
-
</tr>
|
|
718
|
-
<tr>
|
|
719
|
-
<td style="padding:15px">healthcheck_on_timeout</td>
|
|
720
|
-
<td style="padding:15px">Required. Defines if the adapter should run a health check on timeout. If set to true, the adapter will abort the request and run a health check until it re-establishes connectivity and then it will re-attempt the request.</td>
|
|
721
|
-
</tr>
|
|
722
|
-
<tr>
|
|
723
|
-
<td style="padding:15px">return_raw</td>
|
|
724
|
-
<td style="padding:15px">Optional. Tells the adapter whether the raw response should be returned as well as the IAP response. This is helpful when running integration tests to save mock data. It does add overhead to the response object so it is not ideal from production.</td>
|
|
725
|
-
</tr>
|
|
726
|
-
<tr>
|
|
727
|
-
<td style="padding:15px">archiving</td>
|
|
728
|
-
<td style="padding:15px">Optional flag. Default is false. It archives the request, the results and the various times (wait time, Vmware_vCenter time and overall time) in the `adapterid_results` collection in MongoDB. Although archiving might be desirable, be sure to develop a strategy before enabling this capability. Consider how much to archive and what strategy to use for cleaning up the collection in the database so that it does not become too large, especially if the responses are large.</td>
|
|
729
|
-
</tr>
|
|
730
|
-
<tr>
|
|
731
|
-
<td style="padding:15px">return_request</td>
|
|
732
|
-
<td style="padding:15px">Optional flag. Default is false. Will return the actual request that is made including headers. This should only be used during debugging issues as there could be credentials in the actual request.</td>
|
|
733
|
-
</tr>
|
|
734
|
-
</table>
|
|
735
|
-
<br>
|
|
736
|
-
|
|
737
|
-
### SSL Properties
|
|
738
|
-
|
|
739
|
-
The SSL section defines the properties utilized for ssl authentication with Vmware_vCenter. SSL can work two different ways: set the `accept\_invalid\_certs` flag to true (only recommended for lab environments), or provide a `ca\_file`.
|
|
740
|
-
|
|
741
|
-
<table border="1" class="bordered-table">
|
|
742
|
-
<tr>
|
|
743
|
-
<th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Property</span></th>
|
|
744
|
-
<th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Description</span></th>
|
|
745
|
-
</tr>
|
|
746
|
-
<tr>
|
|
747
|
-
<td style="padding:15px">enabled</td>
|
|
748
|
-
<td style="padding:15px">If SSL is required, set to true.</td>
|
|
749
|
-
</tr>
|
|
750
|
-
<tr>
|
|
751
|
-
<td style="padding:15px">accept_invalid_certs</td>
|
|
752
|
-
<td style="padding:15px">Defines if the adapter should accept invalid certificates (only recommended for lab environments). Required if SSL is enabled. Default is false.</td>
|
|
753
|
-
</tr>
|
|
754
|
-
<tr>
|
|
755
|
-
<td style="padding:15px">ca_file</td>
|
|
756
|
-
<td style="padding:15px">Defines the path name to the CA file used for SSL. If SSL is enabled and the accept invalid certifications is false, then ca_file is required.</td>
|
|
757
|
-
</tr>
|
|
758
|
-
<tr>
|
|
759
|
-
<td style="padding:15px">key_file</td>
|
|
760
|
-
<td style="padding:15px">Defines the path name to the Key file used for SSL. The key_file may be needed for some systems but it is not required for SSL.</td>
|
|
761
|
-
</tr>
|
|
762
|
-
<tr>
|
|
763
|
-
<td style="padding:15px">cert_file</td>
|
|
764
|
-
<td style="padding:15px">Defines the path name to the Certificate file used for SSL. The cert_file may be needed for some systems but it is not required for SSL.</td>
|
|
765
|
-
</tr>
|
|
766
|
-
<tr>
|
|
767
|
-
<td style="padding:15px">secure_protocol</td>
|
|
768
|
-
<td style="padding:15px">Defines the protocol (e.g., SSLv3_method) to use on the SSL request.</td>
|
|
769
|
-
</tr>
|
|
770
|
-
<tr>
|
|
771
|
-
<td style="padding:15px">ciphers</td>
|
|
772
|
-
<td style="padding:15px">Required if SSL enabled. Specifies a list of SSL ciphers to use.</td>
|
|
773
|
-
</tr>
|
|
774
|
-
<tr>
|
|
775
|
-
<td style="padding:15px">ecdhCurve</td>
|
|
776
|
-
<td style="padding:15px">During testing on some Node 8 environments, you need to set `ecdhCurve` to auto. If you do not, you will receive PROTO errors when attempting the calls. This is the only usage of this property and to our knowledge it only impacts Node 8 and 9.</td>
|
|
777
|
-
</tr>
|
|
778
|
-
</table>
|
|
779
|
-
<br>
|
|
780
|
-
|
|
781
|
-
### Throttle Properties
|
|
782
|
-
|
|
783
|
-
The throttle section is used when requests to Vmware_vCenter must be queued (throttled). All of the properties in this section are optional.
|
|
784
|
-
|
|
785
|
-
<table border="1" class="bordered-table">
|
|
786
|
-
<tr>
|
|
787
|
-
<th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Property</span></th>
|
|
788
|
-
<th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Description</span></th>
|
|
789
|
-
</tr>
|
|
790
|
-
<tr>
|
|
791
|
-
<td style="padding:15px">throttle_enabled</td>
|
|
792
|
-
<td style="padding:15px">Default is false. Defines if the adapter should use throttling or not.</td>
|
|
793
|
-
</tr>
|
|
794
|
-
<tr>
|
|
795
|
-
<td style="padding:15px">number_pronghorns</td>
|
|
796
|
-
<td style="padding:15px">Default is 1. Defines if throttling is done in a single Itential instance or whether requests are being throttled across multiple Itential instances (minimum = 1, maximum = 20). Throttling in a single Itential instance uses an in-memory queue so there is less overhead. Throttling across multiple Itential instances requires placing the request and queue information into a shared resource (e.g. database) so that each instance can determine what is running and what is next to run. Throttling across multiple instances requires additional I/O overhead.</td>
|
|
797
|
-
</tr>
|
|
798
|
-
<tr>
|
|
799
|
-
<td style="padding:15px">sync-async</td>
|
|
800
|
-
<td style="padding:15px">This property is not used at the current time (it is for future expansion of the throttling engine).</td>
|
|
801
|
-
</tr>
|
|
802
|
-
<tr>
|
|
803
|
-
<td style="padding:15px">max_in_queue</td>
|
|
804
|
-
<td style="padding:15px">Represents the maximum number of requests the adapter should allow into the queue before rejecting requests (minimum = 1, maximum = 5000). This is not a limit on what the adapter can handle but more about timely responses to requests. The default is currently 1000.</td>
|
|
805
|
-
</tr>
|
|
806
|
-
<tr>
|
|
807
|
-
<td style="padding:15px">concurrent_max</td>
|
|
808
|
-
<td style="padding:15px">Defines the number of requests the adapter can send to Vmware_vCenter at one time (minimum = 1, maximum = 1000). The default is 1 meaning each request must be sent to Vmware_vCenter in a serial manner.</td>
|
|
809
|
-
</tr>
|
|
810
|
-
<tr>
|
|
811
|
-
<td style="padding:15px">expire_timeout</td>
|
|
812
|
-
<td style="padding:15px">Default is 0. Defines a graceful timeout of the request session. After a request has completed, the adapter will wait additional time prior to sending the next request. Measured in milliseconds (minimum = 0, maximum = 60000).</td>
|
|
813
|
-
</tr>
|
|
814
|
-
<tr>
|
|
815
|
-
<td style="padding:15px">average_runtime</td>
|
|
816
|
-
<td style="padding:15px">Represents the approximate average of how long it takes Vmware_vCenter to handle each request. Measured in milliseconds (minimum = 50, maximum = 60000). Default is 200. This metric has performance implications. If the runtime number is set too low, it puts extra burden on the CPU and memory as the requests will continually try to run. If the runtime number is set too high, requests may wait longer than they need to before running. The number does not need to be exact but your throttling strategy depends heavily on this number being within reason. If averages range from 50 to 250 milliseconds you might pick an average run-time somewhere in the middle so that when Vmware_vCenter performance is exceptional you might run a little slower than you might like, but when it is poor you still run efficiently.</td>
|
|
817
|
-
</tr>
|
|
818
|
-
<tr>
|
|
819
|
-
<td style="padding:15px">priorities</td>
|
|
820
|
-
<td style="padding:15px">An array of priorities and how to handle them in relation to the throttle queue. Array of objects that include priority value and percent of queue to put the item ex { value: 1, percent: 10 }</td>
|
|
821
|
-
</tr>
|
|
822
|
-
</table>
|
|
823
|
-
<br>
|
|
824
|
-
|
|
825
|
-
### Proxy Properties
|
|
826
|
-
|
|
827
|
-
The proxy section defines the properties to utilize when Vmware_vCenter is behind a proxy server.
|
|
828
|
-
|
|
829
|
-
<table border="1" class="bordered-table">
|
|
830
|
-
<tr>
|
|
831
|
-
<th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Property</span></th>
|
|
832
|
-
<th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Description</span></th>
|
|
833
|
-
</tr>
|
|
834
|
-
<tr>
|
|
835
|
-
<td style="padding:15px">enabled</td>
|
|
836
|
-
<td style="padding:15px">Required. Default is false. If Vmware_vCenter is behind a proxy server, set enabled flag to true.</td>
|
|
837
|
-
</tr>
|
|
838
|
-
<tr>
|
|
839
|
-
<td style="padding:15px">host</td>
|
|
840
|
-
<td style="padding:15px">Host information for the proxy server. Required if `enabled` is true.</td>
|
|
841
|
-
</tr>
|
|
842
|
-
<tr>
|
|
843
|
-
<td style="padding:15px">port</td>
|
|
844
|
-
<td style="padding:15px">Port information for the proxy server. Required if `enabled` is true.</td>
|
|
845
|
-
</tr>
|
|
846
|
-
<tr>
|
|
847
|
-
<td style="padding:15px">protocol</td>
|
|
848
|
-
<td style="padding:15px">The protocol (i.e., http, https, etc.) used to connect to the proxy. Default is http.</td>
|
|
849
|
-
</tr>
|
|
850
|
-
<tr>
|
|
851
|
-
<td style="padding:15px">username</td>
|
|
852
|
-
<td style="padding:15px">If there is authentication for the proxy, provide the username here.</td>
|
|
853
|
-
</tr>
|
|
854
|
-
<tr>
|
|
855
|
-
<td style="padding:15px">password</td>
|
|
856
|
-
<td style="padding:15px">If there is authentication for the proxy, provide the password here.</td>
|
|
857
|
-
</tr>
|
|
858
|
-
</table>
|
|
859
|
-
<br>
|
|
860
|
-
|
|
861
|
-
### Mongo Properties
|
|
862
|
-
|
|
863
|
-
The mongo section defines the properties used to connect to a Mongo database. Mongo can be used for throttling as well as to persist metric data. If not provided, metrics will be stored in the file system.
|
|
864
|
-
|
|
865
|
-
<table border="1" class="bordered-table">
|
|
866
|
-
<tr>
|
|
867
|
-
<th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Property</span></th>
|
|
868
|
-
<th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Description</span></th>
|
|
869
|
-
</tr>
|
|
870
|
-
<tr>
|
|
871
|
-
<td style="padding:15px">host</td>
|
|
872
|
-
<td style="padding:15px">Optional. Host information for the mongo server.</td>
|
|
873
|
-
</tr>
|
|
874
|
-
<tr>
|
|
875
|
-
<td style="padding:15px">port</td>
|
|
876
|
-
<td style="padding:15px">Optional. Port information for the mongo server.</td>
|
|
877
|
-
</tr>
|
|
878
|
-
<tr>
|
|
879
|
-
<td style="padding:15px">database</td>
|
|
880
|
-
<td style="padding:15px">Optional. The database for the adapter to use for its data.</td>
|
|
881
|
-
</tr>
|
|
882
|
-
<tr>
|
|
883
|
-
<td style="padding:15px">username</td>
|
|
884
|
-
<td style="padding:15px">Optional. If credentials are required to access mongo, this is the user to login as.</td>
|
|
885
|
-
</tr>
|
|
886
|
-
<tr>
|
|
887
|
-
<td style="padding:15px">password</td>
|
|
888
|
-
<td style="padding:15px">Optional. If credentials are required to access mongo, this is the password to login with.</td>
|
|
889
|
-
</tr>
|
|
890
|
-
<tr>
|
|
891
|
-
<td style="padding:15px">replSet</td>
|
|
892
|
-
<td style="padding:15px">Optional. If the database is set up to use replica sets, define it here so it can be added to the database connection.</td>
|
|
893
|
-
</tr>
|
|
894
|
-
<tr>
|
|
895
|
-
<td style="padding:15px">db_ssl</td>
|
|
896
|
-
<td style="padding:15px">Optional. Contains information for SSL connectivity to the database.</td>
|
|
897
|
-
</tr>
|
|
898
|
-
<tr>
|
|
899
|
-
<td style="padding:15px">db_ssl -> enabled</td>
|
|
900
|
-
<td style="padding:15px">If SSL is required, set to true.</td>
|
|
901
|
-
</tr>
|
|
902
|
-
<tr>
|
|
903
|
-
<td style="padding:15px">db_ssl -> accept_invalid_cert</td>
|
|
904
|
-
<td style="padding:15px">Defines if the adapter should accept invalid certificates (only recommended for lab environments). Required if SSL is enabled. Default is false.</td>
|
|
905
|
-
</tr>
|
|
906
|
-
<tr>
|
|
907
|
-
<td style="padding:15px">db_ssl -> ca_file</td>
|
|
908
|
-
<td style="padding:15px">Defines the path name to the CA file used for SSL. If SSL is enabled and the accept invalid certifications is false, then ca_file is required.</td>
|
|
909
|
-
</tr>
|
|
910
|
-
<tr>
|
|
911
|
-
<td style="padding:15px">db_ssl -> key_file</td>
|
|
912
|
-
<td style="padding:15px">Defines the path name to the Key file used for SSL. The key_file may be needed for some systems but it is not required for SSL.</td>
|
|
913
|
-
</tr>
|
|
914
|
-
<tr>
|
|
915
|
-
<td style="padding:15px">db_ssl -> cert_file</td>
|
|
916
|
-
<td style="padding:15px">Defines the path name to the Certificate file used for SSL. The cert_file may be needed for some systems but it is not required for SSL.</td>
|
|
917
|
-
</tr>
|
|
918
|
-
</table>
|
|
919
|
-
<br>
|
|
920
|
-
|
|
921
|
-
### Device Broker Properties
|
|
922
|
-
|
|
923
|
-
The device broker section defines the properties used integrate Vmware_vCenter to the device broker. Each broker call is represented and has an array of calls that can be used to build the response. This describes the calls and then the fields which are available in the calls.
|
|
924
|
-
|
|
925
|
-
<table border="1" class="bordered-table">
|
|
926
|
-
<tr>
|
|
927
|
-
<th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Property</span></th>
|
|
928
|
-
<th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Description</span></th>
|
|
929
|
-
</tr>
|
|
930
|
-
<tr>
|
|
931
|
-
<td style="padding:15px">getDevice</td>
|
|
932
|
-
<td style="padding:15px">The array of calls used to get device details for the broker</td>
|
|
933
|
-
</tr>
|
|
934
|
-
<tr>
|
|
935
|
-
<td style="padding:15px">getDevicesFiltered</td>
|
|
936
|
-
<td style="padding:15px">The array of calls used to get devices for the broker</td>
|
|
937
|
-
</tr>
|
|
938
|
-
<tr>
|
|
939
|
-
<td style="padding:15px">isAlive</td>
|
|
940
|
-
<td style="padding:15px">The array of calls used to get device status for the broker</td>
|
|
941
|
-
</tr>
|
|
942
|
-
<tr>
|
|
943
|
-
<td style="padding:15px">getConfig</td>
|
|
944
|
-
<td style="padding:15px">The array of calls used to get device configuration for the broker</td>
|
|
945
|
-
</tr>
|
|
946
|
-
<tr>
|
|
947
|
-
<td style="padding:15px">getCount</td>
|
|
948
|
-
<td style="padding:15px">The array of calls used to get device configuration for the broker</td>
|
|
949
|
-
</tr>
|
|
950
|
-
<tr>
|
|
951
|
-
<td style="padding:15px">getDevice/getDevicesFiltered/isAlive/getConfig/getCount -> path</td>
|
|
952
|
-
<td style="padding:15px">The path, not including the base_path and version, for making this call</td>
|
|
953
|
-
</tr>
|
|
954
|
-
<tr>
|
|
955
|
-
<td style="padding:15px">getDevice/getDevicesFiltered/isAlive/getConfig/getCount -> method</td>
|
|
956
|
-
<td style="padding:15px">The rest method for making this call</td>
|
|
957
|
-
</tr>
|
|
958
|
-
<tr>
|
|
959
|
-
<td style="padding:15px">getDevice/getDevicesFiltered/isAlive/getConfig/getCount -> query</td>
|
|
960
|
-
<td style="padding:15px">Query object containing and query parameters and their values for this call</td>
|
|
961
|
-
</tr>
|
|
962
|
-
<tr>
|
|
963
|
-
<td style="padding:15px">getDevice/getDevicesFiltered/isAlive/getConfig/getCount -> body</td>
|
|
964
|
-
<td style="padding:15px">Body object containing the payload for this call</td>
|
|
965
|
-
</tr>
|
|
966
|
-
<tr>
|
|
967
|
-
<td style="padding:15px">getDevice/getDevicesFiltered/isAlive/getConfig/getCount -> headers</td>
|
|
968
|
-
<td style="padding:15px">Header object containing the headers for this call.</td>
|
|
969
|
-
</tr>
|
|
970
|
-
<tr>
|
|
971
|
-
<td style="padding:15px">getDevice/getDevicesFiltered/isAlive/getConfig/getCount -> handleFailure</td>
|
|
972
|
-
<td style="padding:15px">Tells the adapter whether to "fail" or "ignore" failures if they occur.</td>
|
|
973
|
-
</tr>
|
|
974
|
-
<tr>
|
|
975
|
-
<td style="padding:15px">isAlive -> statusValue</td>
|
|
976
|
-
<td style="padding:15px">Tells the adapter what value to look for in the status field to determine if the device is alive.</td>
|
|
977
|
-
</tr>
|
|
978
|
-
<tr>
|
|
979
|
-
<td style="padding:15px">getDevice/getDevicesFiltered/isAlive/getConfig -> requestFields</td>
|
|
980
|
-
<td style="padding:15px">Object containing fields the adapter should send on the request and where it should get the data. The where can be from a response to a getDevicesFiltered or a static value.</td>
|
|
981
|
-
</tr>
|
|
982
|
-
<tr>
|
|
983
|
-
<td style="padding:15px">getDevice/getDevicesFiltered/isAlive/getConfig -> responseFields</td>
|
|
984
|
-
<td style="padding:15px">Object containing fields the adapter should set to send back to iap and where the value should come from in the response or request data.</td>
|
|
985
|
-
</tr>
|
|
986
|
-
</table>
|
|
987
|
-
<br>
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
## Using this Adapter
|
|
991
|
-
|
|
992
|
-
The `adapter.js` file contains the calls the adapter makes available to the rest of the Itential Platform. The API detailed for these calls should be available through JSDOC. The following is a brief summary of the calls.
|
|
993
|
-
|
|
994
|
-
### Generic Adapter Calls
|
|
995
|
-
|
|
996
|
-
These are adapter methods that IAP or you might use. There are some other methods not shown here that might be used for internal adapter functionality.
|
|
997
|
-
|
|
998
|
-
<table border="1" class="bordered-table">
|
|
999
|
-
<tr>
|
|
1000
|
-
<th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Method Signature</span></th>
|
|
1001
|
-
<th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Description</span></th>
|
|
1002
|
-
<th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Workflow?</span></th>
|
|
1003
|
-
</tr>
|
|
1004
|
-
<tr>
|
|
1005
|
-
<td style="padding:15px">connect()</td>
|
|
1006
|
-
<td style="padding:15px">This call is run when the Adapter is first loaded by he Itential Platform. It validates the properties have been provided correctly.</td>
|
|
1007
|
-
<td style="padding:15px">No</td>
|
|
1008
|
-
</tr>
|
|
1009
|
-
<tr>
|
|
1010
|
-
<td style="padding:15px">healthCheck(callback)</td>
|
|
1011
|
-
<td style="padding:15px">This call ensures that the adapter can communicate with Adapter for VMware vCenter. The actual call that is used is defined in the adapter properties and .system entities action.json file.</td>
|
|
1012
|
-
<td style="padding:15px">No</td>
|
|
1013
|
-
</tr>
|
|
1014
|
-
<tr>
|
|
1015
|
-
<td style="padding:15px">refreshProperties(properties)</td>
|
|
1016
|
-
<td style="padding:15px">This call provides the adapter the ability to accept property changes without having to restart the adapter.</td>
|
|
1017
|
-
<td style="padding:15px">No</td>
|
|
1018
|
-
</tr>
|
|
1019
|
-
<tr>
|
|
1020
|
-
<td style="padding:15px">encryptProperty(property, technique, callback)</td>
|
|
1021
|
-
<td style="padding:15px">This call will take the provided property and technique, and return the property encrypted with the technique. This allows the property to be used in the adapterProps section for the credential password so that the password does not have to be in clear text. The adapter will decrypt the property as needed for communications with Adapter for VMware vCenter.</td>
|
|
1022
|
-
<td style="padding:15px">No</td>
|
|
1023
|
-
</tr>
|
|
1024
|
-
<tr>
|
|
1025
|
-
<td style="padding:15px">iapUpdateAdapterConfiguration(configFile, changes, entity, type, action, callback)</td>
|
|
1026
|
-
<td style="padding:15px">This call provides the ability to update the adapter configuration from IAP - includes actions, schema, mockdata and other configurations.</td>
|
|
1027
|
-
<td style="padding:15px">Yes</td>
|
|
1028
|
-
</tr>
|
|
1029
|
-
<tr>
|
|
1030
|
-
<td style="padding:15px">iapSuspendAdapter(mode, callback)</td>
|
|
1031
|
-
<td style="padding:15px">This call provides the ability to suspend the adapter and either have requests rejected or put into a queue to be processed after the adapter is resumed.</td>
|
|
1032
|
-
<td style="padding:15px">Yes</td>
|
|
1033
|
-
</tr>
|
|
1034
|
-
<tr>
|
|
1035
|
-
<td style="padding:15px">iapUnsuspendAdapter(callback)</td>
|
|
1036
|
-
<td style="padding:15px">This call provides the ability to resume a suspended adapter. Any requests in queue will be processed before new requests.</td>
|
|
1037
|
-
<td style="padding:15px">Yes</td>
|
|
1038
|
-
</tr>
|
|
1039
|
-
<tr>
|
|
1040
|
-
<td style="padding:15px">iapGetAdapterQueue(callback)</td>
|
|
1041
|
-
<td style="padding:15px">This call will return the requests that are waiting in the queue if throttling is enabled.</td>
|
|
1042
|
-
<td style="padding:15px">Yes</td>
|
|
1043
|
-
</tr>
|
|
1044
|
-
<tr>
|
|
1045
|
-
<td style="padding:15px">iapFindAdapterPath(apiPath, callback)</td>
|
|
1046
|
-
<td style="padding:15px">This call provides the ability to see if a particular API path is supported by the adapter.</td>
|
|
1047
|
-
<td style="padding:15px">Yes</td>
|
|
1048
|
-
</tr>
|
|
1049
|
-
<tr>
|
|
1050
|
-
<td style="padding:15px">iapTroubleshootAdapter(props, persistFlag, adapter, callback)</td>
|
|
1051
|
-
<td style="padding:15px">This call can be used to check on the performance of the adapter - it checks connectivity, healthcheck and basic get calls.</td>
|
|
1052
|
-
<td style="padding:15px">Yes</td>
|
|
1053
|
-
</tr>
|
|
1054
|
-
<tr>
|
|
1055
|
-
<td style="padding:15px">iapRunAdapterHealthcheck(adapter, callback)</td>
|
|
1056
|
-
<td style="padding:15px">This call will return the results of a healthcheck.</td>
|
|
1057
|
-
<td style="padding:15px">Yes</td>
|
|
1058
|
-
</tr>
|
|
1059
|
-
<tr>
|
|
1060
|
-
<td style="padding:15px">iapRunAdapterConnectivity(callback)</td>
|
|
1061
|
-
<td style="padding:15px">This call will return the results of a connectivity check.</td>
|
|
1062
|
-
<td style="padding:15px">Yes</td>
|
|
1063
|
-
</tr>
|
|
1064
|
-
<tr>
|
|
1065
|
-
<td style="padding:15px">iapRunAdapterBasicGet(callback)</td>
|
|
1066
|
-
<td style="padding:15px">This call will return the results of running basic get API calls.</td>
|
|
1067
|
-
<td style="padding:15px">Yes</td>
|
|
1068
|
-
</tr>
|
|
1069
|
-
<tr>
|
|
1070
|
-
<td style="padding:15px">iapMoveAdapterEntitiesToDB(callback)</td>
|
|
1071
|
-
<td style="padding:15px">This call will push the adapter configuration from the entities directory into the Adapter or IAP Database.</td>
|
|
1072
|
-
<td style="padding:15px">Yes</td>
|
|
1073
|
-
</tr>
|
|
1074
|
-
<tr>
|
|
1075
|
-
<td style="padding:15px">iapDeactivateTasks(tasks, callback)</td>
|
|
1076
|
-
<td style="padding:15px">This call provides the ability to remove tasks from the adapter.</td>
|
|
1077
|
-
<td style="padding:15px">Yes</td>
|
|
1078
|
-
</tr>
|
|
1079
|
-
<tr>
|
|
1080
|
-
<td style="padding:15px">iapActivateTasks(tasks, callback)</td>
|
|
1081
|
-
<td style="padding:15px">This call provides the ability to add deactivated tasks back into the adapter.</td>
|
|
1082
|
-
<td style="padding:15px">Yes</td>
|
|
1083
|
-
</tr>
|
|
1084
|
-
<tr>
|
|
1085
|
-
<td style="padding:15px">iapExpandedGenericAdapterRequest(metadata, uriPath, restMethod, pathVars, queryData, requestBody, addlHeaders, callback)</td>
|
|
1086
|
-
<td style="padding:15px">This is an expanded Generic Call. The metadata object allows us to provide many new capabilities within the generic request.</td>
|
|
1087
|
-
<td style="padding:15px">Yes</td>
|
|
1088
|
-
</tr>
|
|
1089
|
-
<tr>
|
|
1090
|
-
<td style="padding:15px">genericAdapterRequest(uriPath, restMethod, queryData, requestBody, addlHeaders, callback)</td>
|
|
1091
|
-
<td style="padding:15px">This call allows you to provide the path to have the adapter call. It is an easy way to incorporate paths that have not been built into the adapter yet.</td>
|
|
1092
|
-
<td style="padding:15px">Yes</td>
|
|
1093
|
-
</tr>
|
|
1094
|
-
<tr>
|
|
1095
|
-
<td style="padding:15px">genericAdapterRequestNoBasePath(uriPath, restMethod, queryData, requestBody, addlHeaders, callback)</td>
|
|
1096
|
-
<td style="padding:15px">This call is the same as the genericAdapterRequest only it does not add a base_path or version to the call.</td>
|
|
1097
|
-
<td style="padding:15px">Yes</td>
|
|
1098
|
-
</tr>
|
|
1099
|
-
<tr>
|
|
1100
|
-
<td style="padding:15px">iapRunAdapterLint(callback)</td>
|
|
1101
|
-
<td style="padding:15px">Runs lint on the addapter and provides the information back.</td>
|
|
1102
|
-
<td style="padding:15px">Yes</td>
|
|
1103
|
-
</tr>
|
|
1104
|
-
<tr>
|
|
1105
|
-
<td style="padding:15px">iapRunAdapterTests(callback)</td>
|
|
1106
|
-
<td style="padding:15px">Runs baseunit and unit tests on the adapter and provides the information back.</td>
|
|
1107
|
-
<td style="padding:15px">Yes</td>
|
|
1108
|
-
</tr>
|
|
1109
|
-
<tr>
|
|
1110
|
-
<td style="padding:15px">iapGetAdapterInventory(callback)</td>
|
|
1111
|
-
<td style="padding:15px">This call provides some inventory related information about the adapter.</td>
|
|
1112
|
-
<td style="padding:15px">Yes</td>
|
|
1113
|
-
</tr>
|
|
1114
|
-
</table>
|
|
1115
|
-
<br>
|
|
1116
|
-
|
|
1117
|
-
### Adapter Cache Calls
|
|
1118
|
-
|
|
1119
|
-
These are adapter methods that are used for adapter caching. If configured, the adapter will cache based on the interval provided. However, you can force a population of the cache manually as well.
|
|
1120
|
-
|
|
1121
|
-
<table border="1" class="bordered-table">
|
|
1122
|
-
<tr>
|
|
1123
|
-
<th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Method Signature</span></th>
|
|
1124
|
-
<th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Description</span></th>
|
|
1125
|
-
<th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Workflow?</span></th>
|
|
1126
|
-
</tr>
|
|
1127
|
-
<tr>
|
|
1128
|
-
<td style="padding:15px">iapPopulateEntityCache(entityTypes, callback)</td>
|
|
1129
|
-
<td style="padding:15px">This call populates the adapter cache.</td>
|
|
1130
|
-
<td style="padding:15px">Yes</td>
|
|
1131
|
-
</tr>
|
|
1132
|
-
<tr>
|
|
1133
|
-
<td style="padding:15px">iapRetrieveEntitiesCache(entityType, options, callback)</td>
|
|
1134
|
-
<td style="padding:15px">This call retrieves the specific items from the adapter cache.</td>
|
|
1135
|
-
<td style="padding:15px">Yes</td>
|
|
1136
|
-
</tr>
|
|
1137
|
-
</table>
|
|
1138
|
-
<br>
|
|
1139
|
-
|
|
1140
|
-
### Adapter Broker Calls
|
|
1141
|
-
|
|
1142
|
-
These are adapter methods that are used to integrate to IAP Brokers. This adapter currently supports the following broker calls.
|
|
1143
|
-
|
|
1144
|
-
<table border="1" class="bordered-table">
|
|
1145
|
-
<tr>
|
|
1146
|
-
<th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Method Signature</span></th>
|
|
1147
|
-
<th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Description</span></th>
|
|
1148
|
-
<th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Workflow?</span></th>
|
|
1149
|
-
</tr>
|
|
1150
|
-
<tr>
|
|
1151
|
-
<td style="padding:15px">hasEntities(entityType, entityList, callback)</td>
|
|
1152
|
-
<td style="padding:15px">This call is utilized by the IAP Device Broker to determine if the adapter has a specific entity and item of the entity.</td>
|
|
1153
|
-
<td style="padding:15px">No</td>
|
|
1154
|
-
</tr>
|
|
1155
|
-
<tr>
|
|
1156
|
-
<td style="padding:15px">getDevice(deviceName, callback)</td>
|
|
1157
|
-
<td style="padding:15px">This call returns the details of the requested device.</td>
|
|
1158
|
-
<td style="padding:15px">No</td>
|
|
1159
|
-
</tr>
|
|
1160
|
-
<tr>
|
|
1161
|
-
<td style="padding:15px">getDevicesFiltered(options, callback)</td>
|
|
1162
|
-
<td style="padding:15px">This call returns the list of devices that match the criteria provided in the options filter.</td>
|
|
1163
|
-
<td style="padding:15px">No</td>
|
|
1164
|
-
</tr>
|
|
1165
|
-
<tr>
|
|
1166
|
-
<td style="padding:15px">isAlive(deviceName, callback)</td>
|
|
1167
|
-
<td style="padding:15px">This call returns whether the device status is active</td>
|
|
1168
|
-
<td style="padding:15px">No</td>
|
|
1169
|
-
</tr>
|
|
1170
|
-
<tr>
|
|
1171
|
-
<td style="padding:15px">getConfig(deviceName, format, callback)</td>
|
|
1172
|
-
<td style="padding:15px">This call returns the configuration for the selected device.</td>
|
|
1173
|
-
<td style="padding:15px">No</td>
|
|
1174
|
-
</tr>
|
|
1175
|
-
<tr>
|
|
1176
|
-
<td style="padding:15px">iapGetDeviceCount(callback)</td>
|
|
1177
|
-
<td style="padding:15px">This call returns the count of devices.</td>
|
|
1178
|
-
<td style="padding:15px">No</td>
|
|
1179
|
-
</tr>
|
|
1180
|
-
</table>
|
|
1181
|
-
<br>
|
|
1182
|
-
|
|
1183
|
-
### Specific Adapter Calls
|
|
1184
|
-
|
|
1185
|
-
Specific adapter calls are built based on the API of the VMware vCenter. The Adapter Builder creates the proper method comments for generating JS-DOC for the adapter. This is the best way to get information on the calls.
|
|
1186
|
-
|
|
1187
|
-
<table border="1" class="bordered-table">
|
|
1188
|
-
<tr>
|
|
1189
|
-
<th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Method Signature</span></th>
|
|
1190
|
-
<th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Description</span></th>
|
|
1191
|
-
<th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Path</span></th>
|
|
1192
|
-
<th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Workflow?</span></th>
|
|
1193
|
-
</tr>
|
|
1194
|
-
<tr>
|
|
1195
|
-
<td style="padding:15px">postComvmwarevcenterinventorydatastoreactionfind(callback)</td>
|
|
1196
|
-
<td style="padding:15px">Returns datastore information for the specified datastores. The key in the {@term result} {@term map} is the datastore identifier and the value in the {@term map} is the datastore information.</td>
|
|
1197
|
-
<td style="padding:15px">{base_path}/{version}/com/vmware/vcenter/inventory/datastore?{query}</td>
|
|
1198
|
-
<td style="padding:15px">Yes</td>
|
|
1199
|
-
</tr>
|
|
1200
|
-
<tr>
|
|
1201
|
-
<td style="padding:15px">postComvmwarevcenterinventorynetworkactionfind(callback)</td>
|
|
1202
|
-
<td style="padding:15px">Returns network information for the specified vCenter Server networks. The key in the {@term result} {@term map} is the network identifier and the value in the {@term map} is the network information.</td>
|
|
1203
|
-
<td style="padding:15px">{base_path}/{version}/com/vmware/vcenter/inventory/network?{query}</td>
|
|
1204
|
-
<td style="padding:15px">Yes</td>
|
|
1205
|
-
</tr>
|
|
1206
|
-
<tr>
|
|
1207
|
-
<td style="padding:15px">postComvmwarevcenterisoimageidlibraryItemactionmount(libraryItem, callback)</td>
|
|
1208
|
-
<td style="padding:15px">Mounts an ISO image from a content library on a virtual machine.</td>
|
|
1209
|
-
<td style="padding:15px">{base_path}/{version}/com/vmware/vcenter/iso/image/id:{pathv1}?{query}</td>
|
|
1210
|
-
<td style="padding:15px">Yes</td>
|
|
1211
|
-
</tr>
|
|
1212
|
-
<tr>
|
|
1213
|
-
<td style="padding:15px">postComvmwarevcenterisoimageidvmactionunmount(vm, callback)</td>
|
|
1214
|
-
<td style="padding:15px">Unmounts a previously mounted CD-ROM using an ISO image as a backing.</td>
|
|
1215
|
-
<td style="padding:15px">{base_path}/{version}/com/vmware/vcenter/iso/image/id:{pathv1}?{query}</td>
|
|
1216
|
-
<td style="padding:15px">Yes</td>
|
|
1217
|
-
</tr>
|
|
1218
|
-
<tr>
|
|
1219
|
-
<td style="padding:15px">getComvmwarevcenterovfexportFlag(callback)</td>
|
|
1220
|
-
<td style="padding:15px">Returns information about the supported export flags by the server. <p> The supported flags are: <dl> <dt>PRESERVE_MAC</dt> <dd>Include MAC addresses for network adapters.</dd> <dt>EXTRA_CONFIG</dt> <dd>Include extra configuration in OVF export.</dd> </dl> <p> Future server versions might support additional flags.</td>
|
|
1221
|
-
<td style="padding:15px">{base_path}/{version}/com/vmware/vcenter/ovf/export-flag?{query}</td>
|
|
1222
|
-
<td style="padding:15px">Yes</td>
|
|
1223
|
-
</tr>
|
|
1224
|
-
<tr>
|
|
1225
|
-
<td style="padding:15px">getComvmwarevcenterovfimportFlag(callback)</td>
|
|
1226
|
-
<td style="padding:15px">Returns information about the import flags supported by the deployment platform. <p> The supported flags are: <dl> <dt>LAX</dt> <dd>Lax mode parsing of the OVF descriptor.</dd> </dl> <p> Future server versions might support additional flags.</td>
|
|
1227
|
-
<td style="padding:15px">{base_path}/{version}/com/vmware/vcenter/ovf/import-flag?{query}</td>
|
|
1228
|
-
<td style="padding:15px">Yes</td>
|
|
1229
|
-
</tr>
|
|
1230
|
-
<tr>
|
|
1231
|
-
<td style="padding:15px">postComvmwarevcenterovflibraryItem(clientTokensourcetargetcreateSpec, callback)</td>
|
|
1232
|
-
<td style="padding:15px">Creates a library item in content library from a virtual machine or virtual appliance. <p> This {@term operation} creates a library item in content library whose content is an OVF package derived from a source virtual machine or virtual appliance, using the supplied create specification. The OVF package may be stored as in a newly created library item or in an in an existing library item. For an existing library item whose content is updated by this {@term operation}, the original content is overwritten. </p></td>
|
|
1233
|
-
<td style="padding:15px">{base_path}/{version}/com/vmware/vcenter/ovf/library-item?{query}</td>
|
|
1234
|
-
<td style="padding:15px">Yes</td>
|
|
1235
|
-
</tr>
|
|
1236
|
-
<tr>
|
|
1237
|
-
<td style="padding:15px">postComvmwarevcenterovflibraryItemidovfLibraryItemIdactiondeploy(ovfLibraryItemId, clientTokentargetdeploymentSpec, callback)</td>
|
|
1238
|
-
<td style="padding:15px">Deploys an OVF package stored in content library to a newly created virtual machine or virtual appliance. <p> This {@term operation} deploys an OVF package which is stored in the library item specified by {@param.name ovfLibraryItemId}. It uses the deployment specification in {@param.name deploymentSpec} to deploy the OVF package to the location specified by {@param.name target}. </p></td>
|
|
1239
|
-
<td style="padding:15px">{base_path}/{version}/com/vmware/vcenter/ovf/library-item/id:{pathv1}?{query}</td>
|
|
1240
|
-
<td style="padding:15px">Yes</td>
|
|
1241
|
-
</tr>
|
|
1242
|
-
<tr>
|
|
1243
|
-
<td style="padding:15px">postComvmwarevcenterovflibraryItemidovfLibraryItemIdactionfilter(ovfLibraryItemId, target, callback)</td>
|
|
1244
|
-
<td style="padding:15px">Queries an OVF package stored in content library to retrieve information to use when deploying the package. See {@link #deploy}. <p> This {@term operation} retrieves information from the descriptor of the OVF package stored in the library item specified by {@param.name ovfLibraryItemId}. The information returned by the {@term operation} can be used to populate the deployment specification (see {@link ResourcePoolDeploymentSpec} when deploying the OVF package to the deployment target specified by {@param.name target}. </p></td>
|
|
1245
|
-
<td style="padding:15px">{base_path}/{version}/com/vmware/vcenter/ovf/library-item/id:{pathv1}?{query}</td>
|
|
1246
|
-
<td style="padding:15px">Yes</td>
|
|
1247
|
-
</tr>
|
|
1248
|
-
<tr>
|
|
1249
|
-
<td style="padding:15px">getVcentercluster(filterfolders, filterclusters, filternames, filterdatacenters, callback)</td>
|
|
1250
|
-
<td style="padding:15px">Returns information about at most 1000 visible (subject to permission checks) clusters in vCenter matching the Cluster.FilterSpec.</td>
|
|
1251
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/cluster?{query}</td>
|
|
1252
|
-
<td style="padding:15px">Yes</td>
|
|
1253
|
-
</tr>
|
|
1254
|
-
<tr>
|
|
1255
|
-
<td style="padding:15px">getVcenterclustercluster(cluster, callback)</td>
|
|
1256
|
-
<td style="padding:15px">Retrieves information about the cluster corresponding to cluster.</td>
|
|
1257
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/cluster/{pathv1}?{query}</td>
|
|
1258
|
-
<td style="padding:15px">Yes</td>
|
|
1259
|
-
</tr>
|
|
1260
|
-
<tr>
|
|
1261
|
-
<td style="padding:15px">postVcenterdatacenter(spec, callback)</td>
|
|
1262
|
-
<td style="padding:15px">Create a new datacenter in the vCenter inventory</td>
|
|
1263
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/datacenter?{query}</td>
|
|
1264
|
-
<td style="padding:15px">Yes</td>
|
|
1265
|
-
</tr>
|
|
1266
|
-
<tr>
|
|
1267
|
-
<td style="padding:15px">getVcenterdatacenter(filterfolders, filterdatacenters, filternames, callback)</td>
|
|
1268
|
-
<td style="padding:15px">Returns information about at most 1000 visible (subject to permission checks) datacenters in vCenter matching the Datacenter.FilterSpec.</td>
|
|
1269
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/datacenter?{query}</td>
|
|
1270
|
-
<td style="padding:15px">Yes</td>
|
|
1271
|
-
</tr>
|
|
1272
|
-
<tr>
|
|
1273
|
-
<td style="padding:15px">getVcenterdatacenterdatacenter(datacenter, callback)</td>
|
|
1274
|
-
<td style="padding:15px">Retrieves information about the datacenter corresponding to datacenter.</td>
|
|
1275
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/datacenter/{pathv1}?{query}</td>
|
|
1276
|
-
<td style="padding:15px">Yes</td>
|
|
1277
|
-
</tr>
|
|
1278
|
-
<tr>
|
|
1279
|
-
<td style="padding:15px">deleteVcenterdatacenterdatacenter(datacenter, force, callback)</td>
|
|
1280
|
-
<td style="padding:15px">Delete an empty datacenter from the vCenter Server</td>
|
|
1281
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/datacenter/{pathv1}?{query}</td>
|
|
1282
|
-
<td style="padding:15px">Yes</td>
|
|
1283
|
-
</tr>
|
|
1284
|
-
<tr>
|
|
1285
|
-
<td style="padding:15px">getVcenterdatastore(filterdatastores, filterfolders, filternames, filtertypes, filterdatacenters, callback)</td>
|
|
1286
|
-
<td style="padding:15px">Returns information about at most 1000 visible (subject to permission checks) datastores in vCenter matching the Datastore.FilterSpec.</td>
|
|
1287
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/datastore?{query}</td>
|
|
1288
|
-
<td style="padding:15px">Yes</td>
|
|
1289
|
-
</tr>
|
|
1290
|
-
<tr>
|
|
1291
|
-
<td style="padding:15px">getVcenterdatastoredatastore(datastore, callback)</td>
|
|
1292
|
-
<td style="padding:15px">Retrieves information about the datastore indicated by datastore.</td>
|
|
1293
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/datastore/{pathv1}?{query}</td>
|
|
1294
|
-
<td style="padding:15px">Yes</td>
|
|
1295
|
-
</tr>
|
|
1296
|
-
<tr>
|
|
1297
|
-
<td style="padding:15px">getVcenterfolder(filterfolders, filterparentFolders, filtertype, filternames, filterdatacenters, callback)</td>
|
|
1298
|
-
<td style="padding:15px">Returns information about at most 1000 visible (subject to permission checks) folders in vCenter matching the Folder.FilterSpec.</td>
|
|
1299
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/folder?{query}</td>
|
|
1300
|
-
<td style="padding:15px">Yes</td>
|
|
1301
|
-
</tr>
|
|
1302
|
-
<tr>
|
|
1303
|
-
<td style="padding:15px">postVcenterhost(spec, callback)</td>
|
|
1304
|
-
<td style="padding:15px">Add a new standalone host in the vCenter inventory. The newly connected host will be in connected state. The vCenter Server will verify the SSL certificate before adding the host to its inventory. In the case where the SSL certificate cannot be verified because the Certificate Authority is not recognized or the certificate is self signed, the vCenter Server will fall back to thumbprint verification mode as defined by Host.CreateSpec.ThumbprintVerification.</td>
|
|
1305
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/host?{query}</td>
|
|
1306
|
-
<td style="padding:15px">Yes</td>
|
|
1307
|
-
</tr>
|
|
1308
|
-
<tr>
|
|
1309
|
-
<td style="padding:15px">getVcenterhost(filterfolders, filterstandalone, filterhosts, filternames, filterclusters, filterdatacenters, filterconnectionStates, callback)</td>
|
|
1310
|
-
<td style="padding:15px">Returns information about at most 1000 visible (subject to permission checks) hosts in vCenter matching the Host.FilterSpec.</td>
|
|
1311
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/host?{query}</td>
|
|
1312
|
-
<td style="padding:15px">Yes</td>
|
|
1313
|
-
</tr>
|
|
1314
|
-
<tr>
|
|
1315
|
-
<td style="padding:15px">deleteVcenterhosthost(host, callback)</td>
|
|
1316
|
-
<td style="padding:15px">Remove a standalone host from the vCenter Server.</td>
|
|
1317
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/host/{pathv1}?{query}</td>
|
|
1318
|
-
<td style="padding:15px">Yes</td>
|
|
1319
|
-
</tr>
|
|
1320
|
-
<tr>
|
|
1321
|
-
<td style="padding:15px">postVcenterhosthostconnect(host, callback)</td>
|
|
1322
|
-
<td style="padding:15px">Connect to the host corresponding to host previously added to the vCenter server.</td>
|
|
1323
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/host/{pathv1}/connect?{query}</td>
|
|
1324
|
-
<td style="padding:15px">Yes</td>
|
|
1325
|
-
</tr>
|
|
1326
|
-
<tr>
|
|
1327
|
-
<td style="padding:15px">postVcenterhosthostdisconnect(host, callback)</td>
|
|
1328
|
-
<td style="padding:15px">Disconnect the host corresponding to host from the vCenter server</td>
|
|
1329
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/host/{pathv1}/disconnect?{query}</td>
|
|
1330
|
-
<td style="padding:15px">Yes</td>
|
|
1331
|
-
</tr>
|
|
1332
|
-
<tr>
|
|
1333
|
-
<td style="padding:15px">getVcenternetwork(filterfolders, filterdatacenters, filternetworks, filtertypes, filternames, callback)</td>
|
|
1334
|
-
<td style="padding:15px">Returns information about at most 1000 visible (subject to permission checks) networks in vCenter matching the Network.FilterSpec.</td>
|
|
1335
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/network?{query}</td>
|
|
1336
|
-
<td style="padding:15px">Yes</td>
|
|
1337
|
-
</tr>
|
|
1338
|
-
<tr>
|
|
1339
|
-
<td style="padding:15px">getVcenterresourcePool(filterparentResourcePools, filterhosts, filternames, filterclusters, filterdatacenters, filterresourcePools, callback)</td>
|
|
1340
|
-
<td style="padding:15px">Returns information about at most 1000 visible (subject to permission checks) resource pools in vCenter matching the ResourcePool.FilterSpec.</td>
|
|
1341
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/resource-pool?{query}</td>
|
|
1342
|
-
<td style="padding:15px">Yes</td>
|
|
1343
|
-
</tr>
|
|
1344
|
-
<tr>
|
|
1345
|
-
<td style="padding:15px">getVcenterresourcePoolresourcePool(resourcepool, callback)</td>
|
|
1346
|
-
<td style="padding:15px">Retrieves information about the resource pool indicated by resourcePool.</td>
|
|
1347
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/resource-pool/{pathv1}?{query}</td>
|
|
1348
|
-
<td style="padding:15px">Yes</td>
|
|
1349
|
-
</tr>
|
|
1350
|
-
<tr>
|
|
1351
|
-
<td style="padding:15px">postVcentervm(spec, callback)</td>
|
|
1352
|
-
<td style="padding:15px">Creates a virtual machine.</td>
|
|
1353
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm?{query}</td>
|
|
1354
|
-
<td style="padding:15px">Yes</td>
|
|
1355
|
-
</tr>
|
|
1356
|
-
<tr>
|
|
1357
|
-
<td style="padding:15px">getVcentervm(filterfolders, filterpowerStates, filterhosts, filternames, filterclusters, filterdatacenters, filterresourcePools, filtervms, callback)</td>
|
|
1358
|
-
<td style="padding:15px">Returns information about at most 1000 visible (subject to permission checks) virtual machines in vCenter matching the VM.FilterSpec.</td>
|
|
1359
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm?{query}</td>
|
|
1360
|
-
<td style="padding:15px">Yes</td>
|
|
1361
|
-
</tr>
|
|
1362
|
-
<tr>
|
|
1363
|
-
<td style="padding:15px">deleteVcentervmvm(vm, callback)</td>
|
|
1364
|
-
<td style="padding:15px">Deletes a virtual machine.</td>
|
|
1365
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}?{query}</td>
|
|
1366
|
-
<td style="padding:15px">Yes</td>
|
|
1367
|
-
</tr>
|
|
1368
|
-
<tr>
|
|
1369
|
-
<td style="padding:15px">getVcentervmvm(vm, callback)</td>
|
|
1370
|
-
<td style="padding:15px">Returns information about a virtual machine.</td>
|
|
1371
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}?{query}</td>
|
|
1372
|
-
<td style="padding:15px">Yes</td>
|
|
1373
|
-
</tr>
|
|
1374
|
-
<tr>
|
|
1375
|
-
<td style="padding:15px">getVcentervmvmhardware(vm, callback)</td>
|
|
1376
|
-
<td style="padding:15px">Returns the virtual hardware settings of a virtual machine.</td>
|
|
1377
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware?{query}</td>
|
|
1378
|
-
<td style="padding:15px">Yes</td>
|
|
1379
|
-
</tr>
|
|
1380
|
-
<tr>
|
|
1381
|
-
<td style="padding:15px">patchVcentervmvmhardware(vm, spec, callback)</td>
|
|
1382
|
-
<td style="padding:15px">Updates the virtual hardware settings of a virtual machine.</td>
|
|
1383
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware?{query}</td>
|
|
1384
|
-
<td style="padding:15px">Yes</td>
|
|
1385
|
-
</tr>
|
|
1386
|
-
<tr>
|
|
1387
|
-
<td style="padding:15px">postVcentervmvmhardwareactionupgrade(vm, version, callback)</td>
|
|
1388
|
-
<td style="padding:15px">Upgrades the virtual machine to a newer virtual hardware version.</td>
|
|
1389
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/action/upgrade?{query}</td>
|
|
1390
|
-
<td style="padding:15px">Yes</td>
|
|
1391
|
-
</tr>
|
|
1392
|
-
<tr>
|
|
1393
|
-
<td style="padding:15px">postVcentervmvmhardwareadaptersata(vm, spec, callback)</td>
|
|
1394
|
-
<td style="padding:15px">Adds a virtual SATA adapter to the virtual machine.</td>
|
|
1395
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/adapter/sata?{query}</td>
|
|
1396
|
-
<td style="padding:15px">Yes</td>
|
|
1397
|
-
</tr>
|
|
1398
|
-
<tr>
|
|
1399
|
-
<td style="padding:15px">getVcentervmvmhardwareadaptersata(vm, callback)</td>
|
|
1400
|
-
<td style="padding:15px">Returns commonly used information about the virtual SATA adapters belonging to the virtual machine.</td>
|
|
1401
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/adapter/sata?{query}</td>
|
|
1402
|
-
<td style="padding:15px">Yes</td>
|
|
1403
|
-
</tr>
|
|
1404
|
-
<tr>
|
|
1405
|
-
<td style="padding:15px">deleteVcentervmvmhardwareadaptersataadapter(vm, adapter, callback)</td>
|
|
1406
|
-
<td style="padding:15px">Removes a virtual SATA adapter from the virtual machine.</td>
|
|
1407
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/adapter/sata/{pathv2}?{query}</td>
|
|
1408
|
-
<td style="padding:15px">Yes</td>
|
|
1409
|
-
</tr>
|
|
1410
|
-
<tr>
|
|
1411
|
-
<td style="padding:15px">getVcentervmvmhardwareadaptersataadapter(vm, adapter, callback)</td>
|
|
1412
|
-
<td style="padding:15px">Returns information about a virtual SATA adapter.</td>
|
|
1413
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/adapter/sata/{pathv2}?{query}</td>
|
|
1414
|
-
<td style="padding:15px">Yes</td>
|
|
1415
|
-
</tr>
|
|
1416
|
-
<tr>
|
|
1417
|
-
<td style="padding:15px">postVcentervmvmhardwareadapterscsi(vm, spec, callback)</td>
|
|
1418
|
-
<td style="padding:15px">Adds a virtual SCSI adapter to the virtual machine.</td>
|
|
1419
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/adapter/scsi?{query}</td>
|
|
1420
|
-
<td style="padding:15px">Yes</td>
|
|
1421
|
-
</tr>
|
|
1422
|
-
<tr>
|
|
1423
|
-
<td style="padding:15px">getVcentervmvmhardwareadapterscsi(vm, callback)</td>
|
|
1424
|
-
<td style="padding:15px">Returns commonly used information about the virtual SCSI adapters belonging to the virtual machine.</td>
|
|
1425
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/adapter/scsi?{query}</td>
|
|
1426
|
-
<td style="padding:15px">Yes</td>
|
|
1427
|
-
</tr>
|
|
1428
|
-
<tr>
|
|
1429
|
-
<td style="padding:15px">getVcentervmvmhardwareadapterscsiadapter(vm, adapter, callback)</td>
|
|
1430
|
-
<td style="padding:15px">Returns information about a virtual SCSI adapter.</td>
|
|
1431
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/adapter/scsi/{pathv2}?{query}</td>
|
|
1432
|
-
<td style="padding:15px">Yes</td>
|
|
1433
|
-
</tr>
|
|
1434
|
-
<tr>
|
|
1435
|
-
<td style="padding:15px">patchVcentervmvmhardwareadapterscsiadapter(vm, adapter, spec, callback)</td>
|
|
1436
|
-
<td style="padding:15px">Updates the configuration of a virtual SCSI adapter.</td>
|
|
1437
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/adapter/scsi/{pathv2}?{query}</td>
|
|
1438
|
-
<td style="padding:15px">Yes</td>
|
|
1439
|
-
</tr>
|
|
1440
|
-
<tr>
|
|
1441
|
-
<td style="padding:15px">deleteVcentervmvmhardwareadapterscsiadapter(vm, adapter, callback)</td>
|
|
1442
|
-
<td style="padding:15px">Removes a virtual SCSI adapter from the virtual machine.</td>
|
|
1443
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/adapter/scsi/{pathv2}?{query}</td>
|
|
1444
|
-
<td style="padding:15px">Yes</td>
|
|
1445
|
-
</tr>
|
|
1446
|
-
<tr>
|
|
1447
|
-
<td style="padding:15px">getVcentervmvmhardwareboot(vm, callback)</td>
|
|
1448
|
-
<td style="padding:15px">Returns the boot-related settings of a virtual machine.</td>
|
|
1449
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/boot?{query}</td>
|
|
1450
|
-
<td style="padding:15px">Yes</td>
|
|
1451
|
-
</tr>
|
|
1452
|
-
<tr>
|
|
1453
|
-
<td style="padding:15px">patchVcentervmvmhardwareboot(vm, spec, callback)</td>
|
|
1454
|
-
<td style="padding:15px">Updates the boot-related settings of a virtual machine.</td>
|
|
1455
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/boot?{query}</td>
|
|
1456
|
-
<td style="padding:15px">Yes</td>
|
|
1457
|
-
</tr>
|
|
1458
|
-
<tr>
|
|
1459
|
-
<td style="padding:15px">putVcentervmvmhardwarebootdevice(vm, devices, callback)</td>
|
|
1460
|
-
<td style="padding:15px">Sets the virtual devices that will be used to boot the virtual machine. The virtual machine will check the devices in order, attempting to boot from each, until the virtual machine boots successfully. If the list is empty, the virtual machine will use a default boot sequence. There should be no more than one instance of Device.Entry for a given device type except ETHERNET in the list.</td>
|
|
1461
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/boot/device?{query}</td>
|
|
1462
|
-
<td style="padding:15px">Yes</td>
|
|
1463
|
-
</tr>
|
|
1464
|
-
<tr>
|
|
1465
|
-
<td style="padding:15px">getVcentervmvmhardwarebootdevice(vm, callback)</td>
|
|
1466
|
-
<td style="padding:15px">Returns an ordered list of boot devices for the virtual machine. If the list is empty, the virtual machine uses a default boot sequence.</td>
|
|
1467
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/boot/device?{query}</td>
|
|
1468
|
-
<td style="padding:15px">Yes</td>
|
|
1469
|
-
</tr>
|
|
1470
|
-
<tr>
|
|
1471
|
-
<td style="padding:15px">postVcentervmvmhardwarecdrom(vm, spec, callback)</td>
|
|
1472
|
-
<td style="padding:15px">Adds a virtual CD-ROM device to the virtual machine.</td>
|
|
1473
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/cdrom?{query}</td>
|
|
1474
|
-
<td style="padding:15px">Yes</td>
|
|
1475
|
-
</tr>
|
|
1476
|
-
<tr>
|
|
1477
|
-
<td style="padding:15px">getVcentervmvmhardwarecdrom(vm, callback)</td>
|
|
1478
|
-
<td style="padding:15px">Returns commonly used information about the virtual CD-ROM devices belonging to the virtual machine.</td>
|
|
1479
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/cdrom?{query}</td>
|
|
1480
|
-
<td style="padding:15px">Yes</td>
|
|
1481
|
-
</tr>
|
|
1482
|
-
<tr>
|
|
1483
|
-
<td style="padding:15px">patchVcentervmvmhardwarecdromcdrom(vm, cdrom, spec, callback)</td>
|
|
1484
|
-
<td style="padding:15px">Updates the configuration of a virtual CD-ROM device.</td>
|
|
1485
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/cdrom/{pathv2}?{query}</td>
|
|
1486
|
-
<td style="padding:15px">Yes</td>
|
|
1487
|
-
</tr>
|
|
1488
|
-
<tr>
|
|
1489
|
-
<td style="padding:15px">getVcentervmvmhardwarecdromcdrom(vm, cdrom, callback)</td>
|
|
1490
|
-
<td style="padding:15px">Returns information about a virtual CD-ROM device.</td>
|
|
1491
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/cdrom/{pathv2}?{query}</td>
|
|
1492
|
-
<td style="padding:15px">Yes</td>
|
|
1493
|
-
</tr>
|
|
1494
|
-
<tr>
|
|
1495
|
-
<td style="padding:15px">deleteVcentervmvmhardwarecdromcdrom(vm, cdrom, callback)</td>
|
|
1496
|
-
<td style="padding:15px">Removes a virtual CD-ROM device from the virtual machine.</td>
|
|
1497
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/cdrom/{pathv2}?{query}</td>
|
|
1498
|
-
<td style="padding:15px">Yes</td>
|
|
1499
|
-
</tr>
|
|
1500
|
-
<tr>
|
|
1501
|
-
<td style="padding:15px">postVcentervmvmhardwarecdromcdromconnect(vm, cdrom, callback)</td>
|
|
1502
|
-
<td style="padding:15px">Connects a virtual CD-ROM device of a powered-on virtual machine to its backing. Connecting the virtual device makes the backing accessible from the perspective of the guest operating system.
|
|
1503
|
-
For a powered-off virtual machine, the Cdrom.update operation may be used to configure the virtual CD-ROM device to start in the connected state when the virtual machine is powered on.
|
|
1504
|
-
</td>
|
|
1505
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/cdrom/{pathv2}/connect?{query}</td>
|
|
1506
|
-
<td style="padding:15px">Yes</td>
|
|
1507
|
-
</tr>
|
|
1508
|
-
<tr>
|
|
1509
|
-
<td style="padding:15px">postVcentervmvmhardwarecdromcdromdisconnect(vm, cdrom, callback)</td>
|
|
1510
|
-
<td style="padding:15px">Disconnects a virtual CD-ROM device of a powered-on virtual machine from its backing. The virtual device is still present and its backing configuration is unchanged, but from the perspective of the guest operating system, the CD-ROM device is not connected to its backing resource.
|
|
1511
|
-
For a powered-off virtual machine, the Cdrom.update operation may be used to configure the virtual CD-ROM device to start in the disconnected state when the virtual machine is powered on.
|
|
1512
|
-
</td>
|
|
1513
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/cdrom/{pathv2}/disconnect?{query}</td>
|
|
1514
|
-
<td style="padding:15px">Yes</td>
|
|
1515
|
-
</tr>
|
|
1516
|
-
<tr>
|
|
1517
|
-
<td style="padding:15px">getVcentervmvmhardwarecpu(vm, callback)</td>
|
|
1518
|
-
<td style="padding:15px">Returns the CPU-related settings of a virtual machine.</td>
|
|
1519
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/cpu?{query}</td>
|
|
1520
|
-
<td style="padding:15px">Yes</td>
|
|
1521
|
-
</tr>
|
|
1522
|
-
<tr>
|
|
1523
|
-
<td style="padding:15px">patchVcentervmvmhardwarecpu(vm, spec, callback)</td>
|
|
1524
|
-
<td style="padding:15px">Updates the CPU-related settings of a virtual machine.</td>
|
|
1525
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/cpu?{query}</td>
|
|
1526
|
-
<td style="padding:15px">Yes</td>
|
|
1527
|
-
</tr>
|
|
1528
|
-
<tr>
|
|
1529
|
-
<td style="padding:15px">postVcentervmvmhardwaredisk(vm, spec, callback)</td>
|
|
1530
|
-
<td style="padding:15px">Adds a virtual disk to the virtual machine. While adding the virtual disk, a new VMDK file may be created or an existing VMDK file may be used to back the virtual disk.</td>
|
|
1531
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/disk?{query}</td>
|
|
1532
|
-
<td style="padding:15px">Yes</td>
|
|
1533
|
-
</tr>
|
|
1534
|
-
<tr>
|
|
1535
|
-
<td style="padding:15px">getVcentervmvmhardwaredisk(vm, callback)</td>
|
|
1536
|
-
<td style="padding:15px">Returns commonly used information about the virtual disks belonging to the virtual machine.</td>
|
|
1537
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/disk?{query}</td>
|
|
1538
|
-
<td style="padding:15px">Yes</td>
|
|
1539
|
-
</tr>
|
|
1540
|
-
<tr>
|
|
1541
|
-
<td style="padding:15px">getVcentervmvmhardwarediskdisk(vm, disk, callback)</td>
|
|
1542
|
-
<td style="padding:15px">Returns information about a virtual disk.</td>
|
|
1543
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/disk/{pathv2}?{query}</td>
|
|
1544
|
-
<td style="padding:15px">Yes</td>
|
|
1545
|
-
</tr>
|
|
1546
|
-
<tr>
|
|
1547
|
-
<td style="padding:15px">deleteVcentervmvmhardwarediskdisk(vm, disk, callback)</td>
|
|
1548
|
-
<td style="padding:15px">Removes a virtual disk from the virtual machine. This operation does not destroy the VMDK file that backs the virtual disk. It only detaches the VMDK file from the virtual machine. Once detached, the VMDK file will not be destroyed when the virtual machine to which it was associated is deleted.</td>
|
|
1549
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/disk/{pathv2}?{query}</td>
|
|
1550
|
-
<td style="padding:15px">Yes</td>
|
|
1551
|
-
</tr>
|
|
1552
|
-
<tr>
|
|
1553
|
-
<td style="padding:15px">patchVcentervmvmhardwarediskdisk(vm, disk, spec, callback)</td>
|
|
1554
|
-
<td style="padding:15px">Updates the configuration of a virtual disk. An update operation can be used to detach the existing VMDK file and attach another VMDK file to the virtual machine.</td>
|
|
1555
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/disk/{pathv2}?{query}</td>
|
|
1556
|
-
<td style="padding:15px">Yes</td>
|
|
1557
|
-
</tr>
|
|
1558
|
-
<tr>
|
|
1559
|
-
<td style="padding:15px">postVcentervmvmhardwareethernet(vm, spec, callback)</td>
|
|
1560
|
-
<td style="padding:15px">Adds a virtual Ethernet adapter to the virtual machine.</td>
|
|
1561
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/ethernet?{query}</td>
|
|
1562
|
-
<td style="padding:15px">Yes</td>
|
|
1563
|
-
</tr>
|
|
1564
|
-
<tr>
|
|
1565
|
-
<td style="padding:15px">getVcentervmvmhardwareethernet(vm, callback)</td>
|
|
1566
|
-
<td style="padding:15px">Returns commonly used information about the virtual Ethernet adapters belonging to the virtual machine.</td>
|
|
1567
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/ethernet?{query}</td>
|
|
1568
|
-
<td style="padding:15px">Yes</td>
|
|
1569
|
-
</tr>
|
|
1570
|
-
<tr>
|
|
1571
|
-
<td style="padding:15px">patchVcentervmvmhardwareethernetnic(vm, nic, spec, callback)</td>
|
|
1572
|
-
<td style="padding:15px">Updates the configuration of a virtual Ethernet adapter.</td>
|
|
1573
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/ethernet/{pathv2}?{query}</td>
|
|
1574
|
-
<td style="padding:15px">Yes</td>
|
|
1575
|
-
</tr>
|
|
1576
|
-
<tr>
|
|
1577
|
-
<td style="padding:15px">getVcentervmvmhardwareethernetnic(vm, nic, callback)</td>
|
|
1578
|
-
<td style="padding:15px">Returns information about a virtual Ethernet adapter.</td>
|
|
1579
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/ethernet/{pathv2}?{query}</td>
|
|
1580
|
-
<td style="padding:15px">Yes</td>
|
|
1581
|
-
</tr>
|
|
1582
|
-
<tr>
|
|
1583
|
-
<td style="padding:15px">deleteVcentervmvmhardwareethernetnic(vm, nic, callback)</td>
|
|
1584
|
-
<td style="padding:15px">Removes a virtual Ethernet adapter from the virtual machine.</td>
|
|
1585
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/ethernet/{pathv2}?{query}</td>
|
|
1586
|
-
<td style="padding:15px">Yes</td>
|
|
1587
|
-
</tr>
|
|
1588
|
-
<tr>
|
|
1589
|
-
<td style="padding:15px">postVcentervmvmhardwareethernetnicconnect(vm, nic, callback)</td>
|
|
1590
|
-
<td style="padding:15px">Connects a virtual Ethernet adapter of a powered-on virtual machine to its backing. Connecting the virtual device makes the backing accessible from the perspective of the guest operating system.
|
|
1591
|
-
For a powered-off virtual machine, the Ethernet.update operation may be used to configure the virtual Ethernet adapter to start in the connected state when the virtual machine is powered on.
|
|
1592
|
-
</td>
|
|
1593
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/ethernet/{pathv2}/connect?{query}</td>
|
|
1594
|
-
<td style="padding:15px">Yes</td>
|
|
1595
|
-
</tr>
|
|
1596
|
-
<tr>
|
|
1597
|
-
<td style="padding:15px">postVcentervmvmhardwareethernetnicdisconnect(vm, nic, callback)</td>
|
|
1598
|
-
<td style="padding:15px">Disconnects a virtual Ethernet adapter of a powered-on virtual machine from its backing. The virtual device is still present and its backing configuration is unchanged, but from the perspective of the guest operating system, the Ethernet adapter is not connected to its backing resource.
|
|
1599
|
-
For a powered-off virtual machine, the Ethernet.update operation may be used to configure the virtual Ethernet adapter to start in the disconnected state when the virtual machine is powered on.
|
|
1600
|
-
</td>
|
|
1601
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/ethernet/{pathv2}/disconnect?{query}</td>
|
|
1602
|
-
<td style="padding:15px">Yes</td>
|
|
1603
|
-
</tr>
|
|
1604
|
-
<tr>
|
|
1605
|
-
<td style="padding:15px">postVcentervmvmhardwarefloppy(vm, spec, callback)</td>
|
|
1606
|
-
<td style="padding:15px">Adds a virtual floppy drive to the virtual machine.</td>
|
|
1607
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/floppy?{query}</td>
|
|
1608
|
-
<td style="padding:15px">Yes</td>
|
|
1609
|
-
</tr>
|
|
1610
|
-
<tr>
|
|
1611
|
-
<td style="padding:15px">getVcentervmvmhardwarefloppy(vm, callback)</td>
|
|
1612
|
-
<td style="padding:15px">Returns commonly used information about the virtual floppy drives belonging to the virtual machine.</td>
|
|
1613
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/floppy?{query}</td>
|
|
1614
|
-
<td style="padding:15px">Yes</td>
|
|
1615
|
-
</tr>
|
|
1616
|
-
<tr>
|
|
1617
|
-
<td style="padding:15px">deleteVcentervmvmhardwarefloppyfloppy(vm, floppy, callback)</td>
|
|
1618
|
-
<td style="padding:15px">Removes a virtual floppy drive from the virtual machine.</td>
|
|
1619
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/floppy/{pathv2}?{query}</td>
|
|
1620
|
-
<td style="padding:15px">Yes</td>
|
|
1621
|
-
</tr>
|
|
1622
|
-
<tr>
|
|
1623
|
-
<td style="padding:15px">patchVcentervmvmhardwarefloppyfloppy(vm, floppy, spec, callback)</td>
|
|
1624
|
-
<td style="padding:15px">Updates the configuration of a virtual floppy drive.</td>
|
|
1625
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/floppy/{pathv2}?{query}</td>
|
|
1626
|
-
<td style="padding:15px">Yes</td>
|
|
1627
|
-
</tr>
|
|
1628
|
-
<tr>
|
|
1629
|
-
<td style="padding:15px">getVcentervmvmhardwarefloppyfloppy(vm, floppy, callback)</td>
|
|
1630
|
-
<td style="padding:15px">Returns information about a virtual floppy drive.</td>
|
|
1631
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/floppy/{pathv2}?{query}</td>
|
|
1632
|
-
<td style="padding:15px">Yes</td>
|
|
1633
|
-
</tr>
|
|
1634
|
-
<tr>
|
|
1635
|
-
<td style="padding:15px">postVcentervmvmhardwarefloppyfloppyconnect(vm, floppy, callback)</td>
|
|
1636
|
-
<td style="padding:15px">Connects a virtual floppy drive of a powered-on virtual machine to its backing. Connecting the virtual device makes the backing accessible from the perspective of the guest operating system.
|
|
1637
|
-
For a powered-off virtual machine, the Floppy.update operation may be used to configure the virtual floppy drive to start in the connected state when the virtual machine is powered on.
|
|
1638
|
-
</td>
|
|
1639
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/floppy/{pathv2}/connect?{query}</td>
|
|
1640
|
-
<td style="padding:15px">Yes</td>
|
|
1641
|
-
</tr>
|
|
1642
|
-
<tr>
|
|
1643
|
-
<td style="padding:15px">postVcentervmvmhardwarefloppyfloppydisconnect(vm, floppy, callback)</td>
|
|
1644
|
-
<td style="padding:15px">Disconnects a virtual floppy drive of a powered-on virtual machine from its backing. The virtual device is still present and its backing configuration is unchanged, but from the perspective of the guest operating system, the floppy drive is not connected to its backing resource.
|
|
1645
|
-
For a powered-off virtual machine, the Floppy.update operation may be used to configure the virtual floppy floppy to start in the disconnected state when the virtual machine is powered on.
|
|
1646
|
-
</td>
|
|
1647
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/floppy/{pathv2}/disconnect?{query}</td>
|
|
1648
|
-
<td style="padding:15px">Yes</td>
|
|
1649
|
-
</tr>
|
|
1650
|
-
<tr>
|
|
1651
|
-
<td style="padding:15px">patchVcentervmvmhardwarememory(vm, spec, callback)</td>
|
|
1652
|
-
<td style="padding:15px">Updates the memory-related settings of a virtual machine.</td>
|
|
1653
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/memory?{query}</td>
|
|
1654
|
-
<td style="padding:15px">Yes</td>
|
|
1655
|
-
</tr>
|
|
1656
|
-
<tr>
|
|
1657
|
-
<td style="padding:15px">getVcentervmvmhardwarememory(vm, callback)</td>
|
|
1658
|
-
<td style="padding:15px">Returns the memory-related settings of a virtual machine.</td>
|
|
1659
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/memory?{query}</td>
|
|
1660
|
-
<td style="padding:15px">Yes</td>
|
|
1661
|
-
</tr>
|
|
1662
|
-
<tr>
|
|
1663
|
-
<td style="padding:15px">postVcentervmvmhardwareparallel(vm, spec, callback)</td>
|
|
1664
|
-
<td style="padding:15px">Adds a virtual parallel port to the virtual machine.</td>
|
|
1665
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/parallel?{query}</td>
|
|
1666
|
-
<td style="padding:15px">Yes</td>
|
|
1667
|
-
</tr>
|
|
1668
|
-
<tr>
|
|
1669
|
-
<td style="padding:15px">getVcentervmvmhardwareparallel(vm, callback)</td>
|
|
1670
|
-
<td style="padding:15px">Returns commonly used information about the virtual parallel ports belonging to the virtual machine.</td>
|
|
1671
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/parallel?{query}</td>
|
|
1672
|
-
<td style="padding:15px">Yes</td>
|
|
1673
|
-
</tr>
|
|
1674
|
-
<tr>
|
|
1675
|
-
<td style="padding:15px">deleteVcentervmvmhardwareparallelport(vm, port, callback)</td>
|
|
1676
|
-
<td style="padding:15px">Removes a virtual parallel port from the virtual machine.</td>
|
|
1677
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/parallel/{pathv2}?{query}</td>
|
|
1678
|
-
<td style="padding:15px">Yes</td>
|
|
1679
|
-
</tr>
|
|
1680
|
-
<tr>
|
|
1681
|
-
<td style="padding:15px">patchVcentervmvmhardwareparallelport(vm, port, spec, callback)</td>
|
|
1682
|
-
<td style="padding:15px">Updates the configuration of a virtual parallel port.</td>
|
|
1683
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/parallel/{pathv2}?{query}</td>
|
|
1684
|
-
<td style="padding:15px">Yes</td>
|
|
1685
|
-
</tr>
|
|
1686
|
-
<tr>
|
|
1687
|
-
<td style="padding:15px">getVcentervmvmhardwareparallelport(vm, port, callback)</td>
|
|
1688
|
-
<td style="padding:15px">Returns information about a virtual parallel port.</td>
|
|
1689
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/parallel/{pathv2}?{query}</td>
|
|
1690
|
-
<td style="padding:15px">Yes</td>
|
|
1691
|
-
</tr>
|
|
1692
|
-
<tr>
|
|
1693
|
-
<td style="padding:15px">postVcentervmvmhardwareparallelportconnect(vm, port, callback)</td>
|
|
1694
|
-
<td style="padding:15px">Connects a virtual parallel port of a powered-on virtual machine to its backing. Connecting the virtual device makes the backing accessible from the perspective of the guest operating system.
|
|
1695
|
-
For a powered-off virtual machine, the Parallel.update operation may be used to configure the virtual parallel port to start in the connected state when the virtual machine is powered on.
|
|
1696
|
-
</td>
|
|
1697
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/parallel/{pathv2}/connect?{query}</td>
|
|
1698
|
-
<td style="padding:15px">Yes</td>
|
|
1699
|
-
</tr>
|
|
1700
|
-
<tr>
|
|
1701
|
-
<td style="padding:15px">postVcentervmvmhardwareparallelportdisconnect(vm, port, callback)</td>
|
|
1702
|
-
<td style="padding:15px">Disconnects a virtual parallel port of a powered-on virtual machine from its backing. The virtual device is still present and its backing configuration is unchanged, but from the perspective of the guest operating system, the parallel port is not connected to its backing.
|
|
1703
|
-
For a powered-off virtual machine, the Parallel.update operation may be used to configure the virtual parallel port to start in the disconnected state when the virtual machine is powered on.
|
|
1704
|
-
</td>
|
|
1705
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/parallel/{pathv2}/disconnect?{query}</td>
|
|
1706
|
-
<td style="padding:15px">Yes</td>
|
|
1707
|
-
</tr>
|
|
1708
|
-
<tr>
|
|
1709
|
-
<td style="padding:15px">postVcentervmvmhardwareserial(vm, spec, callback)</td>
|
|
1710
|
-
<td style="padding:15px">Adds a virtual serial port to the virtual machine.</td>
|
|
1711
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/serial?{query}</td>
|
|
1712
|
-
<td style="padding:15px">Yes</td>
|
|
1713
|
-
</tr>
|
|
1714
|
-
<tr>
|
|
1715
|
-
<td style="padding:15px">getVcentervmvmhardwareserial(vm, callback)</td>
|
|
1716
|
-
<td style="padding:15px">Returns commonly used information about the virtual serial ports belonging to the virtual machine.</td>
|
|
1717
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/serial?{query}</td>
|
|
1718
|
-
<td style="padding:15px">Yes</td>
|
|
1719
|
-
</tr>
|
|
1720
|
-
<tr>
|
|
1721
|
-
<td style="padding:15px">patchVcentervmvmhardwareserialport(vm, port, spec, callback)</td>
|
|
1722
|
-
<td style="padding:15px">Updates the configuration of a virtual serial port.</td>
|
|
1723
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/serial/{pathv2}?{query}</td>
|
|
1724
|
-
<td style="padding:15px">Yes</td>
|
|
1725
|
-
</tr>
|
|
1726
|
-
<tr>
|
|
1727
|
-
<td style="padding:15px">getVcentervmvmhardwareserialport(vm, port, callback)</td>
|
|
1728
|
-
<td style="padding:15px">Returns information about a virtual serial port.</td>
|
|
1729
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/serial/{pathv2}?{query}</td>
|
|
1730
|
-
<td style="padding:15px">Yes</td>
|
|
1731
|
-
</tr>
|
|
1732
|
-
<tr>
|
|
1733
|
-
<td style="padding:15px">deleteVcentervmvmhardwareserialport(vm, port, callback)</td>
|
|
1734
|
-
<td style="padding:15px">Removes a virtual serial port from the virtual machine.</td>
|
|
1735
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/serial/{pathv2}?{query}</td>
|
|
1736
|
-
<td style="padding:15px">Yes</td>
|
|
1737
|
-
</tr>
|
|
1738
|
-
<tr>
|
|
1739
|
-
<td style="padding:15px">postVcentervmvmhardwareserialportconnect(vm, port, callback)</td>
|
|
1740
|
-
<td style="padding:15px">Connects a virtual serial port of a powered-on virtual machine to its backing. Connecting the virtual device makes the backing accessible from the perspective of the guest operating system.
|
|
1741
|
-
For a powered-off virtual machine, the Serial.update operation may be used to configure the virtual serial port to start in the connected state when the virtual machine is powered on.
|
|
1742
|
-
</td>
|
|
1743
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/serial/{pathv2}/connect?{query}</td>
|
|
1744
|
-
<td style="padding:15px">Yes</td>
|
|
1745
|
-
</tr>
|
|
1746
|
-
<tr>
|
|
1747
|
-
<td style="padding:15px">postVcentervmvmhardwareserialportdisconnect(vm, port, callback)</td>
|
|
1748
|
-
<td style="padding:15px">Disconnects a virtual serial port of a powered-on virtual machine from its backing. The virtual device is still present and its backing configuration is unchanged, but from the perspective of the guest operating system, the serial port is not connected to its backing.
|
|
1749
|
-
For a powered-off virtual machine, the Serial.update operation may be used to configure the virtual serial port to start in the disconnected state when the virtual machine is powered on.
|
|
1750
|
-
</td>
|
|
1751
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/hardware/serial/{pathv2}/disconnect?{query}</td>
|
|
1752
|
-
<td style="padding:15px">Yes</td>
|
|
1753
|
-
</tr>
|
|
1754
|
-
<tr>
|
|
1755
|
-
<td style="padding:15px">getVcentervmvmpower(vm, callback)</td>
|
|
1756
|
-
<td style="padding:15px">Returns the power state information of a virtual machine.</td>
|
|
1757
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/power?{query}</td>
|
|
1758
|
-
<td style="padding:15px">Yes</td>
|
|
1759
|
-
</tr>
|
|
1760
|
-
<tr>
|
|
1761
|
-
<td style="padding:15px">postVcentervmvmpowerreset(vm, callback)</td>
|
|
1762
|
-
<td style="padding:15px">Resets a powered-on virtual machine.</td>
|
|
1763
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/power/reset?{query}</td>
|
|
1764
|
-
<td style="padding:15px">Yes</td>
|
|
1765
|
-
</tr>
|
|
1766
|
-
<tr>
|
|
1767
|
-
<td style="padding:15px">postVcentervmvmpowerstart(vm, callback)</td>
|
|
1768
|
-
<td style="padding:15px">Powers on a powered-off or suspended virtual machine.</td>
|
|
1769
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/power/start?{query}</td>
|
|
1770
|
-
<td style="padding:15px">Yes</td>
|
|
1771
|
-
</tr>
|
|
1772
|
-
<tr>
|
|
1773
|
-
<td style="padding:15px">postVcentervmvmpowerstop(vm, callback)</td>
|
|
1774
|
-
<td style="padding:15px">Powers off a powered-on or suspended virtual machine.</td>
|
|
1775
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/power/stop?{query}</td>
|
|
1776
|
-
<td style="padding:15px">Yes</td>
|
|
1777
|
-
</tr>
|
|
1778
|
-
<tr>
|
|
1779
|
-
<td style="padding:15px">postVcentervmvmpowersuspend(vm, callback)</td>
|
|
1780
|
-
<td style="padding:15px">Suspends a powered-on virtual machine.</td>
|
|
1781
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm/{pathv1}/power/suspend?{query}</td>
|
|
1782
|
-
<td style="padding:15px">Yes</td>
|
|
1783
|
-
</tr>
|
|
1784
|
-
<tr>
|
|
1785
|
-
<td style="padding:15px">postVcentervmtemplatedeploy(item, requestBody, callback)</td>
|
|
1786
|
-
<td style="padding:15px">Creates a Virtual Machine from the template</td>
|
|
1787
|
-
<td style="padding:15px">{base_path}/{version}/vcenter/vm-template/library-items/{pathv1}?{query}</td>
|
|
1788
|
-
<td style="padding:15px">Yes</td>
|
|
1789
|
-
</tr>
|
|
1790
|
-
</table>
|
|
1791
|
-
<br>
|
|
1792
|
-
|
|
1793
|
-
### Authentication
|
|
1794
|
-
|
|
1795
|
-
This document will go through the steps for authenticating the VMware vCenter adapter with Dynamic Token Authentication. Properly configuring the properties for an adapter in IAP is critical for getting the adapter online. You can read more about adapter authentication <a href="https://docs.itential.com/opensource/docs/authentication" target="_blank">HERE</a>.
|
|
1796
|
-
|
|
1797
|
-
#### Dynamic Token Authentication
|
|
1798
|
-
The VMware vCenter adapter requires Dynamic Token Authentication. If you change authentication methods, you should change this section accordingly and merge it back into the adapter repository.
|
|
1799
|
-
|
|
1800
|
-
STEPS
|
|
1801
|
-
1. Ensure you have access to a VMware vCenter server and that it is running
|
|
1802
|
-
2. Follow the steps in the README.md to import the adapter into IAP if you have not already done so
|
|
1803
|
-
3. Use the properties below for the ```properties.authentication``` field
|
|
1804
|
-
```json
|
|
1805
|
-
"authentication": {
|
|
1806
|
-
"auth_method": "request_token",
|
|
1807
|
-
"username": "<username>",
|
|
1808
|
-
"password": "<password>",
|
|
1809
|
-
"token_timeout": 180000,
|
|
1810
|
-
"token_cache": "local",
|
|
1811
|
-
"invalid_token_error": 401,
|
|
1812
|
-
"auth_field": "header.headers.Cookie",
|
|
1813
|
-
"auth_field_format": "vmware-api-session-id={token}"
|
|
1814
|
-
}
|
|
1815
|
-
```
|
|
1816
|
-
you can leave all of the other properties in the authentication section, they will not be used for VMware vCenter dynamic token authentication.<br>
|
|
1817
|
-
4. Restart the adapter. If your properties were set correctly, the adapter should go online.
|
|
1818
|
-
|
|
1819
|
-
#### Troubleshooting
|
|
1820
|
-
- Make sure you copied over the correct username and password.
|
|
1821
|
-
- Turn on debug level logs for the adapter in IAP Admin Essentials.
|
|
1822
|
-
- Turn on auth_logging for the adapter in IAP Admin Essentials (adapter properties).
|
|
1823
|
-
- Investigate the logs - in particular:
|
|
1824
|
-
- The FULL REQUEST log to make sure the proper headers are being sent with the request.
|
|
1825
|
-
- The FULL BODY log to make sure the payload is accurate.
|
|
1826
|
-
- The CALL RETURN log to see what the other system is telling us.
|
|
1827
|
-
- Credentials should be ** masked ** by the adapter so make sure you verify the username and password - including that there are erroneous spaces at the front or end.
|
|
1828
|
-
- Remember when you are done to turn auth_logging off as you do not want to log credentials.
|
|
1829
|
-
|
|
1830
|
-
## Additional Information
|
|
1831
|
-
|
|
1832
|
-
### Enhancements
|
|
1833
|
-
|
|
1834
|
-
#### Adding a Second Instance of an Adapter
|
|
1835
|
-
|
|
1836
|
-
You can add a second instance of this adapter without adding new code on the file system. To do this go into the IAP Admin Essentials and add a new service config for this adapter. The two instances of the adapter should have unique ids. In addition, they should point to different instances (unique host and port) of the other system.
|
|
1837
|
-
|
|
1838
|
-
#### Adding Adapter Calls
|
|
1839
|
-
|
|
1840
|
-
There are multiple ways to add calls to an existing adapter.
|
|
1841
|
-
|
|
1842
|
-
The easiest way would be to use the Adapter Builder update process. This process takes in a Swagger or OpenAPI document, allows you to select the calls you want to add and then generates a zip file that can be used to update the adapter. Once you have the zip file simply put it in the adapter directory and execute `npm run adapter:update`.
|
|
1843
|
-
|
|
1844
|
-
```bash
|
|
1845
|
-
mv updatePackage.zip adapter-vmware_vcenter
|
|
1846
|
-
cd adapter-vmware_vcenter
|
|
1847
|
-
npm run adapter:update
|
|
1848
|
-
```
|
|
1849
|
-
|
|
1850
|
-
If you do not have a Swagger or OpenAPI document, you can use a Postman Collection and convert that to an OpenAPI document using APIMatic and then follow the first process.
|
|
1851
|
-
|
|
1852
|
-
If you want to manually update the adapter that can also be done the key thing is to make sure you update all of the right files. Within the entities directory you will find 1 or more entities. You can create a new entity or add to an existing entity. Each entity has an action.json file, any new call will need to be put in the action.json file. It will also need to be added to the enum for the ph_request_type in the appropriate schema files. Once this configuration is complete you will need to add the call to the adapter.js file and, in order to make it available as a workflow task in IAP, it should also be added to the pronghorn.json file. You can optionally add it to the unit and integration test files. There is more information on how to work on each of these files in the <a href="https://docs.itential.com/opensource/docs/adapters" target="_blank">Adapter Technical Resources</a> on our Documentation Site.
|
|
1853
|
-
|
|
1854
|
-
```text
|
|
1855
|
-
Files to update
|
|
1856
|
-
* entities/<entity>/action.json: add an action
|
|
1857
|
-
* entities/<entity>/schema.json (or the schema defined on the action): add action to the enum for ph_request_type
|
|
1858
|
-
* adapter.js: add the new method and make sure it calls the proper entity and action
|
|
1859
|
-
* pronghorn.json: add the new method
|
|
1860
|
-
* test/unit/adapterTestUnit.js (optional but best practice): add unit test(s) - function is there, any required parameters error when not passed in
|
|
1861
|
-
* test/integration/adapterTestIntegration.js (optional but best practice): add integration test
|
|
1862
|
-
```
|
|
1863
|
-
|
|
1864
|
-
#### Adding Adapter Properties
|
|
1865
|
-
|
|
1866
|
-
While changing adapter properties is done in the service instance configuration section of IAP, adding properties has to be done in the adapter. To add a property you should edit the propertiesSchema.json with the proper information for the property. In addition, you should modify the sampleProperties to have the new property in it.
|
|
1867
|
-
|
|
1868
|
-
```text
|
|
1869
|
-
Files to update
|
|
1870
|
-
* propertiesSchema.json: add the new property and how it is defined
|
|
1871
|
-
* sampleProperties: add the new property with a default value
|
|
1872
|
-
* test/unit/adapterTestUnit.js (optional but best practice): add the property to the global properties
|
|
1873
|
-
* test/integration/adapterTestIntegration.js (optional but best practice): add the property to the global properties
|
|
1874
|
-
```
|
|
1875
|
-
|
|
1876
|
-
#### Changing Adapter Authentication
|
|
1877
|
-
|
|
1878
|
-
Often an adapter is built before knowing the authentication and authentication processes can also change over time. The adapter supports many different kinds of authentication but it does require configuration. Some forms of authentication can be defined entirely with the adapter properties but others require configuration.
|
|
1879
|
-
|
|
1880
|
-
```text
|
|
1881
|
-
Files to update
|
|
1882
|
-
* entities/.system/action.json: change the getToken action as needed
|
|
1883
|
-
* entities/.system/schemaTokenReq.json: add input parameters (external name is name in other system)
|
|
1884
|
-
* entities/.system/schemaTokenResp.json: add response parameters (external name is name in other system)
|
|
1885
|
-
* propertiesSchema.json: add any new property and how it is defined
|
|
1886
|
-
* sampleProperties: add any new property with a default value
|
|
1887
|
-
* test/unit/adapterTestUnit.js (optional but best practice): add the property to the global properties
|
|
1888
|
-
* test/integration/adapterTestIntegration.js (optional but best practice): add the property to the global properties
|
|
1889
|
-
```
|
|
1890
|
-
|
|
1891
|
-
#### Enhancing Adapter Integration Tests
|
|
1892
|
-
|
|
1893
|
-
The adapter integration tests are written to be able to test in either stub (standalone) mode or integrated to the other system. However, if integrating to the other system, you may need to provide better data than what the adapter provides by default as that data is likely to fail for create and update. To provide better data, edit the adapter integration test file. Make sure you do not remove the marker and keep custom code below the marker so you do not impact future migrations. Once the edits are complete, run the integration test as it instructs you to above. When you run integrated to the other system, you can also save mockdata for future use by changing the isSaveMockData flag to true.
|
|
1894
|
-
|
|
1895
|
-
```text
|
|
1896
|
-
Files to update
|
|
1897
|
-
* test/integration/adapterTestIntegration.js: add better data for the create and update calls so that they will not fail.
|
|
1898
|
-
```
|
|
1899
|
-
|
|
1900
|
-
As mentioned previously, for most of these changes as well as other possible changes, there is more information on how to work on an adapter in the <a href="https://docs.itential.com/opensource/docs/adapters" target="_blank">Adapter Technical Resources</a> on our Documentation Site.
|
|
1901
|
-
|
|
1902
|
-
### Contributing
|
|
1903
|
-
|
|
1904
|
-
First off, thanks for taking the time to contribute!
|
|
1905
|
-
|
|
1906
|
-
The following is a set of rules for contributing.
|
|
1907
|
-
|
|
1908
|
-
#### Code of Conduct
|
|
1909
|
-
|
|
1910
|
-
This project and everyone participating in it is governed by the Code of Conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to support@itential.com.
|
|
1911
|
-
|
|
1912
|
-
#### How to Contribute
|
|
1913
|
-
|
|
1914
|
-
Follow the contributing guide (here)[https://gitlab.com/itentialopensource/adapters/contributing-guide]
|
|
1915
|
-
|
|
1916
|
-
### Helpful Links
|
|
1917
|
-
|
|
1918
|
-
<a href="https://docs.itential.com/opensource/docs/adapters" target="_blank">Adapter Technical Resources</a>
|
|
1919
|
-
|
|
1920
|
-
### Node Scripts
|
|
1921
|
-
|
|
1922
|
-
There are several node scripts that now accompany the adapter. These scripts are provided to make several activities easier. Many of these scripts can have issues with different versions of IAP as they have dependencies on IAP and Mongo. If you have issues with the scripts please report them to the Itential Adapter Team. Each of these scripts are described below.
|
|
1923
|
-
|
|
1924
|
-
<table border="1" class="bordered-table">
|
|
1925
|
-
<tr>
|
|
1926
|
-
<th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Run</span></th>
|
|
1927
|
-
<th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Description</span></th>
|
|
1928
|
-
</tr>
|
|
1929
|
-
<tr>
|
|
1930
|
-
<td style="padding:15px">npm run adapter:install</td>
|
|
1931
|
-
<td style="padding:15px">Provides an easier way to install the adapter.</td>
|
|
1932
|
-
</tr>
|
|
1933
|
-
<tr>
|
|
1934
|
-
<td style="padding:15px">npm run adapter:checkMigrate</td>
|
|
1935
|
-
<td style="padding:15px">Checks whether your adapter can and should be migrated to the latest foundation.</td>
|
|
1936
|
-
</tr>
|
|
1937
|
-
<tr>
|
|
1938
|
-
<td style="padding:15px">npm run adapter:findPath</td>
|
|
1939
|
-
<td style="padding:15px">Can be used to see if the adapter supports a particular API call.</td>
|
|
1940
|
-
</tr>
|
|
1941
|
-
<tr>
|
|
1942
|
-
<td style="padding:15px">npm run adapter:migrate</td>
|
|
1943
|
-
<td style="padding:15px">Provides an easier way to update your adapter after you download the migration zip from Itential DevSite.</td>
|
|
1944
|
-
</tr>
|
|
1945
|
-
<tr>
|
|
1946
|
-
<td style="padding:15px">npm run adapter:update</td>
|
|
1947
|
-
<td style="padding:15px">Provides an easier way to update your adapter after you download the update zip from Itential DevSite.</td>
|
|
1948
|
-
</tr>
|
|
1949
|
-
<tr>
|
|
1950
|
-
<td style="padding:15px">npm run adapter:revert</td>
|
|
1951
|
-
<td style="padding:15px">Allows you to revert after a migration or update if it resulted in issues.</td>
|
|
1952
|
-
</tr>
|
|
1953
|
-
<tr>
|
|
1954
|
-
<td style="padding:15px">npm run troubleshoot</td>
|
|
1955
|
-
<td style="padding:15px">Provides a way to troubleshoot the adapter - runs connectivity, healthcheck and basic get.</td>
|
|
1956
|
-
</tr>
|
|
1957
|
-
<tr>
|
|
1958
|
-
<td style="padding:15px">npm run connectivity</td>
|
|
1959
|
-
<td style="padding:15px">Provides a connectivity check to the Servicenow system.</td>
|
|
1960
|
-
</tr>
|
|
1961
|
-
<tr>
|
|
1962
|
-
<td style="padding:15px">npm run healthcheck</td>
|
|
1963
|
-
<td style="padding:15px">Checks whether the configured healthcheck call works to Servicenow.</td>
|
|
1964
|
-
</tr>
|
|
1965
|
-
<tr>
|
|
1966
|
-
<td style="padding:15px">npm run basicget</td>
|
|
1967
|
-
<td style="padding:15px">Checks whether the basic get calls works to Servicenow.</td>
|
|
1968
|
-
</tr>
|
|
1969
|
-
</table>
|
|
1970
|
-
<br>
|
|
1971
|
-
|
|
1972
|
-
## Troubleshoot
|
|
1973
|
-
|
|
1974
|
-
Run `npm run troubleshoot` to start the interactive troubleshooting process. The command allows you to verify and update connection, authentication as well as healthcheck configuration. After that it will test these properties by sending HTTP request to the endpoint. If the tests pass, it will persist these changes into IAP.
|
|
1975
|
-
|
|
1976
|
-
You also have the option to run individual commands to perform specific test:
|
|
1977
|
-
|
|
1978
|
-
- `npm run healthcheck` will perform a healthcheck request of with current setting.
|
|
1979
|
-
- `npm run basicget` will perform some non-parameter GET request with current setting.
|
|
1980
|
-
- `npm run connectivity` will perform networking diagnostics of the adatper endpoint.
|
|
1981
|
-
|
|
1982
|
-
### Connectivity Issues
|
|
1983
|
-
|
|
1984
|
-
1. You can run the adapter troubleshooting script which will check connectivity, run the healthcheck and run basic get calls.
|
|
1985
|
-
|
|
1986
|
-
```bash
|
|
1987
|
-
npm run troubleshoot
|
|
1988
|
-
```
|
|
1989
|
-
|
|
1990
|
-
2. Verify the adapter properties are set up correctly.
|
|
1991
|
-
|
|
1992
|
-
```text
|
|
1993
|
-
Go into the Itential Platform GUI and verify/update the properties
|
|
1994
|
-
```
|
|
1995
|
-
|
|
1996
|
-
3. Verify there is connectivity between the Itential Platform Server and Vmware_vCenter Server.
|
|
1997
|
-
|
|
1998
|
-
```text
|
|
1999
|
-
ping the ip address of Vmware_vCenter server
|
|
2000
|
-
try telnet to the ip address port of Vmware_vCenter
|
|
2001
|
-
execute a curl command to the other system
|
|
2002
|
-
```
|
|
2003
|
-
|
|
2004
|
-
4. Verify the credentials provided for Vmware_vCenter.
|
|
2005
|
-
|
|
2006
|
-
```text
|
|
2007
|
-
login to Vmware_vCenter using the provided credentials
|
|
2008
|
-
```
|
|
2009
|
-
|
|
2010
|
-
5. Verify the API of the call utilized for Vmware_vCenter Healthcheck.
|
|
2011
|
-
|
|
2012
|
-
```text
|
|
2013
|
-
Go into the Itential Platform GUI and verify/update the properties
|
|
2014
|
-
```
|
|
2015
|
-
|
|
2016
|
-
### Functional Issues
|
|
2017
|
-
|
|
2018
|
-
Adapter logs are located in `/var/log/pronghorn`. In older releases of the Itential Platform, there is a `pronghorn.log` file which contains logs for all of the Itential Platform. In newer versions, adapters can be configured to log into their own files.
|
|
2019
|
-
|
|
315
|
+
## [Generic Adapter Information](https://gitlab.com/itentialopensource/adapters/adapter-vmware_vcenter/-/blob/master/README.md)
|
|
2020
316
|
|