Packet Broker Getting Started Commands

Commands

pbadmin
cluster
apikey
create
delete
list
update-state
completion
bash
fish
powershell
zsh
gen
hugodoc
tree
join-server
create
delete
get
list
update
target
network
apikey
create
delete
list
update-state
create
delete
get
init
list
tenant
create
delete
get
list
update
target
update
target
pbctl
catalog
home-networks
join-servers
networks
completion
bash
fish
powershell
zsh
gateway-visibility
delete
get
set
gen
hugodoc
tree
policy
delete
get
list
networks
set
report
routed-messages
route
targets
pbpub
completion
bash
fish
powershell
zsh
gen
hugodoc
tree
pbsub
completion
bash
fish
powershell
zsh
gen
hugodoc
tree

pbadmin network tenant create

Create a tenant

pbadmin network tenant create [flags]

Examples


  Create:
    $ pbadmin network tenant create --net-id 000013 --tenant-id tti

  Create with name and listed in the catalog:
    $ pbadmin network tenant create --net-id 000013 --tenant-id tti \
      --name "The Things Industries" --listed

  Define DevAddr blocks to named clusters:
    $ pbadmin network tenant create --net-id 000013 --tenant-id tti \
      --dev-addr-blocks 26011000/20=eu1,26012000=eu2

  Configure a LoRaWAN Backend Interfaces 1.1.0 target with HTTP basic auth:
    $ pbadmin network tenant create --net-id 000013 --tenant-id tti \
      --target-protocol TS002_V1_1 \
      --target-address https://user:pass@example.com

Options

      --admin-email string              email address
      --admin-name string               name
      --admin-url string                url
      --dev-addr-blocks devAddrBlocks   DevAddr blocks
  -h, --help                            help for create
      --listed                          list tenant in catalog
      --name string                     tenant name
      --net-id netID                    LoRa Alliance NetID
      --target-address string           address (e.g. URL with HTTP basic authentication)
      --target-authorization string     custom authorization value (e.g. HTTP Authorization header value)
      --target-fns-path string          path for Forwarding Network Server (fNS)
      --target-hns-path string          path for Home Network Server (hNS)
      --target-origin-net-id netID      LoRa Alliance NetID
      --target-pb-token                 use Packet Broker token
      --target-protocol protocol        protocol (GRPC,NATS_STREAMING_SERVER,TS002_V1_0,TS002_V1_1)
      --target-root-cas-file string     path to PEM encoded root CAs
      --target-sns-path string          path for Serving Network Server (sNS)
      --target-tls-cert-file string     path to PEM encoded client certificate
      --target-tls-key-file string      path to PEM encoded private key
      --tech-email string               email address
      --tech-name string                name
      --tech-url string                 url
      --tenant-id string                tenant ID

Options inherited from parent commands

      --client-id string       OAuth 2.0 client ID
      --client-secret string   OAuth 2.0 client secret
      --config string          config file (default is .pb.yaml, $HOME/.pb.yaml)
  -d, --debug                  debug mode
      --iam-address string     address of the server "host[:port]" (default "iam.packetbroker.net:443")
      --iam-password string    IAM password
      --iam-username string    IAM username
      --insecure               insecure
      --token-url string       OAuth 2.0 token URL (default "https://iam.packetbroker.net/token")

SEE ALSO

  • pbadmin network tenant - Manage Packet Broker tenants

Packet Broker

Packet Broker

Getting Started

Commands

About Us

The Things Network

The Things Industries

About this page

Last changed on 01 Jan 0001.