diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2022-07-22 16:26:16 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2022-07-22 17:06:46 +0000 |
commit | 9228bd31d008d386b92a82aa68985101502959f9 (patch) | |
tree | d9264f8c367d35eca8c03766f4f33d6cc5abe8fb /op-mode-definitions | |
parent | bec3e9de40b57a1d7cd805ddcdd498033105679b (diff) | |
download | vyos-1x-9228bd31d008d386b92a82aa68985101502959f9.tar.gz vyos-1x-9228bd31d008d386b92a82aa68985101502959f9.zip |
nat: T4545: Rewrite show nat source rules script
Rewrite 'show nat source rules' due to a large number of bugs
in NAT rules statistics. Use new format 'vyos.opmode module'
Ability to get raw_data and formatted_output for the future
op-mode rewriting funcitonal
Ability to get raw and formatted data
Diffstat (limited to 'op-mode-definitions')
-rw-r--r-- | op-mode-definitions/nat.xml.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/op-mode-definitions/nat.xml.in b/op-mode-definitions/nat.xml.in index 084e2e7e3..84e999995 100644 --- a/op-mode-definitions/nat.xml.in +++ b/op-mode-definitions/nat.xml.in @@ -16,7 +16,7 @@ <properties> <help>Show configured source NAT rules</help> </properties> - <command>${vyos_op_scripts_dir}/show_nat_rules.py --source</command> + <command>${vyos_op_scripts_dir}/nat.py show_rules --direction source</command> </node> <node name="statistics"> <properties> |