pbctl policy get
Get a policy
pbctl policy get [flags]
Examples
Get default policy of Forwarder network:
$ pbctl policy get --forwarder-net-id 000013 --defaults
Get default policy of Forwarder tenant:
$ pbctl policy get --forwarder-net-id 000013 --forwarder-tenant-id tti \
--defaults
Get policy between The Things Network (NetID 000013) and Senet (000009):
$ pbctl policy get --forwarder-net-id 000013 --home-network-net-id 000009
Options
--defaults default policy
-h, --help help for get
--home-network-net-id netID LoRa Alliance NetID
--home-network-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 $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 policy - Manage Packet Broker routing policies