Skip to content

Onos topo add device

onos topo add device

Add a device

Synopsis

Add a device

onos topo add device <id> [args] [flags]

Options

  -a, --address string              the address of the device
      --attributes stringToString   an arbitrary mapping of device attributes (default [])
      --ca-cert string              the TLS CA certificate
      --cert string                 the TLS certificate
  -h, --help                        help for device
      --insecure                    whether to enable skip verification
      --key string                  the TLS key
  -p, --password string             the device password
      --plain                       whether to connect over a plaintext connection
  -r, --role string                 the device role
  -g, --target string               the device target name
      --timeout duration            the device connection timeout (default 5s)
  -t, --type string                 the type of the device
  -u, --user string                 the device username
  -v, --version string              the device software version

Options inherited from parent commands

      --no-tls                   if present, do not use TLS
      --service-address string   the gRPC endpoint (default "onos-topo:5150")
      --tls-cert-path string     the path to the TLS certificate
      --tls-key-path string      the path to the TLS key

SEE ALSO

Auto generated by spf13/cobra on 7-Apr-2020