[PVE-User] View firewall rule with pvesh

Dietmar Maurer dietmar at proxmox.com
Thu Nov 1 18:26:47 CET 2018


> I thought that I could view a particular rule but I can't have more
> information than:
>    pvesh get /nodes/toto/qemu/107/firewall/rules/5
>    ┌─────┬───────┐
>    │ key │ value │
>    ├─────┼───────┤
>    │ pos │ 5     │
>    └─────┴───────┘
> 
> The API viewer describes "Get single rule data" still.
> Is there a way to view the settings for a particular rule?

The default formatter does not show all values (bug), but you can
get the full information with: 

# pvesh get /nodes/toto/qemu/107/firewall/rules/5  --output-format json

(you can use output format 'json', 'yaml', or 'json-pretty')




More information about the pve-user mailing list