Create IED in IEM - Manual - Industrial Edge - Industrial Edge - Industrial Edge - Documentation of Industrial Edge APIs - CLI tools - Industrial Edge - References - APIs

Industrial Edge Platform Operation - APIs & References

Product
Industrial Edge
Edition
12/2024
Language
en-US (original)

To create an IED in the IEM, use the following command:

iectl iem device create --body '{"device":{"onboarding":{"localUserName":"email@siemens.com","localPassword":"P@ssword1234","deviceName":"mydevice","deviceTypeId":"core.ieipc","platformActualName":"x86-64"},"Device":{"Network":{"Interfaces":[{"MacAddress":"00:00:00:00:00:00","GatewayInterface":true,"DHCP":"enabled","Static":{"IPv4":"","NetMask":"","Gateway":""},"DNSConfig":{"PrimaryDNS":"8.8.8.8","SecondaryDNS":"8.8.8.9"}}]}},"ntpServers":[{"ntpServer":"time.google.com","preferred":true}],"proxies":[]}}'

Save the output of the command in a file and provide that file path as input for the activate IED command.

deviceTypeId and platformActualName can be listed using command iectl iem device-types

NOTICE

To generate --body template you can use iectl iem device create-template command. This command prints the device body as a helping guide for the iem device create command. You can change the body according to your needs.