Question
[TCL] how to show on ADOM policy
Hi,
I search how to do a "show" in the ADOM policy package. Is there a way to do that ?
#!
proc do_db {package cmd} { puts [exec_ondb "/adom/LAB_LBA/pkg/$package" "$cmd\n" "# "] } do_db "default" " show firewall policy "
-> output :
DEBUG INFO: TCL command exec_ondb: target = /adom/LAB_LBA/pkg/default #
the goal is to show all policy in a policy package.. Thanks in advance for your help !
Lucas
