upsert

dpsctl device upsert Usage Guide

Insert or update device specifications. If there are no devices with the given type and model, that device will be inserted. If a device exists with the given type and model, the device will be updated.

Usage

dpsctl device upsert devicefile.yaml

Flags

Includes global dpsctl options.

   --help, -h          show help

Examples

Basic Usage

$ dpsctl device upsert devices.yaml
{
  "status": {
    "diag_msg": "Success",
    "ok": true
  }
}