CLI: show nat source translations with VRF throws error

Board,

Working hard on validating a VRF design using Vy. I know it is early with VRF so I am trying to provide as much as possible when I see an issue.

With NAT masq within a VRF, I am given the following error when trying to view the translations, please note that NAT is working as it should, but the command output is not working:

vyos@user-vr:~$ sho nat source translations
Pre-NAT Post-NAT Prot Timeout
Traceback (most recent call last):
File “/usr/libexec/vyos/op_mode/show_nat_translations.py”, line 200, in
main()
File “/usr/libexec/vyos/op_mode/show_nat_translations.py”, line 196, in main
process(run(command(arg.type, arg.proto, arg.ipaddr)), arg.stats, arg.proto, arg.pipe, arg.verbose, arg.type)
File “/usr/libexec/vyos/op_mode/show_nat_translations.py”, line 106, in process
rule_type = rule.get(‘type’, ‘’)
AttributeError: ‘str’ object has no attribute ‘get’

while show nat source statistics seems work work correctly

vyos@user-vr:~$ sho nat source statistics
rule pkts bytes interface
5 0 0 eth1.1702
7 0 0 eth0
10 0 0 eth1.1703

my current version:

Version: VyOS 1.3-rolling-202011200217
Release Train: equuleus

Thanks in advance,

db

@dbenson this is already known but unfortunately not yet fixed. ⚓ T2859 show nat source translation - Errors out

Thank you.

Will close case.

db

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.