Post Topology Info¶
The Post Topology Info node posts the connection topology information of the device.
Node Type¶
EnOS.
Input and Output Ability¶
This node has multiple entry points and 2 exit points (success/failure).
Node Properties¶
Name
The name for this node.
Description
The description for this node.
Samples¶
Full Report¶
Input Sample¶
{
"MetaData": {
"messageType": "ConnectStatePost",
"assetId": "assetId",
"deviceKey": "deviceKey",
"productKey": "productKey",
"orgId": "yourOrgId",
"ts": "1654593254444"
},
"Body": {
"nodes": [
{
"name": "name4",
"state": 1,
"nodeId": "#xx4",
"assetId": "oyuanlruc"
},
{
"name": "name3",
"state": 1,
"nodeId": "#xx3",
"assetId": "assetId3"
},
{
"name": "name5",
"state": 1,
"nodeId": "#xx5",
"assetId": "assetId5"
},
{
"name": "name222",
"state": 1,
"nodeId": "#xx2",
"info": "no heartbeat"
},
{
"name": "name1",
"state": 1,
"nodeId": "#xx1",
"info": "reconnect by nbncg"
}
],
"isFull": true,
"relations": {
"#xx4": [
"#xx5"
],
"#xx1": [
"#xx4",
"#xx2,#xx3"
]
},
"reportTime": 1654593254394
}
}
Output Sample¶
{
"MetaData": {
"messageType": "ConnectStatePost",
"assetId": "assetId",
"deviceKey": "deviceKey",
"productKey": "productKey",
"orgId": "yourOrgId",
"componentResult": "Success",
"ts": "1654593254444"
},
"Body": {
"nodes": [
{
"name": "name4",
"state": 1,
"nodeId": "#xx4",
"assetId": "oyuanlruc"
},
{
"name": "name3",
"state": 1,
"nodeId": "#xx3",
"assetId": "assetId3"
},
{
"name": "name5",
"state": 1,
"nodeId": "#xx5",
"assetId": "assetId5"
},
{
"name": "name222",
"state": 1,
"nodeId": "#xx2",
"info": "no heartbeat"
},
{
"name": "name1",
"state": 1,
"nodeId": "#xx1",
"info": "reconnect by nbncg"
}
],
"isFull": true,
"relations": {
"#xx4": [
"#xx5"
],
"#xx1": [
"#xx4",
"#xx2,#xx3"
]
},
"reportTime": 1654593254394
}
}
Incremental Report¶
Input Sample¶
{
"MetaData": {
"messageType": "ConnectStatePost",
"assetId": "assetId",
"deviceKey": "deviceKey",
"productKey": "productKey",
"orgId": "yourOrgId",
"ts": "1654593471665"
},
"Body": {
"nodes": [
{
"name": "name3",
"state": 2,
"nodeId": "#xx3",
"assetId": "assetId3",
"info": "connection lost"
},
{
"name": "name22",
"state": 1,
"nodeId": "#xx2",
"info": "device reconnected"
}
],
"isFull": false,
"relations": {},
"reportTime": 1654593471616
}
}
Output Sample¶
{
"MetaData": {
"messageType": "ConnectStatePost",
"assetId": "assetId",
"deviceKey": "deviceKey",
"productKey": "productKey",
"orgId": "yourOrgId",
"componentResult": "Success",
"ts": "1654593471665"
},
"Body": {
"nodes": [
{
"name": "name3",
"state": 2,
"nodeId": "#xx3",
"assetId": "assetId3",
"info": "connection lost"
},
{
"name": "name22",
"state": 1,
"nodeId": "#xx2",
"info": "device reconnected"
}
],
"isFull": false,
"relations": {},
"reportTime": 1654593471616
}
}