09-09-2020 03:46 PM - edited 09-09-2020 03:47 PM
I would like to only update endpoints in pxGrid if they already exist. Following Endpoint Asset documentation, there's an opType UPDATE for achieving this when publishing to /topic/com.cisco.endpoint.asset. It seems that it operates as an upsert (It creates new devices). As a matter of fact, I've seen no difference between the UPDATE and the CREATE operation as both insert-update endpoints.
Is there a way to update Endpoints in pxGrid without creating new ones?
Example endpoint:
TEST_ENDPOINT = {
"opType": "UPDATE",
"asset": {
"assetId": "999",
"assetName": "test_asset",
"assetHwRevision": "5.6",
"assetProtocol": "CIP",
"assetVendor": "Cisco Systems",
"assetSwRevision": "4.6",
"assetProductId": "IE2000",
"assetSerialNumber": "1212121213243",
"assetMacAddress": "00:da:ba:da:ba:da",
"assetIpAddress": "192.12.217.16",
"assetDeviceType": "EtherNet IP Node"
}
}
Thanks!
Solved! Go to Solution.
10-16-2020 11:49 AM
Via pxGrid an endpoint will always be created if it doesn't exist.
Cheers,
Einar
10-22-2020 10:21 AM
No way to poll all devices in ISE with pxGrid
The use case is a system can detect devices that are not managed by ISE.
pxGrid current functionality
There system is only a one way publishing, if a device exists then update it, but right now update also creates so it presents a problem.
They can’t query if a device exists. It could get added after they query as well..
They currently listen on device sessions but this doesn’t give all device history. For now this is a patch but doesn’t encompass all endpoints necessarily
Now we know that we're not missing some PxGrid update functionality and we will probably look at the ERS path down the road after completing our PxGrid feature.
09-18-2020 01:16 PM - edited 09-18-2020 01:16 PM
Is your desired behaviour for a UPDATE to fail if the endpoint doesn't already exist? If so, could you expand on your use case?
Cheers,
Einar
10-14-2020 08:26 AM
Hi Einar,
So in our use case we don't want to create new devices on customer environments (unless configured to do so). This way, we can enrich existing devices that had been seen on the network with additional information. The consideration is for the customers who are worried that they will suddenly see a lot more devices that haven't actually authenticated / accessed the network.
Is there a way to update devices through PxGrid without creating new ones?
Thanks for the help!!
10-16-2020 11:49 AM
Via pxGrid an endpoint will always be created if it doesn't exist.
Cheers,
Einar
10-22-2020 10:21 AM
No way to poll all devices in ISE with pxGrid
The use case is a system can detect devices that are not managed by ISE.
pxGrid current functionality
There system is only a one way publishing, if a device exists then update it, but right now update also creates so it presents a problem.
They can’t query if a device exists. It could get added after they query as well..
They currently listen on device sessions but this doesn’t give all device history. For now this is a patch but doesn’t encompass all endpoints necessarily
Now we know that we're not missing some PxGrid update functionality and we will probably look at the ERS path down the road after completing our PxGrid feature.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide