Skip to the content.

Tutorial: Create environment

This page guide you through creating the tutorial environment. An environment is a group of connectivity end points that belong together. Systems will be set up to communicate and work with each other. In order to implement functionalities and verify that these are working fine, new instances are created. The environment concept in the automation framework allows to abstract these instances and to identify which one a particular script needs to be executed on. The environment that will be set up for the different tutorials will be named tutorial.

Pre-requisites

Create configuration

First, we will create the configuration file for the tutorial environment:

---
type: Environment
data:
  name: "tutorial"
  description: "Tutorial environment"

Load configuration

Next, we will load the tutorial environment configuration file into the configuration repository:

Linux/Mac

./iesi-metadata.sh -load -type general

Windows

./iesi-metadata.cmd -load -type general

Recap

We have now created an environment for our tutorials named tutorial. When we will execute scripts we can make reference to this environment name.

Linux/Mac

./iesi-launch.sh -script <arg> -env tutorial

Windows

./iesi-launch.cmd -script <arg> -env tutorial

Continue?

Do you want to continue immediately? Move forward to: Create Hello World script