pbadmin network update target
Update a network target
pbadmin network update target [flags]
Examples
Configure a LoRaWAN Backend Interfaces 1.0 target with Packet Broker token
authentication:
$ pbadmin network update target --net-id 000013 \
--protocol TS002_V1_0 --address https://example.com --pb-token
Configure a LoRaWAN Backend Interfaces 1.0 target with HTTP basic auth:
$ pbadmin network update target --net-id 000013 \
--protocol TS002_V1_0 --address https://user:pass@example.com
Configure a LoRaWAN Backend Interfaces 1.0 target with TLS:
$ pbadmin network update target --net-id 000013 \
--protocol TS002_V1_0 --address https://example.com \
--root-cas-file ca.pem --tls-cert-file key.pem --tls-key-file key.pem
Configure a LoRaWAN Backend Interfaces 1.0 target with TLS and custom
originating NetID:
$ pbadmin network update target --net-id 000013 --origin-net-id 000013 \
--root-cas-file ca.pem --tls-cert-file key.pem --tls-key-file key.pem
Options
--address string address (e.g. URL with HTTP basic authentication)
--authorization string custom authorization value (e.g. HTTP Authorization header value)
--fns-path string path for Forwarding Network Server (fNS)
-h, --help help for target
--hns-path string path for Home Network Server (hNS)
--net-id netID LoRa Alliance NetID
--origin-net-id netID LoRa Alliance NetID
--pb-token use Packet Broker token
--protocol protocol protocol (GRPC,NATS_STREAMING_SERVER,TS002_V1_0,TS002_V1_1)
--root-cas-file string path to PEM encoded root CAs
--sns-path string path for Serving Network Server (sNS)
--tls-cert-file string path to PEM encoded client certificate
--tls-key-file string path to PEM encoded private key
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 update - Update a network