Skip to content

Use Case for industrial equipment onboarding using ISE, MAB, Spark, Google Vision API

Notifications You must be signed in to change notification settings

gve-sw/industrial-equipment-onboarding

Repository files navigation

IOT Device replacement in a Secure Access Network

One of the big barriers of implementing secure network access in an Industrial environment is the increased risk of device downtime and the high overheads of managing an environment with thousands of devices.

Our project simplifies the process of adding and removing industrial network-connected devices into a secure network. Non-IT designated staff can use their smartphone or ruggardised tablet to perform this process in a couple of minutes, reducing downtime and lowering IT burden.

alt text

The image above shows a user with Spark on their phone updating MAC address entries in the Identity Services Engine (ISE), allowing devices to be replaced on the floor within minutes. MAC Addresses can be entered manually as text, or can be uploaded as an image taken by the phone's camera.

How to use this repository

Before you begin - what do you need?

  • Cisco Spark account.
  • Spark Bot - See here to create your bot. You will need two pieces of information from your bot once it is created: The Bot Token and the Bot ID (more on these below).
  • ISE Server - Your ISE deployment must have the ERS API enabled. It is disabled by default. You must also have a user with ERSAdmin privileges. The application will use this user's credentials.
  • Docker - The application environment for this project is defined in Docker containers. You could run all the scripts outside of Docker if you like a challenge.
  • !Linux Only! Docker Compose - This is included in the Docker install package linked above for Mac and Windows, but must be installed separately on Linux.
  • Google Cloud Platform account - Used to analyse images and extract MAC addreses for this project. You will need to do two things once you have signed up for an account.
    1. Enable the vision API
    2. Create a service account key. This will be used to allow the application to authenticate to the Google cloud. When you create this key you will receive a JSON file. Keep hold of it - we will use it soon.

Instructions

  1. Ensure you have performed all the prerequisite actions in the 'Before you begin' section above

  2. Populate the settingsTemplate.py file with your ISE IP Address, ISE ERS API admin username and password, your Spark Bot Token and your Spark Bot ID.

  3. Save the resulting file as /python/settings.py and createWebhook/settings.py

  4. Copy the Google Cloud Platform service account key JSON file into /python

  5. Edit /python/Dockerfile and change the line: ENV GOOGLE_APPLICATION_CREDENTIALS gcp-project-name-54645fvcsdf43.json. Change the line so that gcp-project-name-XXXXX.json is instead the name of the file you copied into /python.

  6. Open your terminal application.

  7. Run docker-compose build from the project root directory

  8. Run docker-compose up from the project root directory

About

Use Case for industrial equipment onboarding using ISE, MAB, Spark, Google Vision API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages