pbctl gateway-visibility set
Set gateway visibility
Synopsis
Set default gateway visibility of Forwarder, or a specific visibility between a Forwarder and a Home Network.
You can specify visibilities with the following symbols: Lo: Location (GPS coordinates and altitude) Ap: Antenna placement (indoor or outdoor) Ac: Antenna count Ft: Whether the gateway produces fine timestamps for geolocation Ci: Contact information St: Online/offline status Fp: Frequency plan Pr: Packet rates (receive and transmit)
Visibilities are defined by the Forwarding network or tenant, as they control who may see their infrastructure.
pbctl gateway-visibility set [flags]
Examples
Set default gateway visibility of Forwarder network to see everything:
$ pbctl gateway-visibility set --forwarder-net-id 000013 \
--defaults --set LoApAcFtCiStFpPr
Set default gateway visibility of Forwarder tenant to see everything:
$ pbctl gateway-visibility set --forwarder-net-id 000013 \
--forwarder-tenant-id tti --defaults --set LoApAcFtCiStFpPr
Configure only location and frequency plan between The Things Network
(NetID 000013) and Senet (NetID 000009):
$ pbctl gateway-visibility set --forwarder-net-id 000013 \
--home-network-net-id 000009 --set LoFp
Options
--defaults default gateway visibility
-h, --help help for set
--home-network-net-id netID LoRa Alliance NetID
--home-network-tenant-id string tenant ID
--set gatewayVisibilityValue gateway visibility, use symbols Lo, Ap, Ac, Ft, Ci, St, Fp, Pr
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 $HOME/.pb.yaml, .pb.yaml)
--controlplane-address string address of the server "host[:port]" (default "cp.packetbroker.net:443")
-d, --debug debug mode
--forwarder-net-id netID LoRa Alliance NetID
--forwarder-tenant-id string tenant ID
--iam-address string address of the server "host[:port]" (default "iam.packetbroker.net:443")
--insecure insecure
--reports-address string address of the server "host[:port]" (default "reports.packetbroker.net:443")
--token-url string OAuth 2.0 token URL (default "https://iam.packetbroker.net/token")
SEE ALSO
- pbctl gateway-visibility - Manage Packet Broker gateway visibilities