1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138
|
getObject = {
'id': 1234,
'globalIdentifier': 'xxxxc-asd',
'datacenter': {'id': 12, 'name': 'DALLAS21',
'description': 'Dallas 21'},
'billingItem': {
'id': 6327,
'recurringFee': 1.54,
'nextInvoiceTotalRecurringAmount': 16.08,
'children': [
{'description': 'test', 'nextInvoiceTotalRecurringAmount': 1},
],
'orderItem': {
'order': {
'userRecord': {
'username': 'bob',
}
}
}
},
'primaryIpAddress': '4.4.4.4',
'hostname': 'testtest1',
'domain': 'test.sftlyr.ws',
'bareMetalInstanceFlag': True,
'fullyQualifiedDomainName': 'testtest1.test.sftlyr.ws',
'processorPhysicalCoreAmount': 4,
'memoryCapacity': 4,
'primaryBackendIpAddress': '10.4.4.4',
'networkManagementIpAddress': '10.4.4.4',
'hardwareStatus': {'status': 'ACTIVE'},
'primaryNetworkComponent': {'maxSpeed': 1000, 'speed': 1000},
'provisionDate': '2020-08-01 15:23:45',
'notes': 'NOTES NOTES NOTES',
'operatingSystem': {
'softwareLicense': {
'softwareDescription': {
'referenceCode': 'UBUNTU_20_64',
'name': 'Ubuntu',
'version': 'Ubuntu 20.04 LTS',
}
},
'passwords': [
{'username': 'root', 'password': 'xxxxxxxxxxxx'}
],
},
'remoteManagementAccounts': [
{'username': 'root', 'password': 'zzzzzzzzzzzzzz'}
],
'networkVlans': [
{
'networkSpace': 'PRIVATE',
'vlanNumber': 1234,
'id': 11111
},
],
'tagReferences': [
{'tag': {'name': 'a tag'}}
],
}
allowAccessToNetworkStorageList = True
getSensorData = [
{
"lowerCritical": "5.000",
"lowerNonCritical": "10.000",
"sensorId": "Ambient 1 Temperature",
"sensorReading": "25.000",
"sensorUnits": "degrees C",
"status": "ok",
"upperCritical": "43.000",
"upperNonCritical": "41.000",
"upperNonRecoverable": "46.000"
},
{
"lowerCritical": "3500.000",
"lowerNonCritical": "3700.000",
"sensorId": "Fan 1 Tach",
"sensorReading": "6580.000",
"sensorUnits": "RPM",
"status": "ok",
"upperCritical": "25400.000",
"upperNonCritical": "25300.000",
}, {
"sensorId": "IPMI Watchdog",
"sensorReading": "0x0",
"sensorUnits": "discrete",
"status": "0x0080"
}, {
"sensorId": "Avg Power",
"sensorReading": "70.000",
"sensorUnits": "Watts",
"status": "ok"
},
{
"lowerCritical": "10.536",
"lowerNonCritical": "10.780",
"lowerNonRecoverable": "10.170",
"sensorId": "12V",
"sensorReading": "12.305",
"sensorUnits": "Volts",
"status": "ok",
"upperCritical": "13.281",
"upperNonCritical": "12.915",
"upperNonRecoverable": "13.403"
}]
getSoftwareComponents = [{
"hardwareId": 123456,
"id": 67064532,
"passwords": [
{
"id": 77995567,
"notes": "testslcli1",
"password": "123456",
"softwareId": 67064532,
"username": "testslcli1",
},
{
"id": 77944803,
"notes": "testslcli2",
"password": "test123",
"softwareId": 67064532,
"username": "testslcli2",
}
],
"softwareLicense": {
"id": 21854,
"softwareDescriptionId": 2914,
"softwareDescription": {
"id": 2914,
"longDescription": "Ubuntu 20.04.1-64",
"name": "Ubuntu",
"referenceCode": "UBUNTU_20_64",
"version": "20.04.1-64"
}
}
}]
|