industrial-edge / iectl-workflow

This application example shows how to use IECTL tool for automatic IEM/IED provisioning and application deployment.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Industrial Edge Control

Industrial Edge Control (IECTL) is a command line tool that enables you to interact with APIs of Industrial Edge components using just commands. This document describes how to use IECTL to automate workflow from provisioning IEM, onboarding Edge Devices to automatically deploying Edge applications. More information about the tool as well as the official documentation can be found here.

Description

Overview

This application example shows how to install and use IECTL in a complete workflow to automatically setup Edge components in 3 steps:

  1. Activate IEM
  2. Onboard Edge device
  3. Deploy Edge applications

General task

The main goal of this example is to show how to setup the Industrial Edge platform in an automated workflow using IECTL. The idea is to provide with several shell scripts which can be adjusted and executed from a development environment to provision Industrial Edge components. This application example follows the network structure displayed in the picture below. The workflow starts with activating IEM in IE HUB, continues with automatic onboarding of one Edge Device and finally custom application is uploaded and deployed to the newly onboarded device. The provided shell scripts can be used and scaled for multiple IEMs, IEDs or applications. Please note that IP based IEM is used in this example and for DNS based setup the steps may differ.

Requirements

Prerequisites

  • All Components are connected to a network with DHCP server available
  • All components have an IP address
  • IEM has connection to IE HUB
  • IP based IEM is used in this example
  • Linux Device with Docker and docker compose installed

Used Components

  • Industrial Edge HUB
  • Industrial Edge Management App v1.4.11
  • Industrial Edge Management OS v1.4.0-42-amd64
  • Industrial Edge Device v1.3.0-57
  • Ubuntu 20.04 as development environment
  • Industrial Edge Control (IECTL) for Linux v2.0.3

Installation

The installation steps can be found here. The installation consist of following steps:

Implementation

The description of the implemented commands in the scripts can be found here.

Documentation

Contribution

Thank you for your interest in contributing. Anybody is free to report bugs, unclear documentation, and other problems regarding this repository in the Issues section. Additionally everybody is free to propose any changes to this repository using Pull Requests.

If you haven't previously signed the Siemens Contributor License Agreement (CLA), the system will automatically prompt you to do so when you submit your Pull Request. This can be conveniently done through the CLA Assistant's online platform. Once the CLA is signed, your Pull Request will automatically be cleared and made ready for merging if all other test stages succeed.

License and Legal Information

Please read the Legal information.

Disclaimer

IMPORTANT - PLEASE READ CAREFULLY:

This documentation describes how you can download and set up containers which consist of or contain third-party software. By following this documentation you agree that using such third-party software is done at your own discretion and risk. No advice or information, whether oral or written, obtained by you from us or from this documentation shall create any warranty for the third-party software. Additionally, by following these descriptions or using the contents of this documentation, you agree that you are responsible for complying with all third party licenses applicable to such third-party software. All product names, logos, and brands are property of their respective owners. All third-party company, product and service names used in this documentation are for identification purposes only. Use of these names, logos, and brands does not imply endorsement.

About

This application example shows how to use IECTL tool for automatic IEM/IED provisioning and application deployment.

License:MIT License


Languages

Language:Shell 83.9%Language:Python 11.9%Language:HTML 4.2%