IS-IS Route Redistribution Error without providing a level

Getting an error committing the following configuration command:

#set protocols isis redistribute ipv4

Should be getting a “Configuration path:” error prior to committing like:

Configuration path: [protocols isis redistribute ipv4 bgp] requires a value

But instead is allowing to commit without the required ‘level-1’ or ‘level-2’.

Here is the error after committing:

Image version: VyOS 1.4.0(Sagitta) LTS
Release train: sagitta

Built by: Al
Built on: Wed 28 Feb 2024 16:37 UTC
Build UUID: b9045562-a44d-45dd-9c4b-478823f8c0b6
Build commit ID: 1d25b432515d2b

Architecture: x86_64
Boot via: installed image
System type: VMware guest

Hardware vendor: VMware, Inc.
Hardware model: VMware Virtual Platform
Hardware S/N: VMware-42 29 63 de 0b a9 d9 1e-bd b0 5a a6 bf 3b 79 1b
Hardware UUID: de632942-a90b-1ed9-bdb0-5aa6bf3b791b

Traceback (most recent call last):
File “/usr/libexec/vyos/conf_mode/protocols_isis.py”, line 309, in
verify(c)
File “/usr/libexec/vyos/conf_mode/protocols_isis.py”, line 158, in verify
f’“protocols isis {process} redistribute {afi} {proto}”!')
^^^^^^^
NameError: name ‘process’ is not defined

#####################################

Thanks!

Thanks for tve report, I will take a closer look on this

https://vyos.dev/T6160