@openshift-migration-advisor/agent-sdk 0.31.0 → 0.32.0-347af06813e6
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/.openapi-generator/FILES +18 -2
- package/README.md +12 -4
- package/dist/apis/AppliancesApi.d.ts +64 -0
- package/dist/apis/AppliancesApi.js +72 -0
- package/dist/apis/CollectorApi.d.ts +0 -38
- package/dist/apis/CollectorApi.js +0 -59
- package/dist/apis/GroupsApi.d.ts +39 -0
- package/dist/apis/GroupsApi.js +40 -0
- package/dist/apis/InventoriesApi.d.ts +9 -9
- package/dist/apis/InventoriesApi.js +3 -3
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/AppliancesApi.d.ts +64 -0
- package/dist/esm/apis/AppliancesApi.js +68 -0
- package/dist/esm/apis/CollectorApi.d.ts +0 -38
- package/dist/esm/apis/CollectorApi.js +0 -59
- package/dist/esm/apis/GroupsApi.d.ts +39 -0
- package/dist/esm/apis/GroupsApi.js +40 -0
- package/dist/esm/apis/InventoriesApi.d.ts +9 -9
- package/dist/esm/apis/InventoriesApi.js +3 -3
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/Appliance.d.ts +51 -0
- package/dist/esm/models/Appliance.js +64 -0
- package/dist/esm/models/ApplianceListResponse.d.ts +31 -0
- package/dist/esm/models/ApplianceListResponse.js +44 -0
- package/dist/esm/models/ApplicationOverview.d.ts +16 -0
- package/dist/esm/models/ApplicationOverview.js +12 -0
- package/dist/esm/models/CollectedInventory.d.ts +31 -0
- package/dist/esm/models/CollectedInventory.js +44 -0
- package/dist/esm/models/GroupResponse.d.ts +2 -2
- package/dist/esm/models/GroupResponse.js +3 -3
- package/dist/esm/models/Host.d.ts +26 -0
- package/dist/esm/models/Host.js +14 -0
- package/dist/esm/models/HostPhysicalNIC.d.ts +34 -0
- package/dist/esm/models/HostPhysicalNIC.js +45 -0
- package/dist/esm/models/HostStorageAdapter.d.ts +58 -0
- package/dist/esm/models/HostStorageAdapter.js +55 -0
- package/dist/esm/models/HostStorageLun.d.ts +50 -0
- package/dist/esm/models/HostStorageLun.js +51 -0
- package/dist/esm/models/Inventory.d.ts +24 -2
- package/dist/esm/models/Inventory.js +17 -4
- package/dist/esm/models/OsInfo.d.ts +12 -0
- package/dist/esm/models/OsInfo.js +9 -0
- package/dist/esm/models/Product.d.ts +66 -0
- package/dist/esm/models/Product.js +61 -0
- package/dist/esm/models/UpdateInventory.d.ts +2 -2
- package/dist/esm/models/UpdateInventory.js +3 -3
- package/dist/esm/models/VirtualMachineDetail.d.ts +14 -0
- package/dist/esm/models/VirtualMachineDetail.js +8 -0
- package/dist/esm/models/VirtualMachineIdentity.d.ts +34 -0
- package/dist/esm/models/VirtualMachineIdentity.js +47 -0
- package/dist/esm/models/VirtualMachineNIC.d.ts +12 -0
- package/dist/esm/models/VirtualMachineNIC.js +6 -0
- package/dist/esm/models/index.d.ts +8 -1
- package/dist/esm/models/index.js +8 -1
- package/dist/esm/runtime.js +4 -3
- package/dist/models/Appliance.d.ts +51 -0
- package/dist/models/Appliance.js +71 -0
- package/dist/models/ApplianceListResponse.d.ts +31 -0
- package/dist/models/ApplianceListResponse.js +51 -0
- package/dist/models/ApplicationOverview.d.ts +16 -0
- package/dist/models/ApplicationOverview.js +12 -0
- package/dist/models/CollectedInventory.d.ts +31 -0
- package/dist/models/CollectedInventory.js +51 -0
- package/dist/models/GroupResponse.d.ts +2 -2
- package/dist/models/GroupResponse.js +3 -3
- package/dist/models/Host.d.ts +26 -0
- package/dist/models/Host.js +14 -0
- package/dist/models/HostPhysicalNIC.d.ts +34 -0
- package/dist/models/HostPhysicalNIC.js +52 -0
- package/dist/models/HostStorageAdapter.d.ts +58 -0
- package/dist/models/HostStorageAdapter.js +62 -0
- package/dist/models/HostStorageLun.d.ts +50 -0
- package/dist/models/HostStorageLun.js +58 -0
- package/dist/models/Inventory.d.ts +24 -2
- package/dist/models/Inventory.js +17 -4
- package/dist/models/OsInfo.d.ts +12 -0
- package/dist/models/OsInfo.js +10 -1
- package/dist/models/Product.d.ts +66 -0
- package/dist/models/Product.js +68 -0
- package/dist/models/UpdateInventory.d.ts +2 -2
- package/dist/models/UpdateInventory.js +3 -3
- package/dist/models/VirtualMachineDetail.d.ts +14 -0
- package/dist/models/VirtualMachineDetail.js +8 -0
- package/dist/models/VirtualMachineIdentity.d.ts +34 -0
- package/dist/models/VirtualMachineIdentity.js +54 -0
- package/dist/models/VirtualMachineNIC.d.ts +12 -0
- package/dist/models/VirtualMachineNIC.js +6 -0
- package/dist/models/index.d.ts +8 -1
- package/dist/models/index.js +8 -1
- package/dist/runtime.js +4 -3
- package/docs/{Inventory1.md → Appliance.md} +16 -16
- package/docs/ApplianceListResponse.md +34 -0
- package/docs/AppliancesApi.md +76 -0
- package/docs/ApplicationOverview.md +8 -0
- package/docs/CollectedInventory.md +34 -0
- package/docs/CollectorApi.md +0 -70
- package/docs/GroupResponse.md +1 -1
- package/docs/GroupsApi.md +68 -0
- package/docs/Host.md +12 -0
- package/docs/HostPhysicalNIC.md +36 -0
- package/docs/HostStorageAdapter.md +49 -0
- package/docs/HostStorageLun.md +45 -0
- package/docs/InventoriesApi.md +4 -4
- package/docs/Inventory.md +12 -2
- package/docs/OsInfo.md +2 -0
- package/docs/Product.md +52 -0
- package/docs/UpdateInventory.md +1 -1
- package/docs/VirtualMachineDetail.md +6 -0
- package/docs/VirtualMachineIdentity.md +36 -0
- package/docs/VirtualMachineNIC.md +6 -0
- package/package.json +1 -1
- package/src/apis/AppliancesApi.ts +111 -0
- package/src/apis/CollectorApi.ts +0 -97
- package/src/apis/GroupsApi.ts +80 -0
- package/src/apis/InventoriesApi.ts +14 -14
- package/src/apis/index.ts +1 -0
- package/src/models/Appliance.ts +107 -0
- package/src/models/ApplianceListResponse.ts +72 -0
- package/src/models/ApplicationOverview.ts +26 -0
- package/src/models/CollectedInventory.ts +72 -0
- package/src/models/GroupResponse.ts +9 -9
- package/src/models/Host.ts +51 -0
- package/src/models/HostPhysicalNIC.ts +70 -0
- package/src/models/HostStorageAdapter.ts +105 -0
- package/src/models/HostStorageLun.ts +93 -0
- package/src/models/Inventory.ts +42 -11
- package/src/models/OsInfo.ts +15 -0
- package/src/models/Product.ts +118 -0
- package/src/models/UpdateInventory.ts +9 -9
- package/src/models/VirtualMachineDetail.ts +32 -0
- package/src/models/VirtualMachineIdentity.ts +71 -0
- package/src/models/VirtualMachineNIC.ts +18 -0
- package/src/models/index.ts +8 -1
- package/src/runtime.ts +3 -3
- package/dist/esm/models/Inventory1.d.ts +0 -53
- package/dist/esm/models/Inventory1.js +0 -57
- package/dist/models/Inventory1.d.ts +0 -53
- package/dist/models/Inventory1.js +0 -64
- package/src/models/Inventory1.ts +0 -103
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Assisted Migration Agent API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v2
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* A host-visible LUN; missing or conflicting identity/metadata fields are omitted.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface HostStorageLun
|
|
16
|
+
*/
|
|
17
|
+
export interface HostStorageLun {
|
|
18
|
+
/**
|
|
19
|
+
* Canonical device name, distinct from the LUN UUID.
|
|
20
|
+
*/
|
|
21
|
+
canonicalName?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Source SCSI disk key.
|
|
24
|
+
*/
|
|
25
|
+
key?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Source-provided LUN UUID; never inferred from the device name or key.
|
|
28
|
+
*/
|
|
29
|
+
lunUuid?: string;
|
|
30
|
+
/**
|
|
31
|
+
* LUN vendor.
|
|
32
|
+
*/
|
|
33
|
+
vendor?: string;
|
|
34
|
+
/**
|
|
35
|
+
* LUN model.
|
|
36
|
+
*/
|
|
37
|
+
model?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Distinct sorted adapter device names associated with this LUN, including names whose adapter metadata is unavailable.
|
|
40
|
+
*/
|
|
41
|
+
adapterDevices?: Array<string>;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the HostStorageLun interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfHostStorageLun(value: object): value is HostStorageLun;
|
|
47
|
+
export declare function HostStorageLunFromJSON(json: any): HostStorageLun;
|
|
48
|
+
export declare function HostStorageLunFromJSONTyped(json: any, ignoreDiscriminator: boolean): HostStorageLun;
|
|
49
|
+
export declare function HostStorageLunToJSON(json: any): HostStorageLun;
|
|
50
|
+
export declare function HostStorageLunToJSONTyped(value?: HostStorageLun | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Assisted Migration Agent API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v2
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfHostStorageLun = instanceOfHostStorageLun;
|
|
17
|
+
exports.HostStorageLunFromJSON = HostStorageLunFromJSON;
|
|
18
|
+
exports.HostStorageLunFromJSONTyped = HostStorageLunFromJSONTyped;
|
|
19
|
+
exports.HostStorageLunToJSON = HostStorageLunToJSON;
|
|
20
|
+
exports.HostStorageLunToJSONTyped = HostStorageLunToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the HostStorageLun interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfHostStorageLun(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function HostStorageLunFromJSON(json) {
|
|
28
|
+
return HostStorageLunFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function HostStorageLunFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'canonicalName': json['canonicalName'] == null ? undefined : json['canonicalName'],
|
|
36
|
+
'key': json['key'] == null ? undefined : json['key'],
|
|
37
|
+
'lunUuid': json['lunUuid'] == null ? undefined : json['lunUuid'],
|
|
38
|
+
'vendor': json['vendor'] == null ? undefined : json['vendor'],
|
|
39
|
+
'model': json['model'] == null ? undefined : json['model'],
|
|
40
|
+
'adapterDevices': json['adapterDevices'] == null ? undefined : json['adapterDevices'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function HostStorageLunToJSON(json) {
|
|
44
|
+
return HostStorageLunToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function HostStorageLunToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'canonicalName': value['canonicalName'],
|
|
52
|
+
'key': value['key'],
|
|
53
|
+
'lunUuid': value['lunUuid'],
|
|
54
|
+
'vendor': value['vendor'],
|
|
55
|
+
'model': value['model'],
|
|
56
|
+
'adapterDevices': value['adapterDevices'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -9,17 +9,39 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { InventoryData } from './InventoryData.js';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
16
16
|
* @interface Inventory
|
|
17
17
|
*/
|
|
18
18
|
export interface Inventory {
|
|
19
|
+
/**
|
|
20
|
+
* ID of the vCenter
|
|
21
|
+
*/
|
|
22
|
+
vcenter_id: string;
|
|
23
|
+
/**
|
|
24
|
+
* Version of the vCenter api. For example "8.0.3.0"
|
|
25
|
+
*/
|
|
26
|
+
vcenter_version?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Map of cluster names to their inventory data
|
|
29
|
+
*/
|
|
30
|
+
clusters: {
|
|
31
|
+
[key: string]: InventoryData;
|
|
32
|
+
};
|
|
19
33
|
/**
|
|
20
34
|
*
|
|
21
35
|
*/
|
|
22
|
-
|
|
36
|
+
vcenter?: InventoryData;
|
|
37
|
+
/**
|
|
38
|
+
* Timestamp when the inventory document was built
|
|
39
|
+
*/
|
|
40
|
+
created_at?: Date;
|
|
41
|
+
/**
|
|
42
|
+
* Oldest known source collection time. Agent data uses collection database creation time; RVTools uses export metadata, assuming UTC when no timezone is specified. Null when unknown.
|
|
43
|
+
*/
|
|
44
|
+
collection_time?: Date | null;
|
|
23
45
|
}
|
|
24
46
|
/**
|
|
25
47
|
* Check if a given object implements the Inventory interface.
|
package/dist/models/Inventory.js
CHANGED
|
@@ -18,12 +18,15 @@ exports.InventoryFromJSON = InventoryFromJSON;
|
|
|
18
18
|
exports.InventoryFromJSONTyped = InventoryFromJSONTyped;
|
|
19
19
|
exports.InventoryToJSON = InventoryToJSON;
|
|
20
20
|
exports.InventoryToJSONTyped = InventoryToJSONTyped;
|
|
21
|
-
const
|
|
21
|
+
const runtime_js_1 = require("../runtime.js");
|
|
22
|
+
const InventoryData_js_1 = require("./InventoryData.js");
|
|
22
23
|
/**
|
|
23
24
|
* Check if a given object implements the Inventory interface.
|
|
24
25
|
*/
|
|
25
26
|
function instanceOfInventory(value) {
|
|
26
|
-
if (!('
|
|
27
|
+
if (!('vcenter_id' in value) || value['vcenter_id'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('clusters' in value) || value['clusters'] === undefined)
|
|
27
30
|
return false;
|
|
28
31
|
return true;
|
|
29
32
|
}
|
|
@@ -35,7 +38,12 @@ function InventoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
38
|
return json;
|
|
36
39
|
}
|
|
37
40
|
return {
|
|
38
|
-
'
|
|
41
|
+
'vcenter_id': json['vcenter_id'],
|
|
42
|
+
'vcenter_version': json['vcenter_version'] == null ? undefined : json['vcenter_version'],
|
|
43
|
+
'clusters': ((0, runtime_js_1.mapValues)(json['clusters'], InventoryData_js_1.InventoryDataFromJSON)),
|
|
44
|
+
'vcenter': json['vcenter'] == null ? undefined : (0, InventoryData_js_1.InventoryDataFromJSON)(json['vcenter']),
|
|
45
|
+
'created_at': json['created_at'] == null ? undefined : ((0, runtime_js_1.parseDateTime)(json['created_at'])),
|
|
46
|
+
'collection_time': json['collection_time'] === undefined ? undefined : json['collection_time'] === null ? null : ((0, runtime_js_1.parseDateTime)(json['collection_time'])),
|
|
39
47
|
};
|
|
40
48
|
}
|
|
41
49
|
function InventoryToJSON(json) {
|
|
@@ -46,6 +54,11 @@ function InventoryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
46
54
|
return value;
|
|
47
55
|
}
|
|
48
56
|
return {
|
|
49
|
-
'
|
|
57
|
+
'vcenter_id': value['vcenter_id'],
|
|
58
|
+
'vcenter_version': value['vcenter_version'],
|
|
59
|
+
'clusters': ((0, runtime_js_1.mapValues)(value['clusters'], InventoryData_js_1.InventoryDataToJSON)),
|
|
60
|
+
'vcenter': (0, InventoryData_js_1.InventoryDataToJSON)(value['vcenter']),
|
|
61
|
+
'created_at': value['created_at'] == null ? value['created_at'] : (0, runtime_js_1.serializeDateTime)(value['created_at']),
|
|
62
|
+
'collection_time': value['collection_time'] == null ? value['collection_time'] : (0, runtime_js_1.serializeDateTime)(value['collection_time']),
|
|
50
63
|
};
|
|
51
64
|
}
|
package/dist/models/OsInfo.d.ts
CHANGED
|
@@ -27,6 +27,10 @@ export interface OsInfo {
|
|
|
27
27
|
* OS support tier per Red Hat KCS article 4234591
|
|
28
28
|
*/
|
|
29
29
|
supportTier?: OsInfoSupportTierEnum;
|
|
30
|
+
/**
|
|
31
|
+
* MTV verification per Red Hat KCS article 4234591. Green means tested and verified; blue means successfully running on the target cluster. Omitted when the OS/architecture has no listed status.
|
|
32
|
+
*/
|
|
33
|
+
mtvStatus?: OsInfoMtvStatusEnum;
|
|
30
34
|
/**
|
|
31
35
|
* Recommended OS upgrade for MTV unsupported OS that can be upgraded to a supported OS
|
|
32
36
|
*/
|
|
@@ -42,6 +46,14 @@ export declare const OsInfoSupportTierEnum: {
|
|
|
42
46
|
readonly SpecialHandling: "special_handling";
|
|
43
47
|
};
|
|
44
48
|
export type OsInfoSupportTierEnum = typeof OsInfoSupportTierEnum[keyof typeof OsInfoSupportTierEnum];
|
|
49
|
+
/**
|
|
50
|
+
* @export
|
|
51
|
+
*/
|
|
52
|
+
export declare const OsInfoMtvStatusEnum: {
|
|
53
|
+
readonly Green: "green";
|
|
54
|
+
readonly Blue: "blue";
|
|
55
|
+
};
|
|
56
|
+
export type OsInfoMtvStatusEnum = typeof OsInfoMtvStatusEnum[keyof typeof OsInfoMtvStatusEnum];
|
|
45
57
|
/**
|
|
46
58
|
* Check if a given object implements the OsInfo interface.
|
|
47
59
|
*/
|
package/dist/models/OsInfo.js
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.OsInfoSupportTierEnum = void 0;
|
|
16
|
+
exports.OsInfoMtvStatusEnum = exports.OsInfoSupportTierEnum = void 0;
|
|
17
17
|
exports.instanceOfOsInfo = instanceOfOsInfo;
|
|
18
18
|
exports.OsInfoFromJSON = OsInfoFromJSON;
|
|
19
19
|
exports.OsInfoFromJSONTyped = OsInfoFromJSONTyped;
|
|
@@ -28,6 +28,13 @@ exports.OsInfoSupportTierEnum = {
|
|
|
28
28
|
CommunitySupported: 'community_supported',
|
|
29
29
|
SpecialHandling: 'special_handling',
|
|
30
30
|
};
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
exports.OsInfoMtvStatusEnum = {
|
|
35
|
+
Green: 'green',
|
|
36
|
+
Blue: 'blue',
|
|
37
|
+
};
|
|
31
38
|
/**
|
|
32
39
|
* Check if a given object implements the OsInfo interface.
|
|
33
40
|
*/
|
|
@@ -49,6 +56,7 @@ function OsInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
56
|
'count': json['count'],
|
|
50
57
|
'supported': json['supported'],
|
|
51
58
|
'supportTier': json['supportTier'] == null ? undefined : json['supportTier'],
|
|
59
|
+
'mtvStatus': json['mtvStatus'] == null ? undefined : json['mtvStatus'],
|
|
52
60
|
'upgradeRecommendation': json['upgradeRecommendation'] == null ? undefined : json['upgradeRecommendation'],
|
|
53
61
|
};
|
|
54
62
|
}
|
|
@@ -63,6 +71,7 @@ function OsInfoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
63
71
|
'count': value['count'],
|
|
64
72
|
'supported': value['supported'],
|
|
65
73
|
'supportTier': value['supportTier'],
|
|
74
|
+
'mtvStatus': value['mtvStatus'],
|
|
66
75
|
'upgradeRecommendation': value['upgradeRecommendation'],
|
|
67
76
|
};
|
|
68
77
|
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Assisted Migration Agent API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v2
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface Product
|
|
16
|
+
*/
|
|
17
|
+
export interface Product {
|
|
18
|
+
/**
|
|
19
|
+
* Product key
|
|
20
|
+
*/
|
|
21
|
+
key: number;
|
|
22
|
+
/**
|
|
23
|
+
* Product class identifier
|
|
24
|
+
*/
|
|
25
|
+
classId?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Product instance identifier
|
|
28
|
+
*/
|
|
29
|
+
instanceId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Product name
|
|
32
|
+
*/
|
|
33
|
+
name?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Product vendor
|
|
36
|
+
*/
|
|
37
|
+
vendor?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Product version
|
|
40
|
+
*/
|
|
41
|
+
version?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Full product version
|
|
44
|
+
*/
|
|
45
|
+
fullVersion?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Product vendor URL
|
|
48
|
+
*/
|
|
49
|
+
vendorUrl?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Product URL
|
|
52
|
+
*/
|
|
53
|
+
productUrl?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Application URL
|
|
56
|
+
*/
|
|
57
|
+
appUrl?: string;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Check if a given object implements the Product interface.
|
|
61
|
+
*/
|
|
62
|
+
export declare function instanceOfProduct(value: object): value is Product;
|
|
63
|
+
export declare function ProductFromJSON(json: any): Product;
|
|
64
|
+
export declare function ProductFromJSONTyped(json: any, ignoreDiscriminator: boolean): Product;
|
|
65
|
+
export declare function ProductToJSON(json: any): Product;
|
|
66
|
+
export declare function ProductToJSONTyped(value?: Product | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Assisted Migration Agent API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v2
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfProduct = instanceOfProduct;
|
|
17
|
+
exports.ProductFromJSON = ProductFromJSON;
|
|
18
|
+
exports.ProductFromJSONTyped = ProductFromJSONTyped;
|
|
19
|
+
exports.ProductToJSON = ProductToJSON;
|
|
20
|
+
exports.ProductToJSONTyped = ProductToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the Product interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfProduct(value) {
|
|
25
|
+
if (!('key' in value) || value['key'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function ProductFromJSON(json) {
|
|
30
|
+
return ProductFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function ProductFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'key': json['key'],
|
|
38
|
+
'classId': json['classId'] == null ? undefined : json['classId'],
|
|
39
|
+
'instanceId': json['instanceId'] == null ? undefined : json['instanceId'],
|
|
40
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
41
|
+
'vendor': json['vendor'] == null ? undefined : json['vendor'],
|
|
42
|
+
'version': json['version'] == null ? undefined : json['version'],
|
|
43
|
+
'fullVersion': json['fullVersion'] == null ? undefined : json['fullVersion'],
|
|
44
|
+
'vendorUrl': json['vendorUrl'] == null ? undefined : json['vendorUrl'],
|
|
45
|
+
'productUrl': json['productUrl'] == null ? undefined : json['productUrl'],
|
|
46
|
+
'appUrl': json['appUrl'] == null ? undefined : json['appUrl'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function ProductToJSON(json) {
|
|
50
|
+
return ProductToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function ProductToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'key': value['key'],
|
|
58
|
+
'classId': value['classId'],
|
|
59
|
+
'instanceId': value['instanceId'],
|
|
60
|
+
'name': value['name'],
|
|
61
|
+
'vendor': value['vendor'],
|
|
62
|
+
'version': value['version'],
|
|
63
|
+
'fullVersion': value['fullVersion'],
|
|
64
|
+
'vendorUrl': value['vendorUrl'],
|
|
65
|
+
'productUrl': value['productUrl'],
|
|
66
|
+
'appUrl': value['appUrl'],
|
|
67
|
+
};
|
|
68
|
+
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { Inventory } from './Inventory.js';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -23,7 +23,7 @@ export interface UpdateInventory {
|
|
|
23
23
|
/**
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
|
-
inventory:
|
|
26
|
+
inventory: Inventory;
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
29
29
|
* Check if a given object implements the UpdateInventory interface.
|
|
@@ -18,7 +18,7 @@ exports.UpdateInventoryFromJSON = UpdateInventoryFromJSON;
|
|
|
18
18
|
exports.UpdateInventoryFromJSONTyped = UpdateInventoryFromJSONTyped;
|
|
19
19
|
exports.UpdateInventoryToJSON = UpdateInventoryToJSON;
|
|
20
20
|
exports.UpdateInventoryToJSONTyped = UpdateInventoryToJSONTyped;
|
|
21
|
-
const
|
|
21
|
+
const Inventory_js_1 = require("./Inventory.js");
|
|
22
22
|
/**
|
|
23
23
|
* Check if a given object implements the UpdateInventory interface.
|
|
24
24
|
*/
|
|
@@ -38,7 +38,7 @@ function UpdateInventoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
38
|
}
|
|
39
39
|
return {
|
|
40
40
|
'agentId': json['agentId'],
|
|
41
|
-
'inventory': (0,
|
|
41
|
+
'inventory': (0, Inventory_js_1.InventoryFromJSON)(json['inventory']),
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
44
|
function UpdateInventoryToJSON(json) {
|
|
@@ -50,6 +50,6 @@ function UpdateInventoryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
50
50
|
}
|
|
51
51
|
return {
|
|
52
52
|
'agentId': value['agentId'],
|
|
53
|
-
'inventory': (0,
|
|
53
|
+
'inventory': (0, Inventory_js_1.InventoryToJSON)(value['inventory']),
|
|
54
54
|
};
|
|
55
55
|
}
|
|
@@ -14,6 +14,8 @@ import type { InspectionStatus } from './InspectionStatus.js';
|
|
|
14
14
|
import type { GuestNetwork } from './GuestNetwork.js';
|
|
15
15
|
import type { VirtualMachineIssue } from './VirtualMachineIssue.js';
|
|
16
16
|
import type { VirtualMachineDevice } from './VirtualMachineDevice.js';
|
|
17
|
+
import type { HostPhysicalNIC } from './HostPhysicalNIC.js';
|
|
18
|
+
import type { Product } from './Product.js';
|
|
17
19
|
import type { VmUtilizationDetails } from './VmUtilizationDetails.js';
|
|
18
20
|
import type { Process } from './Process.js';
|
|
19
21
|
import type { VirtualMachineDisk } from './VirtualMachineDisk.js';
|
|
@@ -32,6 +34,10 @@ export interface VirtualMachineDetail {
|
|
|
32
34
|
* Display name of the VirtualMachine
|
|
33
35
|
*/
|
|
34
36
|
name: string;
|
|
37
|
+
/**
|
|
38
|
+
* Free-text notes/description for the VirtualMachine in vSphere
|
|
39
|
+
*/
|
|
40
|
+
annotation?: string;
|
|
35
41
|
/**
|
|
36
42
|
* Identifier of the vCenter this VirtualMachine belongs to
|
|
37
43
|
*/
|
|
@@ -150,6 +156,10 @@ export interface VirtualMachineDetail {
|
|
|
150
156
|
*
|
|
151
157
|
*/
|
|
152
158
|
disks: Array<VirtualMachineDisk>;
|
|
159
|
+
/**
|
|
160
|
+
* Physical NICs reported on the VM's host. An empty array means no records were retained.
|
|
161
|
+
*/
|
|
162
|
+
hostPhysicalNics?: Array<HostPhysicalNIC>;
|
|
153
163
|
/**
|
|
154
164
|
* Adapter count reported by the source; 0 when unavailable
|
|
155
165
|
*/
|
|
@@ -182,6 +192,10 @@ export interface VirtualMachineDetail {
|
|
|
182
192
|
* List of processes detected on this VM
|
|
183
193
|
*/
|
|
184
194
|
processes?: Array<Process>;
|
|
195
|
+
/**
|
|
196
|
+
* Products configured in the VM's vApp settings
|
|
197
|
+
*/
|
|
198
|
+
products?: Array<Product>;
|
|
185
199
|
}
|
|
186
200
|
/**
|
|
187
201
|
* Check if a given object implements the VirtualMachineDetail interface.
|
|
@@ -23,6 +23,8 @@ const InspectionStatus_js_1 = require("./InspectionStatus.js");
|
|
|
23
23
|
const GuestNetwork_js_1 = require("./GuestNetwork.js");
|
|
24
24
|
const VirtualMachineIssue_js_1 = require("./VirtualMachineIssue.js");
|
|
25
25
|
const VirtualMachineDevice_js_1 = require("./VirtualMachineDevice.js");
|
|
26
|
+
const HostPhysicalNIC_js_1 = require("./HostPhysicalNIC.js");
|
|
27
|
+
const Product_js_1 = require("./Product.js");
|
|
26
28
|
const VmUtilizationDetails_js_1 = require("./VmUtilizationDetails.js");
|
|
27
29
|
const Process_js_1 = require("./Process.js");
|
|
28
30
|
const VirtualMachineDisk_js_1 = require("./VirtualMachineDisk.js");
|
|
@@ -65,6 +67,7 @@ function VirtualMachineDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
65
67
|
return {
|
|
66
68
|
'id': json['id'],
|
|
67
69
|
'name': json['name'],
|
|
70
|
+
'annotation': json['annotation'] == null ? undefined : json['annotation'],
|
|
68
71
|
'vCenterID': json['vCenterID'],
|
|
69
72
|
'uuid': json['uuid'] == null ? undefined : json['uuid'],
|
|
70
73
|
'firmware': json['firmware'] == null ? undefined : json['firmware'],
|
|
@@ -94,6 +97,7 @@ function VirtualMachineDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
94
97
|
'toolsStatus': json['toolsStatus'] == null ? undefined : json['toolsStatus'],
|
|
95
98
|
'toolsRunningStatus': json['toolsRunningStatus'] == null ? undefined : json['toolsRunningStatus'],
|
|
96
99
|
'disks': (json['disks'].map(VirtualMachineDisk_js_1.VirtualMachineDiskFromJSON)),
|
|
100
|
+
'hostPhysicalNics': json['hostPhysicalNics'] == null ? undefined : (json['hostPhysicalNics'].map(HostPhysicalNIC_js_1.HostPhysicalNICFromJSON)),
|
|
97
101
|
'nicCount': json['nicCount'],
|
|
98
102
|
'nics': (json['nics'].map(VirtualMachineNIC_js_1.VirtualMachineNICFromJSON)),
|
|
99
103
|
'devices': json['devices'] == null ? undefined : (json['devices'].map(VirtualMachineDevice_js_1.VirtualMachineDeviceFromJSON)),
|
|
@@ -102,6 +106,7 @@ function VirtualMachineDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
102
106
|
'inspection': json['inspection'] == null ? undefined : (0, VirtualMachineInspectionResults_js_1.VirtualMachineInspectionResultsFromJSON)(json['inspection']),
|
|
103
107
|
'utilization': json['utilization'] == null ? undefined : (0, VmUtilizationDetails_js_1.VmUtilizationDetailsFromJSON)(json['utilization']),
|
|
104
108
|
'processes': json['processes'] == null ? undefined : (json['processes'].map(Process_js_1.ProcessFromJSON)),
|
|
109
|
+
'products': json['products'] == null ? undefined : (json['products'].map(Product_js_1.ProductFromJSON)),
|
|
105
110
|
};
|
|
106
111
|
}
|
|
107
112
|
function VirtualMachineDetailToJSON(json) {
|
|
@@ -114,6 +119,7 @@ function VirtualMachineDetailToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
114
119
|
return {
|
|
115
120
|
'id': value['id'],
|
|
116
121
|
'name': value['name'],
|
|
122
|
+
'annotation': value['annotation'],
|
|
117
123
|
'vCenterID': value['vCenterID'],
|
|
118
124
|
'uuid': value['uuid'],
|
|
119
125
|
'firmware': value['firmware'],
|
|
@@ -142,6 +148,7 @@ function VirtualMachineDetailToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
142
148
|
'toolsStatus': value['toolsStatus'],
|
|
143
149
|
'toolsRunningStatus': value['toolsRunningStatus'],
|
|
144
150
|
'disks': (value['disks'].map(VirtualMachineDisk_js_1.VirtualMachineDiskToJSON)),
|
|
151
|
+
'hostPhysicalNics': value['hostPhysicalNics'] == null ? undefined : (value['hostPhysicalNics'].map(HostPhysicalNIC_js_1.HostPhysicalNICToJSON)),
|
|
145
152
|
'nicCount': value['nicCount'],
|
|
146
153
|
'nics': (value['nics'].map(VirtualMachineNIC_js_1.VirtualMachineNICToJSON)),
|
|
147
154
|
'devices': value['devices'] == null ? undefined : (value['devices'].map(VirtualMachineDevice_js_1.VirtualMachineDeviceToJSON)),
|
|
@@ -150,5 +157,6 @@ function VirtualMachineDetailToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
150
157
|
'inspection': (0, VirtualMachineInspectionResults_js_1.VirtualMachineInspectionResultsToJSON)(value['inspection']),
|
|
151
158
|
'utilization': (0, VmUtilizationDetails_js_1.VmUtilizationDetailsToJSON)(value['utilization']),
|
|
152
159
|
'processes': value['processes'] == null ? undefined : (value['processes'].map(Process_js_1.ProcessToJSON)),
|
|
160
|
+
'products': value['products'] == null ? undefined : (value['products'].map(Product_js_1.ProductToJSON)),
|
|
153
161
|
};
|
|
154
162
|
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Assisted Migration Agent API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v2
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface VirtualMachineIdentity
|
|
16
|
+
*/
|
|
17
|
+
export interface VirtualMachineIdentity {
|
|
18
|
+
/**
|
|
19
|
+
* VM ID
|
|
20
|
+
*/
|
|
21
|
+
id: string;
|
|
22
|
+
/**
|
|
23
|
+
* VM name
|
|
24
|
+
*/
|
|
25
|
+
name: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Check if a given object implements the VirtualMachineIdentity interface.
|
|
29
|
+
*/
|
|
30
|
+
export declare function instanceOfVirtualMachineIdentity(value: object): value is VirtualMachineIdentity;
|
|
31
|
+
export declare function VirtualMachineIdentityFromJSON(json: any): VirtualMachineIdentity;
|
|
32
|
+
export declare function VirtualMachineIdentityFromJSONTyped(json: any, ignoreDiscriminator: boolean): VirtualMachineIdentity;
|
|
33
|
+
export declare function VirtualMachineIdentityToJSON(json: any): VirtualMachineIdentity;
|
|
34
|
+
export declare function VirtualMachineIdentityToJSONTyped(value?: VirtualMachineIdentity | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Assisted Migration Agent API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v2
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfVirtualMachineIdentity = instanceOfVirtualMachineIdentity;
|
|
17
|
+
exports.VirtualMachineIdentityFromJSON = VirtualMachineIdentityFromJSON;
|
|
18
|
+
exports.VirtualMachineIdentityFromJSONTyped = VirtualMachineIdentityFromJSONTyped;
|
|
19
|
+
exports.VirtualMachineIdentityToJSON = VirtualMachineIdentityToJSON;
|
|
20
|
+
exports.VirtualMachineIdentityToJSONTyped = VirtualMachineIdentityToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the VirtualMachineIdentity interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfVirtualMachineIdentity(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function VirtualMachineIdentityFromJSON(json) {
|
|
32
|
+
return VirtualMachineIdentityFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function VirtualMachineIdentityFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'id': json['id'],
|
|
40
|
+
'name': json['name'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function VirtualMachineIdentityToJSON(json) {
|
|
44
|
+
return VirtualMachineIdentityToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function VirtualMachineIdentityToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'id': value['id'],
|
|
52
|
+
'name': value['name'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -19,6 +19,18 @@ export interface VirtualMachineNIC {
|
|
|
19
19
|
* Virtual adapter model, such as Vmxnet3 or E1000
|
|
20
20
|
*/
|
|
21
21
|
adapter?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Port-group VLAN configuration when supplied; empty when unknown.
|
|
24
|
+
*/
|
|
25
|
+
vlanId?: string;
|
|
26
|
+
/**
|
|
27
|
+
* IPv4 addresses reported for this adapter. An IP address may also contain a CIDR suffix. Empty array when unknown.
|
|
28
|
+
*/
|
|
29
|
+
ipv4Addresses?: Array<string>;
|
|
30
|
+
/**
|
|
31
|
+
* IPv6 addresses reported for this adapter. An IP address may also contain a CIDR suffix. Empty array when unknown.
|
|
32
|
+
*/
|
|
33
|
+
ipv6Addresses?: Array<string>;
|
|
22
34
|
/**
|
|
23
35
|
* MAC address
|
|
24
36
|
*/
|
|
@@ -33,6 +33,9 @@ function VirtualMachineNICFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
33
|
}
|
|
34
34
|
return {
|
|
35
35
|
'adapter': json['adapter'] == null ? undefined : json['adapter'],
|
|
36
|
+
'vlanId': json['vlanId'] == null ? undefined : json['vlanId'],
|
|
37
|
+
'ipv4Addresses': json['ipv4Addresses'] == null ? undefined : json['ipv4Addresses'],
|
|
38
|
+
'ipv6Addresses': json['ipv6Addresses'] == null ? undefined : json['ipv6Addresses'],
|
|
36
39
|
'mac': json['mac'] == null ? undefined : json['mac'],
|
|
37
40
|
'network': json['network'] == null ? undefined : json['network'],
|
|
38
41
|
'index': json['index'] == null ? undefined : json['index'],
|
|
@@ -47,6 +50,9 @@ function VirtualMachineNICToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
47
50
|
}
|
|
48
51
|
return {
|
|
49
52
|
'adapter': value['adapter'],
|
|
53
|
+
'vlanId': value['vlanId'],
|
|
54
|
+
'ipv4Addresses': value['ipv4Addresses'],
|
|
55
|
+
'ipv6Addresses': value['ipv6Addresses'],
|
|
50
56
|
'mac': value['mac'],
|
|
51
57
|
'network': value['network'],
|
|
52
58
|
'index': value['index'],
|