]> git.proxmox.com Git - pmg-api.git/commit
extend `pmgdb dump`
authorStoiko Ivanov <s.ivanov@proxmox.com>
Mon, 11 Feb 2019 14:43:07 +0000 (15:43 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 12 Feb 2019 09:30:08 +0000 (10:30 +0100)
commit0d161f4d114da87984cb1f0bd8949f230f477f93
tree08d517905c9f1694a5b2a8a05678ebc76d8f16d9
parent275e62509c76d75d5965f3582ac74dad9d8551ef
extend `pmgdb dump`

add priority, direction and an active flag to `pmgdb dump` output.

pmgdb dump provides the complete ruleset including all rules and related
objects. The information whether a rule is active and in which direction it
works is necessary to get an overview about the setup for pmg-smtp-filter.

Additionally the priority was explicitly added to the output for easier matching
with the GUI.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
PMG/CLI/pmgdb.pm