pbctl policy list
List policies
pbctl policy list [flags]
Examples
List Home Network policies of a Forwarder network:
$ pbctl policy list --forwarder-net-id 000013
List Home Network policies of a Forwarder tenant:
$ pbctl policy list --forwarder-net-id 000013 --forwarder-tenant-id tti
List default policies of all Forwarders:
$ pbctl policy list --defaults
List Home Network policies of all Forwarders:
$ pbctl policy list
List effective Forwarder policies for a Home Network:
$ pbctl policy list --home-network-net-id 000013
List effective Forwarder policies for a Home Network tenant:
$ pbctl policy list --home-network-net-id 000013 \
--home-network-tenant-id tti
Options
--defaults default policy
-h, --help help for list
--home-network-net-id netID LoRa Alliance NetID
--home-network-tenant-id string tenant ID
--id-contains string filter tenants by ID
--name-contains string filter networks or tenants by name
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