diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2022-08-26 15:52:04 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2022-08-26 15:52:04 +0000 |
commit | 5d7a5d433a97c2a51b9cad79b99938f58a24f788 (patch) | |
tree | 5616ab2b60a56839a534ca46f46a5c8ccbb6c974 /op-mode-definitions/nat66.xml.in | |
parent | e8dc2c731697c7c76c75fa7844edde52dc0ff76b (diff) | |
download | vyos-1x-5d7a5d433a97c2a51b9cad79b99938f58a24f788.tar.gz vyos-1x-5d7a5d433a97c2a51b9cad79b99938f58a24f788.zip |
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"
Diffstat (limited to 'op-mode-definitions/nat66.xml.in')
-rw-r--r-- | op-mode-definitions/nat66.xml.in | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ <command>${vyos_op_scripts_dir}/show_nat66_translations.py --type=source --verbose</command> </node> </children> - <command>${vyos_op_scripts_dir}/show_nat66_translations.py --type=source</command> + <command>${vyos_op_scripts_dir}/nat.py show_translations --direction source --family inet6</command> </node> </children> </node> @@ -87,7 +87,7 @@ <command>${vyos_op_scripts_dir}/show_nat66_translations.py --type=destination --verbose</command> </node> </children> - <command>${vyos_op_scripts_dir}/show_nat66_translations.py --type=destination</command> + <command>${vyos_op_scripts_dir}/nat.py show_translations --direction destination --family inet6</command> </node> </children> </node> |