This section lists the steps for uploading an IoTC Package.

The upload command contains two subcommands to handle the package and manifest uploads.
$ package-cli upload
Upload files to Pulse IoT Center
 
Usage:
  package-cli upload [command]
 
Available Commands:
  package     Upload a created package to Pulse IoT Center.
 
Flags:
  -h, --help   help for upload
 
Use "package-cli upload [command] --help" for more information about a command.

Prerequisites

  • Download and install the Package Management CLI tool from VMware Pulse IoT Center.

Procedure

  • Run the $ package-cli upload package <path to package> <Pulse IoT Host> command.
    $ package-cli upload package myPackage.iotcp https://<Pulse IoT Host IP>
    Note: The <Pulse IoT Host> must contain a valid schema ( https: ).
    You are prompted to enter a user name and password. Ensure that the user credentials you enter has sufficient privileges to upload packages.

Results

After the package uploads, the package's UUID is displayed on the console.