# iectl-workflow **Repository Path**: industrial-edge/iectl-workflow ## Basic Information - **Project Name**: iectl-workflow - **Description**: This application example shows how to use IECTL tool for automatic IEM/IED provisioning and application deployment. - **Primary Language**: Shell - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-05-15 - **Last Updated**: 2023-06-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 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](https://industrial-edge.io/developer/platform/references/iectl/index.html). - [Industrial Edge Control](#industrial-edge-control) - [Description](#description) - [Overview](#overview) - [General task](#general-task) - [Requirements](#requirements) - [Prerequisites](#prerequisites) - [Used Components](#used-components) - [Installation](#installation) - [Implementation](#implementation) - [Documentation](#documentation) - [Contribution](#contribution) - [Licence & Legal Information](#licence--legal-information) ## 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](docs/installation.md). The installation consist of following steps: * [Activating IEM](docs/installation.md#activate-iem) * [Onboarding IED](docs/installation.md#onboard-edge-devices) * [Deploying self developed app](docs/installation.md#deploy-custom-application) ## Implementation The description of the implemented commands in the scripts can be found [here](./docs/Implementation.md). ## Documentation - You can find further documentation and help in the following links - [Industrial Edge Hub](https://iehub.eu1.edge.siemens.cloud/#/documentation) - [Industrial Edge Forum](https://www.siemens.com/industrial-edge-forum) - [Industrial Edge landing page](https://new.siemens.com/global/en/products/automation/topic-areas/industrial-edge/simatic-edge.html) ## 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 are interested in contributing via Pull Request, please check the [Contribution License Agreement](Siemens_CLA_1.1.pdf) and forward a signed copy to [industrialedge.industry@siemens.com](mailto:industrialedge.industry@siemens.com?subject=CLA%20Agreement%20Industrial-Edge). ## Licence & Legal Information Please read the [Legal information](LICENSE.txt)