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.yamlFlags
Includes global dpsctl options.
--help, -h show helpExamples
Basic Usage
$ dpsctl device upsert devices.yaml
{
"status": {
"diag_msg": "Success",
"ok": true
}
}