This is a simple script on how to use the Kinetic GMM API and get data about deployed Cisco gateways (IR829, IR809, IR807, IR1101) into a python script.
Basically the script has two functions:
- getgateways(): Get information about all the gateways of your organization
- gatewayconnectivity(): Check proactively if all gateways are connected
- Create an API token in the Kinetic Cloud and put the data in the script. You can find more in the Kinetic documentation.
Important: the API needs to have at least the following permissions: Gateway Management => RW, Organization Management => RO
- Check your Kinetic Cloud organization ID: Login to the portal, click on the main Dashboard and in the URL you can see it:
https://eu.ciscokinetic.io/organizations/{your organization ID}
- Run the script (& definitely check the API Documentation)
- Kinetic Gateway Management Module (Kinetic Cloud)
- Paho-MQTT
This project is licensed under the Apache License 2.0 - see the LICENSE.md file for details
Cisco DevNet Website: https://developer.cisco.com
Kinetic Documentation: https://developer.cisco.com/docs/kinetic/
API Documentation: https://developer.cisco.com/docs/kinetic-api/
Kinetic Cloud EU: https://eu.ciscokinetic.io Kinetic Cloud US: https://us.ciscokinetic.io