From 5d7a5d433a97c2a51b9cad79b99938f58a24f788 Mon Sep 17 00:00:00 2001 From: Viacheslav Hletenko Date: Fri, 26 Aug 2022 15:52:04 +0000 Subject: nat: nat66: T4650: Rewrite op-mode nat translation Rewrite op-moe "show nat|nat66 translation" to vyos.opmode format Ability to get machine-readable format "raw" --- op-mode-definitions/nat66.xml.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'op-mode-definitions/nat66.xml.in') diff --git a/op-mode-definitions/nat66.xml.in b/op-mode-definitions/nat66.xml.in index aba2d6add..25aa04d59 100644 --- a/op-mode-definitions/nat66.xml.in +++ b/op-mode-definitions/nat66.xml.in @@ -45,7 +45,7 @@ ${vyos_op_scripts_dir}/show_nat66_translations.py --type=source --verbose - ${vyos_op_scripts_dir}/show_nat66_translations.py --type=source + ${vyos_op_scripts_dir}/nat.py show_translations --direction source --family inet6 @@ -87,7 +87,7 @@ ${vyos_op_scripts_dir}/show_nat66_translations.py --type=destination --verbose - ${vyos_op_scripts_dir}/show_nat66_translations.py --type=destination + ${vyos_op_scripts_dir}/nat.py show_translations --direction destination --family inet6 -- cgit v1.2.3