Skip to content

AddToInventory Depreciated #24

Description

@YanxiChen-gh

As the new CVP backend merges, we have a new way of importing a device. Quote from a email thread in cvp-dev:

Going forward, for importing devices into CVP, you need to issue a POST request
to: cvpservice/inventory/devices
Expected request body format:
{
"host":"172.1.1.1"
}

Note that value in the request body can be hostname or IP address.

If the above is successful, you should see the device appearing in undefined container. You can then move it to a different container like before from the provisioning page.

Also CSV import is not supported now for the new cvp backend, therefore #23 could be closed, and probably reopened if in the future csv is supported again.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions