dnac_response
dictionary
|
always |
A dictionary or list with the response returned by the Cisco DNAC Python SDK
Sample:
{
"successList": [
{
"_id": "string",
"deviceInfo": {
"source": "string",
"serialNumber": "string",
"stack": true,
"mode": "string",
"state": "string",
"location": {
"siteId": "string",
"address": "string",
"latitude": "string",
"longitude": "string",
"altitude": "string"
},
"description": "string",
"onbState": "string",
"authenticatedMicNumber": "string",
"authenticatedSudiSerialNo": "string",
"capabilitiesSupported": [
"string"
],
"featuresSupported": [
"string"
],
"cmState": "string",
"firstContact": 0,
"lastContact": 0,
"macAddress": "string",
"pid": "string",
"deviceSudiSerialNos": [
"string"
],
"lastUpdateOn": 0,
"workflowId": "string",
"workflowName": "string",
"projectId": "string",
"projectName": "string",
"deviceType": "string",
"agentType": "string",
"imageVersion": "string",
"fileSystemList": [
{
"type": "string",
"writeable": true,
"freespace": 0,
"name": "string",
"readable": true,
"size": 0
}
],
"pnpProfileList": [
{
"profileName": "string",
"discoveryCreated": true,
"createdBy": "string",
"primaryEndpoint": {
"port": 0,
"protocol": "string",
"ipv4Address": {},
"ipv6Address": {},
"fqdn": "string",
"certificate": "string"
},
"secondaryEndpoint": {
"port": 0,
"protocol": "string",
"ipv4Address": {},
"ipv6Address": {},
"fqdn": "string",
"certificate": "string"
}
}
],
"imageFile": "string",
"httpHeaders": [
{
"key": "string",
"value": "string"
}
],
"neighborLinks": [
{
"localInterfaceName": "string",
"localShortInterfaceName": "string",
"localMacAddress": "string",
"remoteInterfaceName": "string",
"remoteShortInterfaceName": "string",
"remoteMacAddress": "string",
"remoteDeviceName": "string",
"remotePlatform": "string",
"remoteVersion": "string"
}
],
"lastSyncTime": 0,
"ipInterfaces": [
{
"status": "string",
"macAddress": "string",
"ipv4Address": {},
"ipv6AddressList": [],
"name": "string"
}
],
"hostname": "string",
"authStatus": "string",
"stackInfo": {
"supportsStackWorkflows": true,
"isFullRing": true,
"stackMemberList": [
{
"serialNumber": "string",
"state": "string",
"role": "string",
"macAddress": "string",
"pid": "string",
"licenseLevel": "string",
"licenseType": "string",
"sudiSerialNumber": "string",
"hardwareVersion": "string",
"stackNumber": 0,
"softwareVersion": "string",
"priority": 0
}
],
"stackRingProtocol": "string",
"validLicenseLevels": [
"string"
],
"totalMemberCount": 0
},
"reloadRequested": true,
"addedOn": 0,
"siteId": "string",
"aaaCredentials": {
"password": "string",
"username": "string"
},
"userMicNumbers": [
"string"
],
"userSudiSerialNos": [
"string"
],
"addnMacAddrs": [
"string"
],
"preWorkflowCliOuputs": [
{
"cli": "string",
"cliOutput": "string"
}
],
"tags": {},
"sudiRequired": true,
"smartAccountId": "string",
"virtualAccountId": "string",
"populateInventory": true,
"siteName": "string",
"name": "string"
},
"systemResetWorkflow": {
"_id": "string",
"state": "string",
"type": "string",
"description": "string",
"lastupdateOn": 0,
"imageId": "string",
"currTaskIdx": 0,
"addedOn": 0,
"tasks": [
{
"state": "string",
"type": "string",
"currWorkItemIdx": 0,
"taskSeqNo": 0,
"endTime": 0,
"startTime": 0,
"workItemList": [
{
"state": "string",
"command": "string",
"outputStr": "string",
"endTime": 0,
"startTime": 0,
"timeTaken": 0
}
],
"timeTaken": 0,
"name": "string"
}
],
"addToInventory": true,
"instanceType": "string",
"endTime": 0,
"execTime": 0,
"startTime": 0,
"useState": "string",
"configId": "string",
"name": "string",
"version": 0,
"tenantId": "string"
},
"systemWorkflow": {
"_id": "string",
"state": "string",
"type": "string",
"description": "string",
"lastupdateOn": 0,
"imageId": "string",
"currTaskIdx": 0,
"addedOn": 0,
"tasks": [
{
"state": "string",
"type": "string",
"currWorkItemIdx": 0,
"taskSeqNo": 0,
"endTime": 0,
"startTime": 0,
"workItemList": [
{
"state": "string",
"command": "string",
"outputStr": "string",
"endTime": 0,
"startTime": 0,
"timeTaken": 0
}
],
"timeTaken": 0,
"name": "string"
}
],
"addToInventory": true,
"instanceType": "string",
"endTime": 0,
"execTime": 0,
"startTime": 0,
"useState": "string",
"configId": "string",
"name": "string",
"version": 0,
"tenantId": "string"
},
"workflow": {
"_id": "string",
"state": "string",
"type": "string",
"description": "string",
"lastupdateOn": 0,
"imageId": "string",
"currTaskIdx": 0,
"addedOn": 0,
"tasks": [
{
"state": "string",
"type": "string",
"currWorkItemIdx": 0,
"taskSeqNo": 0,
"endTime": 0,
"startTime": 0,
"workItemList": [
{
"state": "string",
"command": "string",
"outputStr": "string",
"endTime": 0,
"startTime": 0,
"timeTaken": 0
}
],
"timeTaken": 0,
"name": "string"
}
],
"addToInventory": true,
"instanceType": "string",
"endTime": 0,
"execTime": 0,
"startTime": 0,
"useState": "string",
"configId": "string",
"name": "string",
"version": 0,
"tenantId": "string"
},
"runSummaryList": [
{
"details": "string",
"historyTaskInfo": {
"type": "string",
"workItemList": [
{
"state": "string",
"command": "string",
"outputStr": "string",
"endTime": 0,
"startTime": 0,
"timeTaken": 0
}
],
"timeTaken": 0,
"addnDetails": [
{
"key": "string",
"value": "string"
}
],
"name": "string"
},
"errorFlag": true,
"timestamp": 0
}
],
"workflowParameters": {
"topOfStackSerialNumber": "string",
"licenseLevel": "string",
"licenseType": "string",
"configList": [
{
"configParameters": [
{
"key": "string",
"value": "string"
}
],
"configId": "string"
}
]
},
"dayZeroConfig": {
"config": "string"
},
"dayZeroConfigPreview": {},
"version": 0,
"tenantId": "string"
}
],
"failureList": [
{
"index": 0,
"serialNum": "string",
"id": "string",
"msg": "string"
}
]
}
|