- config_name : iectl iehub config name
variables:
config_name: "test_iehub" #update iectl iehub config name
config_url: "https://iehub.eu1.edge.siemens.cloud" #update iehub url from which ied kit will be downloaded
config_user: "user@siemens.com" #update iehub cli user
config_password: "cliuserpassword" #update iehub cli user password
iemuser: "iemuser@siemens.com" #update iem user email
iemurl: "https://165.218.200.235:443" #update iem url
iempassword: "S@MpleP@ssw0rd" #update iem admin password, must contain at least 12 characters, one lower case, one upper chase, one special character (!@$#*&%) and one digit
ieduser: "ieduser@siemens.com" #update ied user email
iedurl: "https://165.218.200.235:9445" #update ied url with port 9445
iedpassword: "S@MpleP@ssw0rd" #update iem admin password, must contain at least 12 characters, one lower case, one upper chase, one special character (!@$#*&%) and one digit
macAddress: "00:50:56:ae:b0:25" # update the host machine mac address
devicetypeID: "core.ieipc" #check if device type exists on IEM
download_path: "/Downloads/" #update download path where ied artifact will be downloaded from IEHUB
commands:
- command:
target: config
resource: add.iehub
parameters:
user: "${{config_user}}"
password: "${{config_password}}"
url: "${{config_url}}"
name: "${{config_name}}"
- command:
target: config
resource: add.iem
parameters:
name: "iem_config"
url: "${{iemurl}}"
user: "${{iemuser}}"
password: "${{iempassword}}"
- command:
target: iem
resource: system.onboard-status
parameters:
url: "${{iemurl}}"
username: "${{iemuser}}"
password: "${{iempassword}}"
- command:
target: iehub
resource: run-ied-dev
parameters:
name: "Industrial Edge Device Kit - x86-64"
path: "${{download_path}}"
- command:
target: iem
resource: device.onboard
parameters:
id: "${{devicetypeID}}"
url: "${{iedurl}}"
name: "ied_dev"
username: "${{ieduser}}"
password: "${{iedpassword}}"
allowfailure: "true"
nics: '{"MacAddress":"${{macAddress}}","GatewayInterface":true,"DHCP":"enabled","Static":{"IPv4":"","NetMask":"","Gateway":""}}' #mac address of VM on which ied is setup by using : ip addr show