Page MenuHomeVyOS Platform

VPP dependency issue when set interface address and NAT44 address translation interface in one commit
Closed, ResolvedPublicBUG

Description

set interfaces ethernet eth0 address '192.168.122.5/24'
set interfaces ethernet eth1 address '192.168.99.1/24'

set vpp nat44 address-pool translation interface 'eth1'
set vpp nat44 interface inside 'eth0'
set vpp nat44 interface outside 'eth1'

set vpp settings interface eth1 driver 'dpdk'
set vpp settings interface eth0 driver 'dpdk'

This configuration causes an error:

vyos@vyos# commit
[ vpp ]
Traceback (most recent call last):
  File "/usr/libexec/vyos/services/vyos-configd", line 156, in run_script
    script.apply(c)
  File "/usr/libexec/vyos/conf_mode/vpp.py", line 784, in apply
    call_dependents()
  File "/usr/lib/python3/dist-packages/vyos/configdep.py", line 172, in call_dependents
    f()
  File "/usr/lib/python3/dist-packages/vyos/configdep.py", line 141, in func_impl
    run_conditionally(target, tag_value, config)
  File "/usr/lib/python3/dist-packages/vyos/configdep.py", line 132, in run_conditionally
    run_config_mode_script(target, config)
  File "/usr/lib/python3/dist-packages/vyos/configdep.py", line 108, in run_config_mode_script
    mod.verify(c)
  File "/usr/libexec/vyos/conf_mode/vpp_nat.py", line 202, in verify
    get_interface_address(interface)
IndexError: list index out of range

[[vpp]] failed
Commit failed

[edit]

Address is not assigned to interface yet

Details

Version
VyOS 2025.09.17-0018-rolling
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

natali-rs1985 changed the task status from Open to In progress.
natali-rs1985 claimed this task.
natali-rs1985 triaged this task as Normal priority.
natali-rs1985 renamed this task from VPP dependency issue when set interface address and NAT44 in one commit to VPP dependency issue when set interface address and NAT44 address translation interface in one commit.Sep 29 2025, 3:41 PM
natali-rs1985 moved this task from Need Triage to Completed on the VyOS Rolling board.