iectl ied system activate¶
Activate and register edge device
Synopsis¶
This method activates the Edge device and registers it to the IEMS.
Activating an Edge device requires a file that contains information, such as local username, local password, and edge device name.
Get this file from IEMS by calling e.g.
POST https://XXXX/p.service/api/devices/create
Body Param: {"device":{"localUserName":"emailID","localPassword":"password","deviceId":"edgecoreid","deviceName":"edge device name","macAddress":"3a:71:18:34:82:c2","hostName":"hostname","platformActualName":"x86_64","softwarePlatformName":"dockercompose"}}
iectl ied system activate [flags]
Options¶
-d, --data string use this flag for passing data via json or as datafile with @filename
--files string configuration file previously retrieved from IEM
-h, --help help for activate
Options inherited from parent commands¶
-o, --output string output format
-q, --query string query on result of object
-v, --verbose verbose output
Example¶
$ iectl ied system activate --files "/usr/home/Downloads/device-14b7798c0f5b4c56a69c9b0b7fb1e8fe"
# device-14b7798c0f5b4c56a69c9b0b7fb1e8fe is downloaded from edge-devices page of IEM
SEE ALSO¶
- iectl ied system - system related commands