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/nat.xml.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'op-mode-definitions/nat.xml.in') diff --git a/op-mode-definitions/nat.xml.in b/op-mode-definitions/nat.xml.in index dbc06b930..ce0544390 100644 --- a/op-mode-definitions/nat.xml.in +++ b/op-mode-definitions/nat.xml.in @@ -45,7 +45,7 @@ ${vyos_op_scripts_dir}/show_nat_translations.py --type=source --verbose - ${vyos_op_scripts_dir}/show_nat_translations.py --type=source + ${vyos_op_scripts_dir}/nat.py show_translations --direction source --family inet @@ -87,7 +87,7 @@ ${vyos_op_scripts_dir}/show_nat_translations.py --type=destination --verbose - ${vyos_op_scripts_dir}/show_nat_translations.py --type=destination + ${vyos_op_scripts_dir}/nat.py show_translations --direction destination --family inet -- cgit v1.2.3