Skip to content

iectl ied

iectl ied

Description

Run IED APIs version 1.0.0.

Usage

iectl ied [OPTIONS]

Options

  -h, --help   help for ied

Options inherited from parent commands

  -o, --output string   output format
  -q, --query string    query on result of object
  -v, --verbose         verbose output

iectl ied device

Description

Device base command.

Usage

iectl ied device [OPTIONS]

Options

  -h, --help   help for device

Options inherited from parent commands

  -o, --output string   output format
  -q, --query string    query on result of object
  -v, --verbose         verbose output

iectl ied device activate

Description

Activate and register Edge Device.

Detailed description

This command activates the Edge Device and registers it to the IEM. Activating an Edge Device requires a configuration file that contains information such as username, password and Edge Device name. You get this file from the IEM by calling for example:
POST https://XXXX/p.service/api/devices/create
Body Param: {"device":{"localUserName":"emailID","localPassword":"password","deviceId":"edgecoreid","deviceName":"edge core name","macAddress":"3a:71:18:34:82:c2","hostName":"hostname","platformActualName":"x86_64","softwarePlatformName":"dockercompose"}}

Usage

iectl ied device activate [OPTIONS]

Options

      --accept-language string   The client’s display language, e.g. en-US
  -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

iectl ied device hard-reset

Description

Restore default state.

Detailed description

This command restores the IE Device to its original state.

Usage

iectl ied device hard-reset [OPTIONS]

Options

      --accept-language string   The client's display language, e.g. en-US
  -d, --data string              use this flag for passing data via json or as datafile with @filename
  -h, --help                     help for hard-reset

Options inherited from parent commands

  -o, --output string   output format
  -q, --query string    query on result of object
  -v, --verbose         verbose output

iectl ied login

Description

Login base command.

Usage

iectl ied login [OPTIONS]

Options

  -h, --help   help for login

Options inherited from parent commands

  -o, --output string   output format
  -q, --query string    query on result of object
  -v, --verbose         verbose output

iectl ied login create-token

Description

Log in with username and password.

Detailed description

This command logs in a user to the IEM via username, password and verification code (if multi-factor verification is enabled).

Usage

iectl ied login create-token [OPTIONS]

Options

      --body string   The map of login credentials, including username, password and verificationCode (optional). Example: {"username":"my user","password":"my password"}
  -d, --data string   use this flag for passing data via json or as datafile with @filename
  -h, --help          help for create-token

Options inherited from parent commands

  -o, --output string   output format
  -q, --query string    query on result of object
  -v, --verbose         verbose output